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
Fail QEMU and WebAssembly case steps when runtime-source selection fails #696
At 2b325483, three case execution steps use Bash process substitution:
set -euo pipefail
mapfile -t cases <<( python3 tools/case_manifest.py runtime-sources "$target_id")forsourcein"${cases[@]}";do# execute selected case
...
done
The producer's exit status is not the exit status of mapfile. A failed selector can therefore leave an empty array and let the execution step succeed without running any cases. pipefail does not cover process substitution.
Minimal shell reproduction, executed during this audit without changing repository files:
Observed shell exit: 0, output continued; selected=0 despite the selector exiting 2. This is a source-audit reproduction, not a claim that the recorded master run encountered a selector error.
Difficulty: easy; limited to shell exit-status handling.
Capture and check successful selector completion before consuming its output, preserving source-path boundaries and ordering.
Selector exit 2, including a selector that prints partial output first, fails the step and runs no partial selection.
A successful selection still executes every selected case and preserves an actual case failure.
A successful but empty selection must have an explicit policy, rather than an accidental green no-op where runtime coverage is required.
Add a cheap shell-level regression using a fake selector; no LLVM build or VM is required.
Do not change which sources the selector returns. #690 and contributor PR #691 own generic shared-suite selection; #459 owns runtime capability eligibility.
Activity
fix(ci): repair MSVC checks and preserve case execution reports (wave…