Merge widget does not refresh on pipeline success leaving `Set to auto-merge` visible
Summary
Merge widget displays Set to Auto-merge
button even after pipeline has succeeded.
Steps to reproduce
0. Within a project that has Pipelines must succeed
disabled.
- Create MR which has a pipeline
- Observe
Set to Auto-merge
button when pipeline is running:
- Wait for pipeline success:
- Click
Auto-merge
button
Clicking auto-merge fails (as pipeline has already finished)
Screen_Recording_2023-07-26_at_10.05.57Work around: You must refresh the page so the Set to Auto-merge
button is replaced by Merge
Example Project
All projects
What is the expected correct behavior?
Merge widget updated to and Set to Auto-merge
button is not displayed after pipeline has succeeded and is automatically replaced by Merge
Fix details
Edited by Jay McCure