From 93ed71fc46f91c1e59de8efd5384fc4c8bb7553f Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Fri, 16 Oct 2026 03:45:11 -0500 Subject: [PATCH 1/3] test(id): align bulk sync deadline with runtime --- pkgs/id/src/log_sync.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) From 4b306c763729f947354665cc04e41466e01a1a91 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Sat, 17 Oct 2026 05:55:00 -0500 Subject: [PATCH 2/3] fix(id): cap cargo disk use in Nix checks --- pkgs/id/flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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 ++ [ From 58b4da4a05d36acc3d6edf49d779bff3e7a9776b Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Sat, 17 Oct 2026 07:24:51 -0500 Subject: [PATCH 3/3] fix(id): keep running Nix checks after one fails --- .github/workflows/id-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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