Repository navigation
fix(pr-merge): mark the unarmed refusal comment superseded once armed - #18807
Conversation
enable-auto-merge left its "unarmed at head" refusal comment in place after a later run pinned the head and armed native auto-merge, so a merged pull request still said it was unarmed. After a successful arm it now edits each of its own refusal comments to say the arm at that head superseded it. The rewrite carries no marker, so refusal readers no longer take it for a standing refusal; the edit history keeps the reasons. A failed edit warns and leaves the arm standing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review (incremental, blocking only): PR #18807, 4f46e4f → d307301No findings in this push. This lane already reviewed an earlier head ( I read the whole incremental diff for the one file in scope, Prior findings. The one earlier inline finding was the stale "unarmed" note on a stack's bottom layer. It was resolved at Closing issue: none (the PR body says "No related issue"). Loosened checks: the wrapper gave no Not verified by me: I ran nothing. Any test or lint results in the PR are the author's claims. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review (incremental since 4f46e4f, blocking only): no findingsI read the one hunk this push changes in the one file in scope, This file is a merge-hold control and a trusted path, so I checked it as one. The push weakens no hold. It also changes nothing about token scope, trusted actors, the kill switch, what untrusted text reaches a lane, or plugin manifests. This review was blocking only, because this lane already reviewed an earlier head. critical-findings: 0 |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM67ce5N
|
pr-unblock / address-feedback finished round 1 of max 4 on 4f46e4f. |
|
The pr-verify verifier failed head This pull request leaves the merge queue, and ci-status holds it out while it carries |
`const supersede =async` becomes `const supersede = async`, matching the file's formatting, as the pr-verify fail note asked. Refs: #18876 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #18876
Summary
enable-auto-mergeleaves its<!-- babysit-merge-risk -->refusal comment ("native auto-merge leaves this pull request unarmed at head ...") in place after a later run pins the head and arms native auto-merge. A merged pull request then still says it is unarmed, as on #18737.Fix
enable-auto-merge.mjsedits each of the lanes App's own refusal comments on that pull request to say the arm at that head superseded it. A new pure helper,supersededRefusals, selects them by the same author and first-two-lines marker testpriorRefusaluses.supersedehelper.priorRefusal,clear-escalationsand theCI Statushuman-gated reason reader no longer take it for a standing refusal, and a later refusal starts afresh.docs/conventions/pr-pipeline/README.mdstates the new behavior, with a patch fragment for thepr-pipelineconvention.Verification
node --test --test-concurrency=4over every.github/scripts/pr-merge/*.test.mjs: all pass at the earlier head.node --test --test-concurrency=4 .github/scripts/pr-merge/enable-auto-merge.test.mjsat d307301 (the review-feedback round plus theconst supersede = asyncspacing fix): 251 pass, 0 fail.markdownlint-cli2on the README: 0 issues.scripts/check-changelog-fragments.sh --check-required origin/main: passes.Related
🤖 Generated with Claude Code