From a3d46b352aa693749943198c2b7276153a7da432 Mon Sep 17 00:00:00 2001 From: Transaction Science Date: Fri, 30 Oct 2026 00:33:34 -0400 Subject: [PATCH] CI: the quantum set rerun test skipped on the linux leg until its path is left out engine::sets' rerun test compares each item between two runs, less its elapsed_ms and receipt, but with its Merkle path. A path holds the other items' leaves, and with them their elapsed_ms, so on the slower x86_64 runners (jetson-hub, the iMac VM) two runs differ there: three failures in three runs on #540 and #541, none of them in code those PRs touch. #538 holds the fix (the path left out) and waits on the Windows runner, which is offline; any change under wai/wai-quantum waits with it. So the energy-receipts linux leg skips that one test while sets.rs still compares the path, and runs it whole again by itself once the file leaves the path out. linux-arm64 and macOS run it whole throughout. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/wai-energy-receipts.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wai-energy-receipts.yml b/.github/workflows/wai-energy-receipts.yml index 36130e7ae..5d7793d5b 100644 --- a/.github/workflows/wai-energy-receipts.yml +++ b/.github/workflows/wai-energy-receipts.yml @@ -182,10 +182,22 @@ jobs: # labelled forms are tested in its own workspace, against its own lock, # with the integration tests that pin its f64 layers' bits on every # architecture this matrix runs. + # + # One test is skipped on the linux leg until wai-quantum's engine/sets.rs leaves each item's + # path out of its rerun comparison (#538 does; it waits on the Windows runner). A path holds + # the other items' leaves, and with them their elapsed_ms, so two runs differ there on the + # slower x86_64 runners while everything else holds. linux-arm64 and macOS run it whole, and + # the skip ends by itself once the file leaves the path out. - name: wai-quantum — receipt pins, labels and bit identity working-directory: wai/wai-quantum shell: bash - run: cargo test --locked --features full --lib --tests + run: | + set -- + if [ "${{ matrix.os }}" = linux ] && ! grep -q 'remove("path")' src/engine/sets.rs; then + set -- --skip engine::sets::tests::one_receipt_binds_every_item_and_any_change_breaks_it --exact + echo "skipped on this leg until sets.rs leaves the path out (#538): $2" + fi + cargo test --locked --features full --lib --tests -- "$@" # The HTTP handler's POST /verify must accept a receipt in either form — # as sealed, or labelled as wai_quantum_meter emits it — and report the -- 2.54.0 (Apple Git-157)