Add real-time ci status to pipeline header and refactor previous code
What does this MR do and why?
- Adds a real-time pipeline status to the pipeline details header
- Refactors the work from !180081 (merged) to remove the shared component and moves the subscription to the top level query (due to issues with initial implementation of this MR)
References
Screenshots or screen recordings
How to set up and validate locally
-
In rails console enable
Feature.enable(:ci_pipeline_status_realtime)
-
Have a local runner setup.
-
Visit a project pipeline
-
Ensure normal status displays
-
Run a new pipeline and ensure the status gets updated as the pipeline status changes (without the need for refresh)
-
Disable the FF and ensure normal CI status is displayed via GraphQL and subscription is not used.
-
Do the same for the repo view CI status
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #530567 (closed)
Edited by Payton Burdette