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
Run formatter and WebAssembly output-host unit suites in CI #940
The recently added tools/test_format_rust.py and tools/test_wasm_host.mjs suites are executable locally but are not referenced by the tracked CI plans/procedures or operation implementations. Regressions in their focused contracts therefore need not fail CI.
Source audit at master d59bdab376bdc04edacdc8029b256cb8d55b5adf: the Python command lists in tools/ci/procedures.json:71 omit tools.test_format_rust, and no CI command invokes tools/test_wasm_host.mjs. These tests came with #926 and #932 respectively. Existing end-to-end cases do not replace their lexical-state and output-host memory/error unit checks.
Add both suites to appropriate existing CI procedures: Python tooling validation and a lane already provisioning Node for WebAssembly. Propagate failure status. Do not introduce duplicate workflows or require Node in lanes that currently do not need it. Difficulty: easy, with tools/test_ci.py as a starting point for procedure coverage.
This is separate from #893, which requests running the formatting policy checker itself. Here the requested gate executes the helper/host regression tests, not format-rust.py --check.
Completion criteria
The relevant CI plans execute both suites and preserve their failure exit status.
Add focused procedure/operation regression coverage so the commands cannot silently disappear.
Keep existing Python and WebAssembly validation commands and supported host toolchain pins intact.
I'd like to take this. The Python tooling procedures can include tools.test_format_rust in their existing unittest commands. For the WebAssembly build lane, I'll add a small command procedure running node tools/test_wasm_host.mjs after tool verification (the CI job already sets up Node 22), and add tools/test_ci.py assertions for both wiring paths and nonzero-exit propagation. I'll leave the separate formatting-policy checker in #893 alone.
Activity
hiyouwhatsapp commentedon Oct 18, 2026
I'd like to take this. The Python tooling procedures can include
tools.test_format_rustin their existing unittest commands. For the WebAssembly build lane, I'll add a small command procedure runningnode tools/test_wasm_host.mjsafter tool verification (the CI job already sets up Node 22), and addtools/test_ci.pyassertions for both wiring paths and nonzero-exit propagation. I'll leave the separate formatting-policy checker in #893 alone.ci: run formatter and WebAssembly host unit suites
ci: run formatter and WebAssembly host unit suites (wavefnd#962)