Repository navigation
ci: harden fast-checks admission credentials and deadline - #30762
Merged
Merged
Conversation
Contributor
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
Collaborator
Author
|
Review (claude opus-5-5 medium, subagent): SHIP at cc95bff No blocking findings. All three P2 follow-ups from #30648 are fixed, and existing callers of the GitHub client in
Findings:
Follow-ups:
Tested (extracted copies of head and base, no checkout):
|
|
Found 4 test failures on Blacksmith runners: Failures
|
This was referenced Nov 3, 2026
teamleaderleo
added a commit
that referenced
this pull request
Nov 4, 2026
…#34428) Run 41718897738's admit step spent 182 s polling for an idle fleet runner (helper ecc5d60, #30648). 159a701 (#34270) decides on one census read: an online fleet runner keeps the fleet label (the lane-gh broker bounds a checks job left queued there at 180 s), none overflows at once. The pin also carries #30762, #30822, #31896 and #33652, each already reviewed and merged on feat-cmux-next. Agent-Session: https://cmux.com/deeplink/agent?id=aid-342ae944382c55b76f4c Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 4, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
The fast-checks admission picker now keeps routing authority and snapshot authority separate and enforces one 180-second deadline across the complete runner census. Missing
ROUTE_TOKENimmediately uses measured Blacksmith overflow; the repositoryGITHUB_TOKENis never accepted as routing authority. When a snapshot is requested, its ownSNAPSHOT_TOKENclient reads it. Every API and artifact request receives the remaining monotonic deadline, including multi-page census reads and retries.This is a fix-forward for the three P2 follow-ups in #30648: #30743, #30744 and #30745. The optional
GitHub(deadline=...)argument is backward-compatible for existing clients. #30724 also editspr_runner_pool.pyfor cmux-tui selector guards; this branch changes only the shared client timeout plumbing and fast-checks caller.Validation:
python3 -m unittest tests.test_ci_fast_checks_runner -q(11 passed),python3 -m py_compile scripts/ci/fast_checks_runner.py scripts/ci/pr_runner_pool.py, andgit diff --checkpassed. The existing fulltest_ci_pr_runner_poolsuite was dispatched but exceeded the lane tool window; no full-suite pass is claimed here.Review receipt: #30648 (comment)
Changelog
none
Agent session: agent session
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Hardens the fast-checks admission picker so routing authority and snapshot authority stay separate, and one 180-second deadline bounds the entire runner census.
GITHUB_TOKENis no longer accepted for fleet census reads; a missingROUTE_TOKENimmediately falls back to the measured Blacksmith overflow. Snapshot reads use their ownSNAPSHOT_TOKENclient. Every API request, retry wait, and artifact download is capped by the remaining monotonic deadline. The new optionalGitHub(deadline=...)argument is backward-compatible for existing callers.Written for commit cc95bff. Summary will update on new commits.