Repository navigation
Description
Evidence
The WebAssembly case job writes wave-cases-${{ matrix.id }}.json in tools/run_tests.py, then executes selected runtime cases in a separate shell loop. The upload step still uploads only the earlier report. For these targets, that earlier invocation validates compilation, not the later host execution results.
This distinction is observable in run 35806855932, at PR #691 head 6940c38061a0f1e757f9aa39b88f9064df8326dd: the compile precheck reports FAIL: 0, but the later host execution fails on env.printf for wasm32/wasm64 and an unavailable env module for WASI. The JSON writer has already finished and the runtime loop does not update it. This evidence is from that PR run, not a claim that master has the same host-import failure.
The RISC-V and LoongArch QEMU lanes similarly keep compile/precheck reporting separate from the shell execution loop: RISC-V, LoongArch.
Acceptance
Difficulty: medium.
- Upload clearly identified compile and runtime outcomes, either as separate reports or an explicit phase field in a combined report.
- Include target, source, executor, actual runtime exit/failure, and bounded diagnostic output. A successful compile must not stand in for an execution pass.
- If execution stops early, report remaining selected cases as not run; do not imply they passed.
- Preserve reports on failures and timeouts and retain a nonzero job result.
- Exercise success, host-import failure, timeout, and interruption with fake subprocesses before using the existing real CI lanes.
Related: #576 concerns detail loss within the existing case JSON rows. This issue concerns runtime execution phases that bypass that reporter entirely. Runtime portability/host capabilities are already tracked in #459 (and related host-import issues); do not duplicate their implementation scope or modify contributor PR #691 as part of this reporting task.
Activity
fix(ci): repair MSVC checks and preserve case execution reports (wave…