Repository navigation
ci(coverage): add swap headroom before the instrumented build (#4978) - #15041
EffortlessSteven wants to merge 3 commits into
Conversation
The scheduled Coverage run on main lost its runner (shutdown signal, exit 143) about six minutes into the instrumented all-features build on 2026-11-09, 11-10 and 11-11, with ample disk free. The required shards and Test Analytics hit the same loss under #12719 and add 8 GB of swap before building; port that step. The coverage command, profile settings and test population are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVmA9riBRRR2nHwqzMK
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVmA9riBRRR2nHwqzMK
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 48 minutes. View limit details
|
check-workflows allows coverage.yml one non-empty line per run block; the repo-policy frontdoor tests inside the coverage run enforce it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVmA9riBRRR2nHwqzMK
|
Proof run 1 (44248830391, head 4982b60) failed, and the failure is this PR's.
Generated by Claude Code |
|
Closing without merge. Proof run 2 (44251633089, head ccdc9ff) got through the instrumented build but lost its runner about 23 minutes into Generated by Claude Code |
Requested by Steven Zimmerman · project thread
Summary
cargo llvm-cov --workspace --all-featureson three consecutive scheduled runs on main (42556623688, 42749532048, 42952945571), with about 65 GB of disk free. The cause is not proven; memory exhaustion is the lead, because the all-featuresriprlib test compile already peaks near the hosted runner's 16 GB (ci: hosted test shards still peak at 13.8-14.8 GB of 16 GB during the test build #12719, perf(build): the ripr lib test compile holds ~11 GB before codegen and peaks near 14 GB #12726).workflow_dispatchonly; this change is about making a manual coverage run complete.Swarm / Source Boundary
Source-of-truth Links
Governing issue or accepted claim: #4978 (claim comment #4978 (comment))
Acceptance delta (one sentence): A manually dispatched Coverage run on this branch gets past the instrumented build instead of losing its runner.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/project-thread-46rmotStack parent or prerequisite PR (if any): none
Scope
Production delta:
Evidence/support delta:
.github/workflows/coverage.yml: one new step,Add swap headroom for the instrumented build, beforeClean coverage state. TheGenerate coveragestep, whichtools/repo-policypins verbatim, is untouched.changelog.d/4978-coverage-lane-swap-headroom.md.Single acceptance criterion:
workflow_dispatchCoverage run on this branch reaches the end ofGenerate coverage. If the runner is still lost with swap enabled, that result is recorded on ci(coverage): diagnose the October 10 profraw recurrence while preserving the accepted repair #4978 and this PR is closed rather than merged.Non-goals:
Support-tier Impact
Policy Impact
Proof
cargo fmt --check # one workflow_dispatch run of coverage.yml on this branch (link added below when it finishes)Result, failures, or skipped proof:
cargo fmt --checkpassed.cargo xtask precommitcannot finish in the 15 GB session container (rustc is OOM-killed on the lib-test build); that is infrastructure state, not a source result.Claim Boundary
Rollback
CI Economics
coverage.ymlGenerated by Claude Code