Merge requests stuck in "Checking ability to merge automatically"
Summary
Some merge requests on GitLab.com are stuck in "Checking ability to merge automatically" state. There are no unresolved discussions, no conflicts or anything unusual. We have recent issues (e.g., https://gitlab.com/gitlab-org/gitlab-ce/issues/62391#note_178441865) where MRs are considered unresolved if Merge pipelines will try to validate the post-merge result prior to merging
is enabled, preventing them from being merged.
I suspect, now that those settings aren't rendered where merge pipelines are disabled, that somehow, that setting is still enabled leading to this state.
Example Project
- mvysny/konsume-xml!2 (merged) (from https://gitlab.com/gitlab-org/gitlab-ce/issues/27134#note_180076087)
ZD (internal)
What is the current bug behavior?
Merge
button is disabled and Checking ability to merge automatically
continually displays
What is the expected correct behavior?
Merge
is enabled and one should be able to merge if there are no conflicts, unresolved discussions, etc.
Output of checks
This bug happens on GitLab.com