Check production status of input MC files.
As noted in the JIRA task here it is possible to submit an analysis production that relies on a MC sample that has a valid bookkeeping location but has not completely finished its generation.
This, according to the discussion on the JIRA task, isn't a catastrophe but it should at least be made known to the submitter and the productions team (via the JIRA task I suppose) that the dependent MC isn't finished yet so the production may switch between "Ready" and "Active" as the MC generation develops.
I envision this could be achieved by adding a step in the GitLab CI tests that query the status of the corresponding MC sample (I'm not exactly sure how this would be achieved but I guess there must be a way to map from bookkeeping query to the corresponding production), and if it finds that a requested sample isn't yet finished it will note this as a warning in the test and also add a comment to the JIRA task to list which samples are not yet finished at the time of submission.