Repository navigation
fix(pr-pipeline): retry an invalid dependency verdict on the same head instead of holding for a person - #10825
Conversation
…d instead of holding for a person dependency-invalid is a lane malfunction (a verdict or context that failed validation), so it now routes to a failing pr-unblock/review-dependency status with no label. The verdict check skips lane-stopped, and dependency-dispatch.mjs releases the head's earlier review-dependency checks on it through limit-stop.mjs stopRelease and releasedBy, as dispatch.mjs does, until limit-stops-per-head such stops stand on the head; at the cap it records the head and warns. Every other review-dependency reason still holds for a person. 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-review reviewed No findings. The only change since the last review (092e8a5) is one added blank line in Nothing here spends credits or can cause a charge. |
|
claude-security-review reviewed Incremental security review of 8d69578, covering only the change since 092e8a5 in The change adds one blank line before the closing paragraph of the ADR. It is prose-only formatting. It deletes, narrows or softens no standing instruction, and it touches no trust control, manifest or trusted path. I found no security issues, so there is nothing to hold. The other files in the pull request are unchanged since 092e8a5 and were reviewed then. critical-findings: 0 |
… paragraph Without it the 2026-10-23 addendum's last paragraph renders inside the list item above it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Post-merge mutation testingKilled 7, survived 0, timeout 0, no coverage 0, invalid 0, not run 0.
The run's summary has the full report. |
No related issue: friction-audit T5 cut
Summary
When the review-dependency lane's verdict or context failed validation (
dependency-invalid), the pull request went to a person, even though nothing about it needs a person's decision. Routing it to a failing status alone would not have helped: the dependency dispatcher never retried a head the lane had stopped on, and a Dependabot head moves only when Dependabot pushes. So that route would leave the PR red and unlabeled with nobody told. This PR routes the reason to a failing status and makes the dispatcher retry the same head.This PR touches
hold_patternspaths inpr-require-checks.yml(escalation-routes.json, and the same lane scripts), so a person merges it.Fix
escalation-routes.json:dependency-invalidnow routes tofail, which posts a failingpr-unblock/review-dependencystatus and the lane-stopped comment, and adds no label.apply-dependency-verdict.mjs: the verdict check's skip reason comes fromstopSkip(escalationReason), sodependency-invalidpostslane-stopped. Every held reason still postsawaiting-human.dependency-dispatch.mjs: when the newest verdict check is a lane stop, the dispatcher releases the head's earlierreview-dependencychecks. It does this through thestopReleaseandreleasedByhelpers inlimit-stop.mjs, the onesdispatch.mjsuses. Retries stop oncelimits.limit-stops-per-headlane stops stand on the head. At that cap the dispatcher records the head and logs the same::warning::. The no-model-turn release now goes throughreleasedByand behaves as before.dependency-*reason still holds for a person. The rationale inreport-escalation.test.shnow says why, ADR 0074 has a 2026-10-28 addendum, andpr-run-activity.mdis updated. The changelog fragment is under.changes/pr-pipeline/.Verification
node --testover.github/scripts/pr-unblock,.github/scripts/pr-merge,.github/actions/resolve-configand.github/scripts/apply-patch: 2466 pass, 0 fail. This includes the new dispatcher test (a retry under the cap, none at the cap, a warning, and the head recorded), which fails without thedependency-dispatch.mjschange. The no-model-turn tests are unchanged and pass.bash .github/scripts/pr-unblock/report-escalation.test.sh: 801 ok, 0 not ok.dependency-invalidruns in the fail-route cases.bash scripts/ci-lanes-pr-hold.test.sh: pass.pytestontest_babysit_risk.pyandtest_merge_holds_sync.py: 126 pass.scripts/write-runner-never-rules.test.sh, which cannot run locally without.github/standards/runner-policyinstalled. This PR does not touch the workflow files it checks.Related
🤖 Generated with Claude Code