Skip to content

ci: run formatter and WebAssembly host unit suites - #962

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
hiyouwhatsapp:fix/940-run-tooling-and-wasm-host-tests
Oct 19, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
hiyouwhatsapp:fix/940-run-tooling-and-wasm-host-tests

Conversation

@hiyouwhatsapp

Copy link
Copy Markdown
Contributor

Fixes #940.

Wave's formatter and WebAssembly output-host regression tests exist but were absent from the tracked CI procedures. A regression in those helpers could therefore pass the main CI lanes.

Changes

  • Include tools.test_format_rust in the existing Python tooling unittest command across Linux/macOS, Windows and release validation procedures.
  • Run node tools/test_wasm_host.mjs in the WebAssembly build lane after tool verification and before building the compiler. That workflow already provisions Node 22; other lanes do not gain a Node dependency.
  • Add tests ensuring both suites remain wired into the appropriate CI procedures and that a failing Node test command fails its CI stage and blocks the next stage.
  • Update the total planned-stage assertion to account for the one new validation stage.

This does not add the distinct Rust function-spacing policy gate requested by #893.

Validation

  • Programmatically parsed the updated CI JSON files and checked the four Python unittest command lists, the single WebAssembly host stage, its order and the total stage count (228): passed.
  • Reviewed the committed three-file diff and checked for trailing whitespace.
  • The actual python3 -m unittest tools.test_ci tools.test_format_rust and node tools/test_wasm_host.mjs commands were not executed locally because a full checkout of the Wave repository isn't available in this environment. Upstream CI must establish those results.

No compiler/library semantics or host toolchain pins are changed.

Add formatter regression tests to the existing Python validation procedures
and run the output-host Node suite in the WebAssembly build lane. Cover
procedure wiring and a failing Node command's nonzero exit propagation.

Fixes wavefnd#940

Signed-off-by: hiyouwhatsapp <[email protected]>

@LunaStev LunaStev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the CI procedure changes and regression test coverage. The formatter and WebAssembly host suites are correctly wired; CI is green.

@LunaStev
LunaStev merged commit bd9608c into wavefnd:master Oct 19, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run formatter and WebAssembly output-host unit suites in CI

2 participants