From f2d500c27e08bc0887e999c7d73ec8a6bb5d0cbf Mon Sep 17 00:00:00 2001 From: usr-bin-roygbiv Date: Wed, 22 Jul 2026 02:31:56 +0000 Subject: [PATCH 1/2] test(ci): require isolated legacy Cargo scratch --- scripts/cluster-ci/cluster-ci-contract.test.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/cluster-ci/cluster-ci-contract.test.mjs b/scripts/cluster-ci/cluster-ci-contract.test.mjs index 7efe4a1d..184cad23 100644 --- a/scripts/cluster-ci/cluster-ci-contract.test.mjs +++ b/scripts/cluster-ci/cluster-ci-contract.test.mjs @@ -279,6 +279,11 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication steps["legacy-authority-build"].environment.RUSTFLAGS, "-C link-arg=-fuse-ld=lld", ); + assert.equal( + steps["legacy-authority-build"].environment.CARGO_TARGET_DIR, + "/tmp/t4-legacy-authority-target", + ); + assert.equal(steps["legacy-authority-build"].environment.CARGO_INCREMENTAL, "0"); assert.match(legacyInstaller, /apt-get install[^\n]*\blld\b/u); assert.match(legacyInstaller, /command -v ld\.lld >\/dev\/null/u); assert.equal( @@ -296,6 +301,7 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication "(cd .continuity/omp && bun install --frozen-lockfile)", "(cd .continuity/omp && bun run build:native)", ]); + assert.deepEqual(steps["legacy-bridge-continuity"].depends_on, ["legacy-authority-build"]); assert.ok(steps["legacy-bridge-continuity"].commands.includes("pnpm test:legacy-bridge-continuity")); assert.equal(steps["legacy-bridge-continuity"].environment.T4_OMP_SOURCE_DIR, ".continuity/omp"); assert.ok( From 8cd1d28ae4abd86a7d730490cbb6e6a91bc6c284 Mon Sep 17 00:00:00 2001 From: usr-bin-roygbiv Date: Wed, 22 Jul 2026 02:38:56 +0000 Subject: [PATCH 2/2] fix(ci): isolate legacy Cargo scratch --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index e5870843..98024327 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -121,6 +121,8 @@ steps: image: docker.io/library/rust:1.86-slim-bookworm@sha256:57d415bbd61ce11e2d5f73de068103c7bd9f3188dc132c97cef4a8f62989e944 environment: RUSTFLAGS: "-C link-arg=-fuse-ld=lld" + CARGO_TARGET_DIR: /tmp/t4-legacy-authority-target + CARGO_INCREMENTAL: "0" commands: - sh scripts/cluster-ci/install-legacy-authority-toolchain.sh - (cd .continuity/omp && bun install --frozen-lockfile)