Merge Request for branch is not shown if MR is closed or merged
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page)
- Extension version: 6.65.1
-
I'm using the latest VS Code version (find the latest version here)
- VS Code version: 1.108.0
-
I'm using a supported version of GitLab (see README for the supported version)
- GitLab version: gitlab.com
Summary
I often switch between the primary branch and any branches I was working on. If the branch has been merged through a MR, the extension behaves like there never was a merge request. Only opened merge requests seem to be considered by the extension.
Steps to reproduce
- Open a project
- Checkout a branch with an associated merge request, or create one
- Merge or close the MR
- Refresh the extension state
What is the current bug behavior?
No Merge Request is shown, and the "Create MR" button is shown in the bottom status bar.
What is the expected correct behavior?
The merged MR should be shown, assuming that no newer MR exists.
Relevant logs and/or screenshots
Status bar when no MR is available, and also when MR is merged/closed.
