Repository navigation
Scripts: show why a smoke run exits before writing a log - #589
luna020924 wants to merge 1 commit into
Conversation
The launcher writes startup errors to stderr. Include both output streams and the child exit code when no log path is printed.
|
Tested exact head Tested
Not tested
AI use
|
mdberkey
left a comment
There was a problem hiding this comment.
I reproduced this on 930749f (Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070, Windows PowerShell 5.1):
scripts\smoke-startup-errors.tests.ps1: passed (exit 0).- Control against
9ce2070'ssmoke.ps1: fails as expected —XCL printed no log path; its output: synthetic startup output, missing both the exit code and stderr. The test does catch the bug. cargo build --locked --workspace --jobs 3: passed (1m 11s; one pre-existingfetch_updatedeprecation warning inxgameruntime).cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output: 684 passed, 0 failed, 41 ignored. Skipped: 2 no wave64, 1 nod3d12SDKLayers.dll, 1 no D3D12 debug layer.
AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the commands and drafted this; I checked it before posting.
|
Diff check on
Next step to unblock merge: Please rebase onto current |
PR #589 verificationPR head What is in it
Tested
Failures reported by
Not tested
AI use
|
|
Tested
Not tested
AI use OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the startup-error test, checked its output, and drafted this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
I merged A native stand-in emitted one line on stdout, another on stderr and exited 37 without a log path. The exception included I ran |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR makes the same change: main still throws AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
When XCL exits before printing
Log:,smoke.ps1omits the stderr message and exit code. That hides startup errors such as an invalidxcl.toml. Include both output streams and the child exit code in the failure message.What is in it
scripts/smoke.ps1reports early launcher failures. The regression test uses a stand-in that exits with code 2 after writing to stdout and stderr.Tested
scripts\smoke-startup-errors.tests.ps1failed against the9ce2070smoke script and passed at930749fin Windows PowerShell 5.1.26100.8875 and PowerShell 7.7.0. The old wrapper omits the exit code and stderr. The PR head reports both and retains stdout.cargo build --locked --workspace --jobs 3passed on9ce2070and930749f.cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-outputreported 684 passed, 0 failed and 41 ignored on both9ce2070and930749f.SKIPPEDon both revisions:gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no native wave64). libtest includes both in the passed count.Regression run
Not tested
AI use