You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add unit tests for the WebAssembly smoke runners #643
tools/run_wasm_smoke.mjs and tools/run_wasi_smoke.mjs are currently exercised through the full WebAssembly CI path, but the JavaScript validation logic has no focused unit tests. Small regressions in required exports, private-export rejection, or invalid-module handling therefore require the full compiler smoke job to surface.
Scope
Add lightweight Node tests for the existing smoke-runner behavior. Prefer the built-in node:test module and small generated or checked-in WebAssembly fixtures.
The focused tests should not require a Wave compiler build, LLVM, downloads, or network access. Keep the existing end-to-end WebAssembly smoke jobs.
Completion criteria
A valid browser-hosted smoke module is accepted.
Missing or invalid required exports are rejected.
Leaked __wave_ exports are rejected.
Invalid WebAssembly input fails with a nonzero status.
A minimal WASI success path is covered where practical.
The focused Node tests run in CI without replacing the existing compiler smoke coverage.
changed the title [-][Proposal]: Add isolated tests for the WebAssembly smoke runner scripts[/-][+]Add focused tests for the WebAssembly smoke runner scripts[/+]on Sep 15, 2026
changed the title [-]Add focused tests for the WebAssembly smoke runner scripts[/-][+]Add unit tests for the WebAssembly smoke runners[/+]on Sep 15, 2026
Activity
[-][Proposal]: Add isolated tests for the WebAssembly smoke runner scripts[/-][+]Add focused tests for the WebAssembly smoke runner scripts[/+][-]Add focused tests for the WebAssembly smoke runner scripts[/-][+]Add unit tests for the WebAssembly smoke runners[/+]