From f4f4fb970253a743897b19ffc095b14621049f3c Mon Sep 17 00:00:00 2001 From: "Claude (ci-disk)" Date: Sat, 10 Oct 2026 14:51:36 -0700 Subject: [PATCH] ci(nix): build the test derivation without DWARF and without archiving its target Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze --- nix/ci.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/ci.nix b/nix/ci.nix index fa189273..6a6c296b 100644 --- a/nix/ci.nix +++ b/nix/ci.nix @@ -30,6 +30,9 @@ # The `test` job ran the dev/test profiles, not crane's default release: # debug assertions and overflow checks are part of what it tested. CARGO_PROFILE = ""; + # No DWARF in the dev/test artifacts: it was about half of the test build's + # disk and the runners hit ENOSPC linking it. Asserts are unaffected. + CARGO_PROFILE_DEV_DEBUG = "0"; }; wasmTarget = "wasm32-unknown-unknown"; @@ -103,6 +106,8 @@ in rec { // { pname = "improvise-test"; cargoArtifacts = nativeDeps; + # Nothing reuses the test target dir; archiving it is more disk. + doInstallCargoArtifacts = false; cargoTestExtraArgs = "--workspace"; nativeBuildInputs = [pkgs.python3 pkgs.git]; # tests/shipped_documents_load.rs walks the git index (`git ls-files`)