From e199d4a162f97c2ad05e3831f48d922fdf677d3a Mon Sep 17 00:00:00 2001 From: mfw78 Date: Sat, 25 Jul 2026 00:13:25 +0000 Subject: [PATCH] tooling: build the cow-venue adapter wasm inside just ci The module-wasm build emits a featureless cow_venue.wasm through twap-monitor's cow-venue dependency, so the videre-host platform e2e tests loaded a stub component with no adapter exports and failed non-deterministically on a clean checkout, while GitHub CI passed by building the adapter after the modules. Rebuild the adapter component inside the ci recipe, after the module build and before the tests, matching CI's order. Closes #595 --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index 3d957bf4..47d2d3d0 100644 --- a/justfile +++ b/justfile @@ -110,4 +110,8 @@ ci: -p balance-tracker -p http-probe -p echo-venue \ -p echo-client -p clock-reader -p flaky-bomb -p flaky-venue -p fuel-bomb \ -p memory-bomb -p panic-bomb -p slow-host + # The module build above emits a featureless cow_venue.wasm through + # twap-monitor's cow-venue dep; rebuild the adapter component over it + # (as CI does) so the platform e2e tests load the adapter, not the stub. + cargo build --release --target wasm32-wasip2 -p cow-venue --features adapter cargo test --workspace --all-features --no-fail-fast