Merge request reports don't get displayed until all manual jobs are complete when allow_failure: false is set
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Merge request reports don't get displayed until all jobs, including manual jobs, are complete. This prevents workflows where one would want to review job reports before proceeding to approval and running manual jobs. This forum post outlines a specific and valid use case where this may be desirable and happens to exactly match our use case as well: https://forum.gitlab.com/t/having-issue-getting-terraform-report-to-show-up/56104/2
Steps to reproduce
Create a pipeline with 2 jobs.
The first job generates and uploads some report. In my specific case, a terraform plan report.
The second job is some manual job with allow_failure: false.
Once the first job completes, I would expect the report to be displayed in the MR. However, it won't display until the manual job is also run.
Note that when allow_failure is omitted from the pipeline, the reports display as expected.
Example Project
Exhibits issue: jmw1/mr-reports-for-manual-jobs-example!1 Works as expected: jmw1/mr-reports-for-manual-jobs-example!2
Note that the only diff between the two MRs/branches is allow_failure
What is the current bug behavior?
Job reports don't display in the MR until all jobs in the pipeline have completed when there are manual jobs specifying allow_failure: false
What is the expected correct behavior?
Job reports should be displayed in the MR as they become available, regardless of the manual jobs' failure policy
Relevant logs and/or screenshots
N/A
Output of checks
This bug happens on GitLab.com