Repository navigation
fix(pr-pipeline): read pr-verify's FAILs in the merge queue for owner-login PRs - #13412
Conversation
… the merge queue ci-status's lanes-hold step exited 0 in the merge queue for every author but the lanes App, so an owner pull request queued on owner credentials merged with no pr-verify verdict read (#13124 merged while capped by verify:repeated-fail). In merge_group runs the step now judges the author as resolve-pr.mjs resolvePull does (no dependency manager, then merge.verify-authors read from the hold config's pr-pipeline.yaml with its trusted-actor list) and, for a judged author, runs the same verdict reads and merge-holds.mjs verifier, link and FAIL holds. It reads only that pull request's reviews, bodies blanked, and no file list, so the kill switch, member veto, hold paths, cost paths and trusted-actor list holds stay the lanes App's. The queued_author step outputs verify_judged by the same predicate, and the three verdict-read steps gate on it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rify FAIL Owner decision 2026-11-04, "Hold on FAIL only (Recommended)": in the merge queue, a pull request whose author pr-verify judges but is not the lanes App holds only when the verdict reader reports a FAIL class for its head (verify:fail, verify:earlier-fail, verify:repeated-fail), judged by the base module's evidenceHold, with a trusted approval of the head lifting it. No pass, a stale or untrusted-spec pass, verify:unreadable, verify:too-old and a reader that does not judge leave it to merge. The pass lookup, record download and link check stay the lanes App's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… non-lanes pull requests Owner decision 2026-11-04, "FAIL holds, cap not (Recommended)": in the merge queue a judged non-lanes pull request holds on verify:fail and verify:earlier-fail at its head, and verify:repeated-fail only warns. An author cannot approve their own pull request, so on an owner-login pull request the lift is a new head that pr-verify passes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis 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-security-review reviewed Security review: no security issues foundThis was the lane's first review of this pull request ( What I checked.
Owner threat model. The repeated-fail cap ( Usage, not a charge. Each judged non-lanes merge-queue entry now runs the verdict reader against critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI read every hunk of all 5 changed files: the changelog fragment, What I checked
Not a finding: description doesn't match the diff. The PR body says "The lanes-only carry steps still key on Verification. I had no shell, so I ran nothing. The PR body's results (344 pass in API usage (not billed, not a hold). Each queued owner or listed-bot pull request now runs the verdict reader on No closing issue. The PR links none, so there are no acceptance criteria to check. I found no embedded instructions in the PR context. No plugin manifest changed. |
No related issue: a merge-hold bypass reported by PR Lane Automation and routed by the hub. #13124 merged at 07:57Z while capped by verify:repeated-fail.
Summary
In merge_group runs, the holds step in
pr-require-checks.ymlexits 0 for any author that isn't the lanes App ("#$pr is not the lanes App's; pr-merge's gate or a person reads its holds."). So a PR under the owner's login, enqueued on the owner's credentials, merges with no pr-verify verdict read. The file never readverify-authors.Owner decisions, made in the Automation Lanes session on 2026-11-04:
Fix
queued_authorand the holds step mirror resolve-pr.mjs'sverify-authorspredicate, read at the base. A dependency-manager Bot is never judged. Underlane-or-owner, a judged author is the lanes App or any User or Bot whose id is on trusted-actors.json (resolve-pr.mjs:266, :818-828). A test checks the two copies match line for line.queued_authorgains averify_judgedoutput for the steps that warm the reader. The lanes-only carry steps still key onlanes.babysit_verify_evidence.py evidence --base-sha) and holds only onverify:failorverify:earlier-failat the head, through the base module'sevidenceHold. A head that pr-verify passes clears it. A trusted approval of the head also lifts it, but an owner can't approve their own PR.verify:repeated-failprints::warning::#<pr>: pr-verify's repeated-fail cap stands at this head; owner-login PRs are not held on the cap (owner decision 2026-11-04)and exits 0. Every other refusal, a missing pass, a stale pass, untrusted-spec, unreadable, too-old and a reader failure all exit 0 with a "not held" line.verify-authorsis unchanged. Nothing loosens a hold.Friction: owner-login and listed-bot PRs that merge today are now held on
verify:failandverify:earlier-failat their head, and nothing else. The 7-day count of such merges is UNVERIFIED. A search for merged non-lanes PRs carryingpr-verify-failedfinds 1 (#11258), but a later pass removes that label, so the search undercounts (#13124 is missing from it).Cost: each judged non-lanes queue entry now runs the verdict reader, about 200 a day (1,507 non-lanes merges since 10-28). In FAIL index mode the per-entry request cost is UNVERIFIED. The warm figure measured on lanes PRs is about 73 requests.
Verification
scripts/ci-lanes-pr-hold.test.sh: 344 pass, 0 fail. New cases:test_merge_holds_sync: 21 OK. actionlint, shellcheck andcheck-lane-coverage --checkare clean.scripts/check-affected.sh --base origin/main --no-fetch: 12 passed, 4 skipped, after merging origin/main.Related
🤖 Generated with Claude Code