Skip to content

Do not display pipeline ref as link if it doesn't exist

What does this MR do?

Changes the display of the pipeline ref in the commit info section of the pipeline view and the pipelines list. Previously, if the ref did not exist, it would be displayed as a link that would 404. This MR changes it to display as text (span tag with ref-name class).

Adds the exists field to the ref property of the pipeline serializer.

Increases the gitaly requests in the pipeline controller spec from 3 to 4.

Closes #42611 (closed).

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

See #42611 (closed).

Screenshots (if relevant)

Before

42611-before before

After

42611-after after

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

42611

Edited by griest

Merge request reports