The host-packages-js-tests job runs against committed dist/wasm/ bundles, so it never catches the case where someone touches truapi-server and forgets to regenerate. wasm-bundle-check rebuilds but doesn't run any tests against the fresh bundle. Either gate host-packages-js-tests on a fresh make wasm, or have wasm-bundle-check invoke npm test in truapi-host-shared after rebuilding.
The host-packages-js-tests job runs against committed dist/wasm/ bundles, so it never catches the case where someone touches truapi-server and forgets to regenerate. wasm-bundle-check rebuilds but doesn't run any tests against the fresh bundle. Either gate host-packages-js-tests on a fresh make wasm, or have wasm-bundle-check invoke npm test in truapi-host-shared after rebuilding.