Skip to content

ci_run_n_monitor: implicitly include `parallel:` jobs

Eric Engestrom requested to merge eric/mesa:ci_run_n_monitor-parallel into main

This avoids the surprising behaviour where --target jobname works for some jobs but not others, because gitlab adds X/N at the end of these job names.

If the user does specify something like jobname 1/.* to only run the first, the extra \d+/\d+ is ignored, just like if the job isn't parallel: and therefore doesn't end with X/N.

If the user really wants to fail to match parallel jobs (previous behaviour), they can simply add a $ at the end of the job name/regex (but also, I don't see why someone would want that behaviour).


Second commit hides this from the message printed to the user to avoid showing them something too complex, especially since this isn't something they added themselves or can remove.

I left that as a separate commit because I expect some people might argue we should show it despite all of the above (which I kinda agree with).

Edited by Eric Engestrom

Merge request reports