From 7d5e6f36fb6706ba469c5f6ca4e022edbe8468b2 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Sat, 5 Dec 2026 23:16:16 +0900 Subject: [PATCH] fix(ci): keep static invariants script free of full crate builds Keep check-invariants.sh as a fast static gate so fast-lane runners without native GUI system libraries do not compile full client crates. Cargo metadata and client-compat.mjs already enforce the adapter dependency boundary. --- packages/frontend/scripts/check-invariants.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/frontend/scripts/check-invariants.sh b/packages/frontend/scripts/check-invariants.sh index ccbd7bcab3..c291bed780 100755 --- a/packages/frontend/scripts/check-invariants.sh +++ b/packages/frontend/scripts/check-invariants.sh @@ -802,8 +802,4 @@ fi echo "==> Checking snapshot prefix liveness" node "$SCRIPT_DIR/check-snapshot-prefixes.mjs" --source-only -echo "==> Checking core builds without the compatibility adapter" -CARGO_ENCODED_RUSTFLAGS="" cargo check --locked -p affine-store -p affine-client -p affine-desktop -p affine-mobile -CARGO_ENCODED_RUSTFLAGS="" cargo check --locked -p affine-store -p affine-client -p affine-desktop -p affine-mobile --target wasm32-unknown-unknown - echo "All invariants passed."