Repository navigation
fix(pr-merge): fetch full history for the lane-room read and give it its own timeout - #9647
Conversation
…its own timeout The enable-auto-merge checkout was a depth-1 clone, so the post-merge check's local containment test could not decide and every lane record fell back to a compare API call. Fetch full history, as post-merge-dispatch and merge do. The lane-room read gets LANE_ROOM_TIMEOUT_MS (8 minutes) as a backstop, since it may run a full post-merge check. The arm step's timeout becomes 18 minutes and the job's 30 so the room read, the verdict budget and the last read still fit. Refs: #9577 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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. I read the full diff (5 files) and the PR context. I didn't run anything; the test results in the PR description are author-claimed and unverified by me. What I checked by reading the code:
Other items:
|
|
claude-security-review reviewed No security issues found in this pull request. Scope read: all 5 files in
Other checks:
critical-findings: 0 |
Refs: #9577
Remaining work
None on #9577. #9602 (merged 2026-10-24T07:29Z, which closed #9577) shipped the recompute on
unverified-stale, with its test of a pending merge whose answer is older than 2 minutes reading as a counted room, and the scope-addition::warning::annotation plus step-summary line for a held room. This pull request fixes two defects found after #9602 landed: the depth-1 checkout and the timeout.Summary
The
enable-auto-mergejob checked out the default branch as a depth-1 clone, so the post-merge check's local containment test could not decide and every lane record fell back to a compare API call (about 150 calls). The lane-room recompute then hit the 4 minuteVERIFY_TIMEOUT_MS, was killed, and nothing armed.Fix
fetch-depth: 0to the job's "Check out the default branch tip" step, matchingpost-merge-dispatchandmerge.LANE_ROOM_TIMEOUT_MS(8 minutes) as a backstop, since it may run a full post-merge check.VERIFY_TIMEOUT_MSstays 4 minutes for the verifier reads. A timeout still reads as unreadable and holds the lane.pythonRoomtakes an optional spawn function so a test can observe the timeout.fetch-depth: 0; the timeout-fit test uses the new constant.Verification
node --test .github/scripts/pr-merge/*.test.mjs: 310 pass, 0 fail.scripts/check-affected.sh --tests: 10 passed, 4 skipped.actionlint .github/workflows/pr-merge.yml: clean.lane room: {"unreadable":"babysit_verify_evidence.py lane-room exited SIGTERM: ", ...}after 4m04s.Related
🤖 Generated with Claude Code