Skip to content

CI waits for the freed toolchains only until the cache restore has room - #5685

Merged
joelteply merged 3 commits into
canaryfrom
cormac/ci-wait-for-room
Nov 11, 2026
Merged

joelteply merged 3 commits into
canaryfrom
cormac/ci-wait-for-room

Conversation

@joelteply

@joelteply joelteply commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

#5682 made every Rust job wait for the whole toolchain deletion before
restoring the target cache: 66 s on a runner that already had 87G free
(warm run 41280912785, ubuntu26 20261026.180.1, 2026-11-01). The restore
needs its 29 GB (24 GB unpacked plus the 5 GiB download) on the disk it
unpacks onto, so the step now waits only while the deletion runs AND
/ci-target has less than the 29 GB the restore takes; the 19G-free 72G runner that
failed #5681 still waits, every roomy runner goes straight on, and the
rest of the deletion finishes in the background. The notice reports the
wait and /ci-target's room (on 24.04 runners /ci-target is /mnt, where
the root deletion frees nothing, so it no longer waits there at all).

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

#5682 made every Rust job wait for the whole toolchain deletion before
restoring the target cache: 66 s on a runner that already had 87G free
(warm run 41280912785, ubuntu26 20261026.180.1, 2026-11-01). The restore
needs its 29 GB (24 GB unpacked plus the 5 GiB download) on the disk it
unpacks onto, so the step now waits only while the deletion runs AND
/ci-target has less than 40 GB free; the 19G-free 72G runner that
failed #5681 still waits, every roomy runner goes straight on, and the
rest of the deletion finishes in the background. The notice reports the
wait and /ci-target's room (on 24.04 runners /ci-target is /mnt, where
the root deletion frees nothing, so it no longer waits there at all).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply
joelteply force-pushed the cormac/ci-wait-for-room branch from be0af4c to 56ec1d1 Compare November 7, 2026 15:31
joelteply and others added 2 commits November 7, 2026 09:32
…dex on #5685)

df -B1G rounds available blocks up, so 28 GiB + 1 byte printed 29 and skipped the wait. The step
now reads df -B1 and waits while /ci-target holds fewer than 29 GiB in bytes; the deletion-ended
escape is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply
joelteply merged commit bd6d92c into canary Nov 11, 2026
44 checks passed
@joelteply
joelteply deleted the cormac/ci-wait-for-room branch November 11, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant