From e7b7cf113cc0d621529d6d1d88dcf7c6038eb349 Mon Sep 17 00:00:00 2001 From: Surma Date: Thu, 12 Nov 2026 13:46:25 +0000 Subject: [PATCH] Run sandbox tests serially to avoid cold compilation deadline contention --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index bb668ed..9f2fc19 100644 --- a/flake.nix +++ b/flake.nix @@ -163,7 +163,8 @@ checks.tests = craneLib.cargoTest (hostArgs // { cargoArtifacts = hostArtifacts; cargoExtraArgs = "--locked -p sausage -p sausage-vfs"; - cargoTestExtraArgs = "-- --nocapture"; + # Guest builds and cold compilations share the check's CPU and memory. + cargoTestExtraArgs = "-- --nocapture --test-threads=1"; doCheck = true; nativeBuildInputs = hostArgs.nativeBuildInputs ++ builderTools ++ [ pkgs.git pkgs.nodejs ]; SAUSAGE_TEST_NO_BUILDER_SANDBOX = "1";