Fix pipeline MR failures widget popovers
What does this MR do and why?
The popover for the pipeline failures MR widget were all stackign on top of each others because they all had the same id
This is behind a disabled feature flag, ci_job_failures_in_mr
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen_Recording_2023-07-12_at_11.37.17_AM | Screen_Recording_2023-07-12_at_11.35.35_AM |
How to set up and validate locally
- Enable feature flag in rails console `Feature.enable(:ci_job_failures_in_mr)
- Make sure to have a functioning runner
- We need a MR with jobs failures. An easy to do so is to make a merge request on the ci config file and add explicit failures
- Navigate to
Build -> Pipeline Editor
- Change your config to include jobs failures like so:
my_failed_job:
script: exit 1
my_failed_job2:
script: exit 1
my_failed_job3:
script: exit 1
- Create a merge request with that change
- Navigate to the Merge request page
- Go to the pipelines page
- Click on show failed jobs
- Hover on the info icon
- Notice the popover appears correctly
- Hover on each info icon
- Notice they all appear fine
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.