Skip to content

Fix MR widget pipeline not showing upstream/downstream

Briley Sandlin requested to merge bs-mr-widget-pipeline-fix into master

What does this MR do and why?

In consolidating the pipeline mini graph code in !91612 (merged), I did not remove a mixin. As a result, upstream and downstream pipelines are not populating in the merge request page's pipeline mini graph.

I've removed the mixin here and referenced the api response object directly to restore the necessary upstream and downstream pipelines.

Screenshots or screen recordings

Before After
mr_widget_pipeline_before mr_widget_pipeline_after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to a merge request that has a pipeline mini graph with upstream or downstream pipelines
  2. Insure that the pipeline matches the first pipeline under the pipeline tabs in the merge request.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Briley Sandlin

Merge request reports