CI: skip the quantum set rerun test on the linux leg until #538 leaves the path out (ends by itself) #546

Merged
dcharlot merged 1 commit from ci/quantum-set-path-skip-linux into main 2026-10-30 00:46:26 -04:00

View file

@ -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