Skip to content

Use the real MR status when showing whether the source branch will/should be deleted

What does this MR do and why?

For #364203 (closed)

Relies on a back end-provided variable to determine whether the source branch was removed when displaying some localization text.

It also switches to rely on a back end-provided variable to determine which localization to show regarding removing the source branch prior to the merge, but falls back to the old behavior (front end options) if the back end value isn't available.

Screenshots or screen recordings

I have not been able to see this issue in practice, so I cannot capture any visually distinct images.

This discrepancy may have something to do with the flakiness of a potentially related issue.

How to set up and validate locally

Please see the related issue for replication steps.

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 Thomas Randolph

Merge request reports

Loading