Skip to content

Add real-time ci status to pipeline header and refactor previous code

What does this MR do and why?

  1. Adds a real-time pipeline status to the pipeline details header
  2. 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

Screenshot_2025-03-31_at_10.33.01_AM

Screenshot_2025-04-01_at_4.28.28_PM

demo

How to set up and validate locally

  1. In rails console enable

    Feature.enable(:ci_pipeline_status_realtime)
  2. Have a local runner setup.

  3. Visit a project pipeline

  4. Ensure normal status displays

  5. Run a new pipeline and ensure the status gets updated as the pipeline status changes (without the need for refresh)

  6. Disable the FF and ensure normal CI status is displayed via GraphQL and subscription is not used.

  7. 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

Merge request reports

Loading