feat(test,explain,trace): repetition controls, action explanations, Chrome traces
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 1m54s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m50s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m48s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m8s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 4m1s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 40s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 16s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 19s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m56s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 7m3s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Successful in 4m31s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Successful in 3m51s
VoidBuildSystem CI / 5 · Release (push) Skipped

Test runner gains CTest/Meson parity controls: --repeat
until-fail|until-pass|after-timeout[:N], --retry N, --shuffle
[--shuffle-seed N] and --stop-on-failure (which also skips the remaining
profiles).

`vbs explain` answers "why would this action run?" without executing
anything: Execution::explain_graph compares each selected action against
the CAS record (missing record, changed discovered inputs, changed or
missing outputs, restorable outputs, shared-remote-cache hits) and
reports text or JSON.

`vbs build|test --trace FILE` writes a Chrome trace (JSON) with build
phase spans (config, toolchain, eval, snapshot, graph, total) and
per-action spans from the scheduler events.

Verified: new FullV1Tests cases (repetition/shuffle/stop-on-failure and
explain/trace) pass, and the CLI contract suite passes.
This commit is contained in:
faumaray committed 2026-12-06 16:50:38 +03:00
1 parent a3afca0e5f
commit 2dec3e9259
5 files changed
+818 -33

No files matched your search

+11
View File
@@ -28,6 +28,17 @@ check_process(2 "" "unknown subcommand: invalid" invalid)
check_process(0 "Usage: vbs build .*--native-foreign.*--profile.*\\(repeatable\\)" "" build --help)
check_process(0 "Usage: vbs test " "" test --help)
check_process(2 "" "invalid --test-timeout" test --test-timeout 0)
check_process(0 "Usage: vbs test .*--repeat" "" test --help)
check_process(0 "--shuffle" "" test --help)
check_process(0 "--stop-on-failure" "" test --help)
check_process(0 "Usage: vbs explain " "" explain --help)
check_process(0 "--format" "" explain --help)
check_process(2 "" "unsupported --format" explain --format xml)
check_process(0 "--trace" "" build --help)
check_process(2 "" "invalid --repeat mode" test --repeat bogus)
check_process(2 "" "invalid --repeat count" test --repeat until-pass:0)
check_process(2 "" "invalid --retry value" test --retry 99)
check_process(2 "" "invalid --shuffle-seed" test --shuffle --shuffle-seed abc)
check_process(0 "Usage: vbs init " "" init --help)
check_process(0 "Usage: vbs clean " "" clean --help)
check_process(0 "Usage: vbs doctor " "" doctor --help)