Repository navigation
fix(ci): give runtime_host proof a 45-minute hang limit (#4242) - #4243
Merged
Merged
Conversation
The proof step had 15 minutes. Its 37 green main runs before the failure took 596-810 s, so the slowest used 90% of it, and main run 44184262171 was stopped on a slow runner while its third command was still progressing. Under the watchdog ruling of #4191 a step limit only stops a hang, so it is sized well above the work: 45 minutes for proof, 60 for the job. runtime, at 117-208 s, keeps 15. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 tasks done
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.
Closes #4242
Fix for the cause of the red main record of run 44184262171 (
runtime_host, first bad29e3cb0dc89d). The record has since cleared on its own: main run 44190582369 atcd896acbba3cpassedruntime_hoston an ordinary runner. That pass does not fix the cause, because the next slow runner hits the same limit, so this now lands as an ordinary proof-system change.Cause
The
runtime_hostproof step's 15-minute limit stopped a slow run that was still progressing. There was no hang and no failing assertion. The full decision is recorded on #4242.provisionedand was still running when the limit hit.scripts/test-deadlines.ts, which no runtime-host command imports.Change
Under the maintainer's watchdog ruling (#4191), a limit that only stops a hang is sized well above the work and raised when green runs come near it.
runtime_hostproof stepruntime_hostjobruntimeproof step (117 to 208 s over 38 runs).github/workflows/ci.yml: the limits and the summary's printed limit.heavy-feedback.ymlis regenerated (bun scripts/heavy-feedback-workflow.ts --checkpasses).scripts/check-ci-workflows.tsandtests/ci-workflows.test.ts: the expectedruntime_hostproof limit is 45.docs/decisions/ci-utility.md: new section "A job step limit is a watchdog too", with the measured basis, plus the budget paragraph.docs/process/testing.md: the limits.Receipts
The workflow lint (
bun scripts/check-ci-workflows.ts):ci.yml: runtime_host: proof must retain its 45-minute limitci.yml: runtime_host: job limit must cover setup, proof and 3 minutes of other stepsbun run test tests/ci-workflows.test.ts: 81 pass. Before the test's table was updated, its threeruntime_hostbudget cases failed against the new workflow (Expected: 15, Received: 45), so they read the real limits.Off-main qualification
A full dispatch of CI on the exact head
a3e5590230b371ab0c9a23a2b49e9de1f88712cd: run https://github.com/schlessera/brain-kit/actions/runs/44195655099 passed every job,runtime_hostincluded.determinismandbrowser_determinismwere skipped as usual for a dispatch.The comparison it establishes: under the new limits (proof step 45 min, job 60 min) the
runtime_hostproof step completed in 616 s (23:04:37 to 23:14:53 UTC). That is inside the 596 to 810 s range of the 37 green main runs under the old limit, so the change does not alter what the job runs or how long it takes; it only moves where a slow run is cut off. The workflow lint andtests/ci-workflows.test.tshold the new numbers.Proof
This is a proof-system path change (
.github/workflows/**), so it takes the serialized lane with the qualification above. This squash's own main run is the final check ofruntime_hostunder the new limit.{"version":1,"kind":"brain-check-pr-receipt","head":"85d0c4e1a1f8e7c6918c713a1c63014903f8d421","base":"origin/main","mode":"focused","startedAt":"2026-11-17T22:34:44.328Z","finishedAt":"2026-11-17T22:36:21.717Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":14502.897612},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":151.2880359999981},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":79.347389999999},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":21.587359999997716},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":82618.217513}]}Contract impact
None. CI limits, the workflow lint and docs only.
🤖 Generated with Claude Code