Repository navigation
Description
The test job (cargo llvm-cov nextest --workspace, .github/workflows/ci.yml) fails with ENOSPC when GitHub schedules it on a 72 GB runner. The build needs about 78 GB, so it does not fit.
Evidence
- main,
520e2e12(fix: box redeploy e2e futures, keep --json on an empty bundle pull, count stale mid-stream re-checks #2814):testfailed while linking (mold: failed to write to an output file. Disk full?,ld terminated with signal 7 [Bus error]). The job ends withdf -h /=/dev/mapper/cow-root 72G 72G 156M 100%. - PR fix(node): stop a stream whose pool closes mid-stream #2812, run 41354570921 attempt 1: the same failure while linking the
decdn-nodelib test binary.df -h /=72G 72G 155M 100%, runner imageubuntu-24.0420261018.96.1. - The re-run of that job passed on a
/dev/root 145Grunner with78Gused (image20261025.353.1). The four earlier main runs show the same 145G / 78G.
No test runs before the failure, so the job fails on infrastructure, not on code. runs-on: ubuntu-latest gives no control over which disk size a job gets.
Cause
#2652 dropped the free-disk-space steps from test, the three anvil e2e jobs and the SDK contract run, on the basis that the hosted runners give a 145 GB root with about 90 GB free. That no longer holds for every runner. The other jobs that lost the step carry the same risk; only test is confirmed to fail so far.
Fix options
- Restore a free-disk step, but run it only when
dfshows less free space than the build needs (for example under 90 GB). This keeps the 1:44 to 3:20 saving from ci: drop the free-disk-space steps #2652 on 145 GB runners. - Run the coverage job on a larger runner label.
- Shrink the coverage build footprint (fewer instrumented targets, or prune stale artifacts kept by
--no-clean).
Option 1 is the smallest change and restores the guard where it is needed.
Done when
The test job passes on a 72 GB runner, and the closing df -h / still reports headroom.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
fix: cap manifest fetches, clamp outboard reads, and small hardening (#…