Commit a6c42d7
committed
Stop the Linux CI job running out of disk, and cut its runtime
The ubuntu-latest job has been failing since at least 1 Aug, on unrelated
dependabot PRs as well. The annotation is
Unhandled exception. System.IO.IOException: No space left on device :
'.../actions-runner/extracted/_diag/Worker_....log'
The runner died writing its own diagnostic log, which is why the step logs
are absent and the job's steps are still reported as in_progress.
Three profiles of the same rattler-scale tree accumulate in rust/target
before the existing `rm -rf rust/target` mitigation runs: debug from the
editable install, instrumented from coverage, and release from `make build`.
Locally that directory reaches 7.0G without a coverage run.
- Free disk space: drops the unused Android/dotnet/GHC/Swift toolchains.
Taken verbatim from the upstream template, which added it in b93abda after
hitting the identical failure on another project; it reported free space
going from 7G to 30G. nepenthe is 68 commits behind the template and its
scheduled copier update has been failing, so it never received this.
- Build: skipped on Linux. `make dist-rs` runs the same `cargo build
--release`, and cibuildwheel then rebuilds from scratch in the manylinux
container, so this was a third compile of the same tree and a third copy of
it on disk. Still runs on macOS and Windows, where nothing else covers it.
- cargo-nextest / cargo-llvm-cov: installed as prebuilt binaries rather than
compiled from source on every run. `cargo install --force` rebuilt them
unconditionally; nextest alone took 9m35s of the 24m dependency step. The
make target now skips them when they are already on PATH, so it no longer
undoes the prebuilt install, and repeat local runs get the same saving.1 parent e0e918e commit a6c42d7
2 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| |||
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
58 | 69 | | |
59 | 70 | | |
| 71 | + | |
60 | 72 | | |
61 | 73 | | |
62 | 74 | | |
| |||
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
88 | 107 | | |
89 | 108 | | |
90 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments