Skip to content

Include QEMU and WebAssembly execution outcomes in uploaded case reports #697

Closed

Description

@LunaStev

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

  1. added
    bug
    help wanted
    needs testing
    ci
    on Sep 23, 2026
  2. self-assigned this
    on Sep 23, 2026
  3. added a commit that references this issue on Sep 23, 2026
    509a1e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcihelp wantedneeds testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions