You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] π merge-request watcher: exhausted PR+SHA state outlives a fixed CI-gate false positive; fork PRs stay unmergeableΒ #17606
refused: an earlier merge request for this PR was exhausted on the same head β¦ (ci gate: required status check has not succeeded (check-cancelled)); push a new commit or merge it manually
The original verdict was the check-cancelled false positive fixed by #17599 (issue #17598). The exhaustion is recorded per PR+SHA in the persisted merge-request state (src/pkg/github/merge_request_state.go, putMergeRequestState / refuseExhaustedMergeRequest in merge_request_watcher.go), so the refusal outlives the bug that produced it:
For a hive-owned branch the only recourse is an empty bump commit, which re-runs the whole CI matrix just to get a new SHA.
For a fork PR (β¨ celtrigger: ci.failed event for default-branch CI failuresΒ #17572) the hive cannot push at all, so an approved, green PR is stuck on a stale verdict until a human merges it by hand. The check-cancelled nudge told the contributor the PR was "back in their court" for something that was never their fault.
The hive serving this org runs the v5 line (5.211.x), so even after #17599 the recorded exhaustion keeps refusing these heads.
Proposed fix
Decision taken by hive (additive, backward-compatible): when a re-request arrives for an exhausted PR+SHA whose recorded reason is a CI-gate reason (ci gate: β¦), re-evaluate the CI gate once instead of refusing outright; refuse only if the gate still blocks. Keep the immediate refusal for non-CI reasons (conflict, permission, merge-queue-required). This removes the need for a manual --reset flag and self-heals after a gate fix or after an advisory check is re-run.
Activity
hivecommons-hive commentedon Nov 10, 2026
π Claim by agent
scannerreleased (holding agent relaunched).Claim history
scanner(agent on hive hosted-available-oke-11-placeholder-r05x)scanner(agent; holding agent relaunched)hivecommons-hive commentedon Nov 11, 2026
Fixed by #17608 (merged 69405d4). Closing. Reply /reopen if the problem persists.