macOS CI runner: the check cache grew to 112 GB and filled the disk #71

Closed
opened 2026-10-02 21:10:06 +00:00 by jhgaylor · 1 comment
Owner

Found during #55 (#69's branch). The macos job failed with "No space left on device" while compiling illogicald: the runner's cargo target for checks (~/.cache/illogical-ci/check/debug) was 112 GB (deps 86 GB, incremental 24 GB), with 251 MB free on the Mac.

I removed debug/incremental (24 GB free again) and re-ran. It will fill again: nothing prunes old artifacts.

Options:

  • CARGO_INCREMENTAL=0 in the workflow (CI gains little from it);
  • prune the target dir when it passes a size (cargo-sweep, or rm -rf when over N GB) at the start of the job;
  • or a fresh target per run on that runner.
Found during #55 (#69's branch). The macos job failed with "No space left on device" while compiling illogicald: the runner's cargo target for checks (~/.cache/illogical-ci/check/debug) was 112 GB (deps 86 GB, incremental 24 GB), with 251 MB free on the Mac. I removed debug/incremental (24 GB free again) and re-ran. It will fill again: nothing prunes old artifacts. Options: - CARGO_INCREMENTAL=0 in the workflow (CI gains little from it); - prune the target dir when it passes a size (cargo-sweep, or rm -rf when over N GB) at the start of the job; - or a fresh target per run on that runner.
Author
Owner

Fixed by #84 (55a13cb, on main): scripts/ci-cap-target runs at the start of both check.yml and release.yml and deletes the kept build (~/.cache/illogical-ci/...) once it passes 30 GB.

Fixed by #84 (55a13cb, on main): `scripts/ci-cap-target` runs at the start of both check.yml and release.yml and deletes the kept build (`~/.cache/illogical-ci/...`) once it passes 30 GB.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/illogical#71
No description provided.