diff --git a/noir-projects/contract-snapshots/bootstrap.sh b/noir-projects/contract-snapshots/bootstrap.sh index f4ae19760903..8f2a7d2e92ac 100755 --- a/noir-projects/contract-snapshots/bootstrap.sh +++ b/noir-projects/contract-snapshots/bootstrap.sh @@ -20,7 +20,12 @@ function test { echo "INSTA_UPDATE is not permitted in CI. Run 'cargo insta accept' locally and commit." >&2 exit 1 fi - INSTA_UPDATE=no cargo test --quiet + # TODO(#12933 on noir-lang/noir): `expand::test_avm_test_contract` is skipped because `nargo expand` + # emits the generated contract-interface functions in hashmap-iteration order, which + # is not stable across nargo builds/runs. The snapshot is correct but the test fails + # intermittently in the merge queue on order-only diffs. Re-enable once noir makes the + # expand output order deterministic (e.g. sort interface fns by name/selector). + INSTA_UPDATE=no cargo test --quiet -- --skip expand::test_avm_test_contract } function test_cmds {