Commit d611daa
authored
chore(ci): evict stale lake-packages cache in host maintenance (#2037)
The weekly host-maintenance run prunes lake-build, compiler-ccache,
journald, and docker, but never touched /srv/verity-ci-cache/lake-packages.
That dir grows one ~5.7G entry per PR/branch/content-hash and was never
evicted, so the x64 runner root disks filled to 100% and the runners
silently dropped offline (the runner service stays active but can't write).
Add an mtime-based prune for lake-packages (default 14 days, override via
LAKE_PACKAGES_MAX_AGE_DAYS), mirroring the existing lake-build eviction.
Worst case of an over-prune is a cache miss on the next build, never
incorrectness.1 parent 4b6ca2d commit d611daa
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
0 commit comments