tooling: identify argument variants in parallel check results #3681
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3681
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3679"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@timbot103 on GitHub · 2026-12-01 01:07 UTC · original
timbot103:tooling-parallel-arg-labels→main· +38 −7 · 3 files · 1 commits · merged 2026-12-01 01:18 UTCThe parallel runner accepts several invocations of one script with different arguments. Its group headers and summaries previously printed the script path alone, so a CI log could give every invocation the same name.
Group headers and the
FAILED:andSKIPPED:summaries now include the invocation's arguments with native Windows or POSIX quoting. Labels for scripts without arguments retain their existing spelling. The runner still prints results in submission order and uses the existing exit-code and deduplication rules.Refs #3002
Verification
Ran these commands from the repository root on Windows. The regression-only column uses the updated tests with
tools/run_checks_parallel.pystill at basea3bfd019.python -B tests/run_checks_parallel_check.pypython -B tests/run_checks_parallel_cli_check.py -qpython -B tests/run_checks_fragments_check.pyThe CLI regression checks the ordered pass, failure and skip groups, the quoted argument with spaces, both summary lines and the runner's exit code of 1.
The same three checks passed on Ubuntu 24.04 under WSL.
Reviewed
.github/workflows/windows.yml. Thepython-linuxjob invokes the CLI with--from-dir, andpixel-binarycallsrun_checkswith merged inline and fragment commands. Both jobs use the runner's exit status and leave log rendering to GitHub Actions group markers.Mutation
At
tools/run_checks_parallel.py:165, changedlabel += " " + format_args(map(os.fsdecode, command[1:]))tolabel += " " + " ".join(map(os.fsdecode, command[1:])). On both Windows and Ubuntu, the CLI check failed with exit 1 because the failure group lost its quotes. The direct runner and fragments checks passed. Restored the formatter and reran all three checks successfully on both hosts.Environment
cl.exefile version 14.44.35230.0, Windows SDK 10.0.26100.0 and DXC 1.9.2602.17.Prepared with AI assistance; all commands above were run locally.
@R0Y00 on GitHub · 2026-12-01 01:17 UTC · original · approved these changes
Reviewed the result labels for parameterized checks, including native quoting and the input-order pairing with worker results.
python -B tests/run_checks_parallel_check.pyandpython -B tests/run_checks_parallel_cli_check.pypassed on Windows (8 CLI cases). The same-script argument variants produced separate labels.