Repository navigation
CI builds on the runner's scratch disk: the shared target is 24 GB unpacked, restored beside its 5 GiB download on a root disk that ran out (card 27a4a3b0) - #5650
Conversation
…packed, restored beside its 5 GiB download on a root disk that ran out (card 27a4a3b0) Warm run 41193606500 (f0f786d, 2026-10-31) leaves target at 24G after pruning 5.79 GB of test executables. Every Linux crate job restores it, plus its 5 GiB tarball, onto / and builds its tests on top; on 10-31 that hit "No space left on device" mid-setup or mid-build on #5638, #5649 (twice) and #5641 (job 124526077711 died inside rust-ci-setup), each costing a rerun and hiding the real result. rust-ci-setup now puts CARGO_TARGET_DIR on /mnt (the runner's scratch disk), refusing loudly if /mnt is not a separate mount, and logs df for both disks. The cache's restore and save path is /mnt/target in both the setup action and the warm workflow, so they stay one cache. Nothing else names the target dir: the lib-test artifact script and the evidence upload read cargo's own target_directory, and the freshness settle only skips a workspace-local `target`. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
APPROVE #5650 at exact head a61ca3f (Fable). Verified: save (rust-warm-cache.yml) and restore (rust-ci-setup) both list Two notes, neither blocking:
|
…d lives on the scratch disk now (Fable on #5650) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…ees (diagnostic: /mnt is not a separate disk on the current ubuntu-latest image) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…et, bind-mounted onto /mnt on the 24.04 image when its scratch disk has more space); the 26.04 image has one 145G disk with 87G free, measured on this PR's run Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
APPROVE #5650 at exact head 0c9128d (Fable). Verified: one path ( |
…ives a worker that dies writing its log on a full disk (card 0a4fe790) (#5661) * rust-ci-setup: the runner image and disk as an annotation, which survives a worker that dies writing its log on a full disk (card 0a4fe790) Two #5651 jobs died with 'No space left on device' after #5650 merged (124557309006, 124558799217); their logs were lost with the worker, so their image and disk are unknown. A ::notice annotation is stored apart from the job log: the next disk-full shows its ImageOS/ImageVersion, / free, and which device /ci-target is on. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * rust-ci-setup: a second disk notice after the cache restore, so before/after tells the build's growth from the cache's size (Fable on #5661) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * rust-ci-setup: the after-cache notice reads df only; the drop between the two free figures is the cache's size, so no du walk of the restored tree on every job (Fable on #5661) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
How it serves the minds: every PR (theirs and ours) spent reruns on runner disk-full failures today, and a red job from a full disk hides whether the change broke anything. Card 27a4a3b0, owner Cormac (handed over by Codex, 2026-10-31).
Measured
24G targetafterPruned 32 test executables (5.79 GB); it's 5 GiB compressed.rust-ci-setup.ubuntu-latestmoves to 26.04 (GitHub's notice: from 2026-10-19)./145G with 87G available, and no separate/mnt./mnt./mnteverywhere, and its loud check failed every job on 26.04. That's why it's redesigned.Change
rust-ci-setup, first step: the build always lives at/ci-target(one path, so the cache restores and saves the same way on both images). When/mntis a separate mount with more free space than/(the 24.04 image),/ci-targetis bind-mounted onto/mnt/ci-target; otherwise it sits on/. It setsCARGO_TARGET_DIR=/ci-targetand logsdf -h / /ci-target./ci-target. The warm job logs the target's size and its disk.ci-cargo-freshness.cjs: the workspace-localtargetskips are deleted (dead now: Fable on this PR).ci-lib-test-artifact.pyand the evidence upload read cargo'starget_directory. Both callers of the action run onubuntu-latest.Cost and check
on: push: canary).dfline shows which disk it used and the room left.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE