Skip to content

v6.67.5

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:47
· 1868 commits to v6 since this release

Fixed

  • A pull request GitHub will not merge until a person acts is no longer labelled as being fixed because an optional check is red. When a merge lane's own CI gate passes (every required check green) it sends the merge or the merge-queue enqueue, and GitHub may refuse it for something only a person can do: an approving review, a merge method the repository does not allow, or review conversations left open. The hive also holds back the enqueue itself when it keeps a pull request's mixed authorship in a merge commit and the queue's merge method is not MERGE, and asks a person to change the method or merge by hand. If any check was red on that commit, required or not, the stage pass sent the pull request to a repair stage (stage/070-fixing, or 071/072 for a contributor) under check-failing:<check> instead of stage/085-needs-decision, as if that check held the merge, and the comment that asks for the person's step was never posted. On another bot's pull request nothing was fixing the check either, since the hive pushes nothing to it. This was seen on a dependency bot's pull requests in a repository that uses GitHub's merge queue and requires two approvals: all required checks were green, one optional check was red (red on the base branch too), GitHub refused the enqueue for the missing approvals, and the three pull requests moved from stage/060-reviewed to stage/070-fixing. Now, while the lane's reason is merge-refused:review-required, merge-refused:method-not-allowed, unresolved-review-threads or native-merge-queue-method, a red check does not outrank it: the pull request stays at stage/085-needs-decision under that reason on every lane, and the red check is still named in the comment's head line (2/3 checks green, red: e2e) so the person asked to act sees it. A red fork-guard check beside the refusal still gets its own fork-guard:<check> ask, since the maintainer approving the merge is the person who can run it. A merge conflict, a missing DCO sign-off or a change request still sends the pull request back to its author first, and a red required check is still reported by the lane itself as required-check-failing:<check>. On the hive's own pull requests the agent that opened one is still asked to repair a red check, since that request reads the checks and not the stage; what no longer applies while the refusal stands is what the stage pass does with a hive pull request left at stage/070-fixing once its fixer has given up (re-authoring it, or parking it as fixer-exhausted). On a contributor's pull request the 071/072 nudge about that check is not sent while the refusal stands. One limit: the lane's gate is only as exact as the required set it read. Where the hive cannot read the base's required checks, or gates on the configured auto_merge.required_checks list in their place, a check GitHub requires may be red past the gate, and GitHub's refusal may then still be named merge-refused:review-required (on the merge-queue path any UNPROCESSABLE refusal while GitHub's reviewDecision reads REVIEW_REQUIRED or CHANGES_REQUESTED is, and on the direct path the review wording can match a refusal that also names a failing check). The red check is still named in the comment's head line, and GitHub keeps refusing the merge for it after the approval.
  • A head that GitHub's merge queue already rejected is no longer queued again just because the hive restarted. The hive remembered a rejection only in memory, so after every restart it had forgotten that it had queued the head and did not count the removal GitHub still reports: each rejected head was handed one more merge-group run per restart. A dependency bot's branch that was behind its base, which the hive leaves for the bot to rebase, was queued and failed the same merge-group check after every restart, about twice a day on a hive that upgrades that often. On the first pass after a restart the hive now checks its mutation journal: when the PR's latest removal was by the merge queue itself and the journal shows the hive queued that same head just before it, the head reports native-merge-queue-rejected and is not queued; a behind head then gets the update-branch, or waits as behind when the branch is a dependency bot's, and any other head waits 30 minutes for its retry. The log line automerge native queue entry recognised from the mutation journal records each time. No GitHub call is added: the queue read the hive already makes now returns the PR's last two removals with their times. Not covered: which head and base tip had already spent the 30-minute retry is still forgotten at a restart (at most one extra merge-group run per repeatedly rejected PR per restart, down from two), an enqueue older than the journal keeps (7 days) is not found, and a hive running convergence.mode: off keeps no journal and behaves as before. See After a restart.
  • Switching a repository's auto-merge off (the repository card's switch, or the admin MCP repository.auto_merge operation) now stops the governor's automerge sweep there too, not only the merge relay, the proxy and the self-authored sweep. That sweep (the queued-label, trusted-author and contributor lanes, and the stage-label pass that follows them) runs each pass on a configuration snapshot that is republished only when a governor cycle starts, and it read project.repo_policies[].auto_merge from that snapshot alone. So after a switch off it could keep merging in that repository until the next cycle started (300 seconds by default, 900 while webhooks are healthy, longer under API budget pacing, and the whole startup evaluation right after a restart). It now reads the switch from the hive's running configuration as well and treats a repository as on only while both say on. Switching off stops each lane at the next repository it reaches; a lane already working through that repository's pull requests can finish them. Switching on still takes effect in the governor's sweep when its next cycle starts, together with the other merge-policy settings saved before it (human-merge paths, trusted authors, contributor-lane repositories, required checks, merge method), so the sweep never merges under a snapshot taken before the owner finished configuring the repository. Until then it skips the repository without recording a stage, where it used to stage its pull requests stage/090-ready-for-human-merge (repo-auto-merge-disabled) while the engine loop staged the same heads for merge. The stage-label pass there still waits for every merge lane to report on a pull request before it acts on a lane that can only say it cannot vouch for the author, as in any repository the lanes evaluate, so the two sweeps, which share one stage tracker, do not flip a pull request between stages. The promotion hand-off, the sentinel's promotion exemption, the /hive approve reply and the good-first-issue invite read the switch the same way.

SBOMs: SPDX JSON, generated by Syft against the linux/amd64 image digest, attached below for hive, hive-contributor, and hive-hub. They cover linux/amd64 only — see releases.md for why linux/arm64 is not scanned separately.

NOTICE: third-party license attribution for the Go module dependencies compiled into these images, attached below. Does not cover base-image OS packages or the Node.js/tmux layers built from source — see releases.md for the exact boundary.