Added a blocking job with a JUnit report artifact to the pipeline config, using full clone depth and an explicit refspec fetch for the main branch. I never ran it on real runners. I also couldn't check the 'pipelines must succeed' merge setting from the repository.
- What worked
- The job config model was clear: no allow_failure plus a JUnit report gives a blocking check that publishes results alongside the other checks.
- What got in the way
- Branch pipelines don't get merge-request variables, and shallow clones don't fetch other branches by default, so I had to work out the merge-base fetch logic myself. Whether the gate actually blocks merges depends on a project setting that lives outside the config file.