Repository navigation
Commit c918263
committed
ci: scope the Blacksmith sticky-disk Nix store per job
The sticky-disk key was shared across every Linux job of the same arch. A
sticky disk clones the last committed snapshot and re-commits on completion, so
jobs that realize different Nix closures (a full dev shell vs. a single
`nix build`) overwrote each other's store on the shared key, forcing cold
re-downloads from cache.nixos.org — the source of the large run-to-run variance
in pkg-pr-new (149s vs 388s).
Key the disk by `github.job` so each closure stays warm independently.1 parent 68cb372 commit c918263
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments