Verify in CI: small runtime dependencies
srid opened this issue · comments
Sridhar Ratnakumar commented
Test in CI that the emanote closure size doesn't bloat up again (#295)
Current:
❯ nix path-info --json -S .#default | jq 'map(select(.closureSize > 0.4e9)) | sort_by(.closureSize) | map([.path, .closureSize])'
warning: Using saved setting for 'extra-substituters = https://cache.garnix.io' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=' from ~/.local/share/nix/trusted-settings.json.
[
[
"/nix/store/3h9p5bi32263wqdnpf63f1rw0c722fln-emanote-1.0.1.0",
542715032
]
]
Potential test: ensure that the following command ("Show every path whose closure is bigger than 1 GB, sorted by closure size:") returns empty results:
❯ nix path-info --json -S .#default | jq 'map(select(.closureSize > 1e9)) | sort_by(.closureSize) | map([.path, .closureSize])'
warning: Using saved setting for 'extra-substituters = https://cache.garnix.io' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=' from ~/.local/share/nix/trusted-settings.json.
[]
Sridhar Ratnakumar commented
Added the check to Jenkins: #475