Why does our Merge Queue get stuck? #15254
Replies: 9 comments 5 replies
|
@magnattic I'm experiencing the same issue, I suspect it might be due to the fact we didn't update our CI job to run on |
|
Quick update: Github has confirmed the issue to us via mail and they are working on a fix.
|
|
@magnattic we were witnessing the same issue. For us, it turned out to not be an issue with the branch protection rule on main, but with a catch-all "/" branch protection rule. We're still investigating why this was the case - as this catch-all rule does nothing apart from check for signed commits. |
|
This happened to our Merge Queue as well, repro for us was: It was still working yesterday (we have been running Merge Queue for a while now). It is sad there is still no insight into the Merge Queue. I have created a support ticket, but I couldn't provide any logs... I will let you know here if the issue got resolved via support. |
|
This is happening to us too now, and it's been blocked for at least 9 hours. Looking at suggestions discussed above:
I'm going to follow the procedure suggested because we have to get it un-blocked:
And we'll see what happens. |
|
So the Merge Queue seems to work for us now. The issue was that we had no required status checks set. After setting one, it started to work. It's really unfortunate that GH does not support only requiring checks that were actually triggered. If a workflow is path-dependent it cannot be set as required or it will get stuck. And if you don't set it as required, the merge queue will never wait for it to pass before merging. |
|
We gave up on using this. We need to be able to see what the queue is doing along with errors etc. otherwise too hard to debug for us atm. |
|
Hello, We have recently enabled branch protection rules and merge queue, and everything was working fine while we had only one required run check: unit tests. While it works fine during the pull request stage, sonar fails to start in merge queue. However, the unit tests run without any issues. unit_tests.yml sonar.yml The Sonar workflow is not starting, and we can only see "Starting job..." in the logs. Are we missing something? Thank you for your help in resolving this issue. |
|
We hit this again today, and it's clearly the dropped-dispatch variant, not a config issue — our workflows are correctly triggered on merge_group and sibling groups in the same queue dispatched fine. Stuck merge-group commit 9e758432: check-suites → 6 suites, all GitHub Apps, zero github-actions So the required merge-queue checks were never produced and the head entry hung in AWAITING_CHECKS, blocking ~23 PRs. It happened right after a queue re-form (a jump). The "remove the queue head" workaround worked — dequeue + re-enqueue the head forced GitHub to rebuild the group and dispatch CI. Would love (a) a fix for the dropped dispatch and (b) any queue visibility into "group formed, no CI dispatched" — right now it's invisible until a human notices the queue isn't moving. |





Uh oh!
There was an error while loading. Please reload this page.
We enabled Merge Queue Beta and really love the idea, since this would solve many problems we have.
For some reason the MQ seems to get stuck on some PRs and simply does not merge them, even though
Readding them or jumping the queue does nothing. The problem persists.
Is there anything we could check to figure out what is going on?
All reactions