Repository navigation
fix(ci): re-run a CI Status whose read wait could not outlast the floor - #17033
Conversation
ci-status's read wait writes "GitHub's <pool> API rate limit blocks '<call>' until <T>, past the ... ci-status can wait to ..." (and the "3 sends" sibling) when the token is at its floor. FLOOR_NOTE did not match that wording, so the lost-run reconciler left those runs red: 11 of 74 brake-class CI Status stops at attempt 1 on 2026-11-17/18. Add the pattern, with a recorded CI Status fixture pinned to the workflow's echo line, and pin that a Mark Lanes floor failure beside such a CI Status is a floor re-run while any other Mark Lanes failure is not. Refs: #16642 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: PR #17033, no findingsThis PR adds one more alternative to What I checked
Verification. The PR's report (242 pass, 0 fail, and the replay going from 23 to 34) comes from the author. I could not check it, because this lane runs without a shell. Closing issue. The PR only references #16642 and closes no issue, so there are no acceptance criteria to check. Loosened check. The wrapper gave no Spend. No change to cost. More floor re-runs of CI Status will use some more Actions minutes on existing runners. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: no security issues foundThis was a full review, not a blocking-only one: the lane had reviewed no earlier head. I read every hunk of all 3 changed files. None of them falls under a trusted-path glob. What changed
What I checked
Spend: passing CI Status runs may now get one automatic re-run each, using prepaid Actions/API capacity. This is not a billing change and not a hold. The pull request text contains no embedded instructions to the lane. critical-findings: 0 |
Refs: #16642
Summary
Of 74 brake-class CI Status stops at attempt 1 on 2026-11-17/18, the lost-run reconciler could re-run 23. This PR adds 11 runs (5.7 item-hours) to that count. Those runs failed only on ci-status's own floor message, "GitHub's core API rate limit blocks '' until , past the ... ci-status can wait to ...", which
FLOOR_NOTEdid not match.The ledger's second proposed fix was to accept a run whose only other failed job is a floor-only Mark Lanes. It needed no code change. A replay of the recorded annotations shows the reconciler already does this:
reconcile.mjsfloorFailed, called before the ci-status-only branch withonlyAggregateFailed) marks such a runfloorwhatever CI Status wrote.Why those 10 were not re-run on the night is not established. Candidates are gate timing, or a reconcile kick sent only after a brake clears. This PR claims no gain for them.
Fix
FLOOR_NOTEgainsGitHub's .+? rate limit blocks '.+?' until. That covers both of ci-status's read-wait refusals inpr-require-checks.yml: the "past the ... can wait to" one and the "made its 3 sends" one. The server-error siblings ("which holds 'gh api ...' until") still do not match.fixtures/annotations-floor.jsongains the recorded CI Status annotations of check run 134228143898 (run 44135395260, feat(formal-verification): prove the ci-lanes carry-forward promise #16886).Verification
node --testover the folder's four test files: 242 pass, 0 fail. New tests:FLOOR_NOTE. The "3 sends" sibling matches too. The server-error lines are present in the workflow and do not match.floor, ahead of lane runs. A Mark Lanes that failed for any other reason is not a floor item and waits behind the lane runs.Before the pattern change, the two
FLOOR_NOTEtests failed and the Mark Lanes test passed, which confirms the second fix was already in place. Replaying the ledger with the new pattern moves eligible CI-Status-alone stops from 23 to 34 (+11).Remaining
Still open under #16642:
Related
reconcile.mjs.🤖 Generated with Claude Code