cI: improve cache management #2

Merged
flowey merged 1 commits from flowey/better-cache-management into master 2026-09-11 02:06:39 +00:00
Owner
No description provided.
flowey added 1 commit 2026-09-11 00:45:13 +00:00
better cache management
diff-pr / dix (pull_request) Successful in 8m1s
flake-check / flake-check (pull_request) Successful in 51s
lint / lint (pull_request) Successful in 1m48s
d00b1b3727

["example","server-n0"]
/nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964
/nix/store/bm594maiviy1lppcw6xrjfby97jzh6k1-nixos-system-server-n0-26.11.20260810.2fcb964
["example","server-n0"]
/nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964
/nix/store/kfx10fs1msnlpkq08hpzdxpkibxl27hb-nixos-system-server-n0-26.11.20260810.2fcb964

System closure diff vs master

example

<<< /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964
>>> /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964

PATHS: 816 -> 816 (+0, -0)
SIZE: 3.29 GiB -> 3.29 GiB
DIFF: 0 bytes

server-n0

<<< /nix/store/bm594maiviy1lppcw6xrjfby97jzh6k1-nixos-system-server-n0-26.11.20260810.2fcb964
>>> /nix/store/kfx10fs1msnlpkq08hpzdxpkibxl27hb-nixos-system-server-n0-26.11.20260810.2fcb964

CHANGED
[C.] unit-nix-gc.service      <none> ×2 -> <none>
[C.] unit-script-nix-gc-start <none> ×2 -> <none>

REMOVED
[R.] unit-nix-gc.timer        <none>

PATHS: 2153 -> 2150 (+17, -20)
SIZE: 9.77 GiB -> 9.77 GiB
DIFF: -11.0 KiB

["example","server-n0"]
/nix/store/xqjyw5hlcl26mrgpfd0n75ps16j37iaf-inspect-example.json
/nix/store/3j6571sb0rk18c3i4a0psavc1fkmvx5f-inspect-server-n0.json
["example","server-n0"]
/nix/store/xqjyw5hlcl26mrgpfd0n75ps16j37iaf-inspect-example.json
/nix/store/lv60zd4xkwzlcz5h668fs7yxzkqb4nm1-inspect-server-n0.json

Inspection diff vs master

server-n0

@@ dependencies @@
- edges:
-   - from: ci-runner:timers.target
-     kind: wants
-     to: ci-runner:nix-gc.timer
@@ units @@
- ci-runner.nix-gc.service.script: exec nix-2.34.8/bin/nix-collect-garbage --delete-older-than 14d
+ ci-runner.nix-gc.service.script: exec nix-2.34.8/bin/nix-collect-garbage 
- ci-runner.nix-gc.timer:
-   description: 
-   enable: true
-   name: nix-gc.timer
-   timerConfig:
-     OnCalendar:
-       - daily
-     Persistent: true
-     RandomizedDelaySec: 0
-   unitConfig: {}
-   wantedBy:
-     - timers.target
<!-- dix-diff --> ["example","server-n0"] /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964 /nix/store/bm594maiviy1lppcw6xrjfby97jzh6k1-nixos-system-server-n0-26.11.20260810.2fcb964 ["example","server-n0"] /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964 /nix/store/kfx10fs1msnlpkq08hpzdxpkibxl27hb-nixos-system-server-n0-26.11.20260810.2fcb964 ### System closure diff vs `master` ## example ``` <<< /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964 >>> /nix/store/prahsm2071cyy2ldx86qagz3s37prqzd-nixos-system-example-26.11.20260810.2fcb964 PATHS: 816 -> 816 (+0, -0) SIZE: 3.29 GiB -> 3.29 GiB DIFF: 0 bytes ``` ## server-n0 ``` <<< /nix/store/bm594maiviy1lppcw6xrjfby97jzh6k1-nixos-system-server-n0-26.11.20260810.2fcb964 >>> /nix/store/kfx10fs1msnlpkq08hpzdxpkibxl27hb-nixos-system-server-n0-26.11.20260810.2fcb964 CHANGED [C.] unit-nix-gc.service <none> ×2 -> <none> [C.] unit-script-nix-gc-start <none> ×2 -> <none> REMOVED [R.] unit-nix-gc.timer <none> PATHS: 2153 -> 2150 (+17, -20) SIZE: 9.77 GiB -> 9.77 GiB DIFF: -11.0 KiB ``` ["example","server-n0"] /nix/store/xqjyw5hlcl26mrgpfd0n75ps16j37iaf-inspect-example.json /nix/store/3j6571sb0rk18c3i4a0psavc1fkmvx5f-inspect-server-n0.json ["example","server-n0"] /nix/store/xqjyw5hlcl26mrgpfd0n75ps16j37iaf-inspect-example.json /nix/store/lv60zd4xkwzlcz5h668fs7yxzkqb4nm1-inspect-server-n0.json ### Inspection diff vs `master` ## server-n0 ```diff @@ dependencies @@ - edges: - - from: ci-runner:timers.target - kind: wants - to: ci-runner:nix-gc.timer @@ units @@ - ci-runner.nix-gc.service.script: exec nix-2.34.8/bin/nix-collect-garbage --delete-older-than 14d + ci-runner.nix-gc.service.script: exec nix-2.34.8/bin/nix-collect-garbage - ci-runner.nix-gc.timer: - description: - enable: true - name: nix-gc.timer - timerConfig: - OnCalendar: - - daily - Persistent: true - RandomizedDelaySec: 0 - unitConfig: {} - wantedBy: - - timers.target ```
flowey merged commit 0279df6b11 into master 2026-09-11 02:06:39 +00:00
Sign in to join this conversation.