diff --git a/.github/workflows/id-check.yml b/.github/workflows/id-check.yml index 64b74843cd..40b90da14d 100644 --- a/.github/workflows/id-check.yml +++ b/.github/workflows/id-check.yml @@ -51,4 +51,4 @@ jobs: sudo udevadm trigger --name-match=kvm - name: Run nix flake check - run: nix flake check ./pkgs/id/ -L + run: nix flake check ./pkgs/id/ -L --keep-going diff --git a/pkgs/id/flake.nix b/pkgs/id/flake.nix index af4f57e3b4..39353a3a95 100644 --- a/pkgs/id/flake.nix +++ b/pkgs/id/flake.nix @@ -161,6 +161,13 @@ name: justCmd: pkgs.stdenv.mkDerivation { name = "id-${name}"; + # Every check builds its own debug test binaries in parallel on a + # runner with limited disk. Full debuginfo and the incremental cache + # filled the disk (ENOSPC, then a linker bus error). Line tables keep + # file:line in panics and backtraces. + CARGO_INCREMENTAL = "0"; + CARGO_PROFILE_TEST_DEBUG = "line-tables-only"; + CARGO_PROFILE_DEV_DEBUG = "line-tables-only"; src = ./.; inherit buildInputs; nativeBuildInputs = nativeBuildInputs ++ [ diff --git a/pkgs/id/src/log_sync.rs b/pkgs/id/src/log_sync.rs index c65be73d18..61a16fc73f 100644 --- a/pkgs/id/src/log_sync.rs +++ b/pkgs/id/src/log_sync.rs @@ -529,7 +529,9 @@ mod tests { use crate::waiting::WaitingLimits; use iroh_base::SecretKey; - const DEADLINE: Duration = Duration::from_secs(30); + // Keep test sessions aligned with production; CI can run the bulk page-transfer test under + // substantially more contention than a focused local invocation. + const DEADLINE: Duration = SESSION_DEADLINE; fn key(n: u8) -> SigningKey { SigningKey::from_bytes(&[n; 32])