Scripts: derive smoke timeout status from the child process #1760
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1760
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1760"
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?
@NemesisDawn on GitHub · 2026-11-24 20:18 UTC · original
NemesisDawn:fix/smoke-timeout-status→main· +60 −4 · 2 files · 1 commits · openSet the timeout flag from the child process’s wait result on every run. This keeps a completed run from inheriting a caller’s timeout flag or failing under PowerShell strict mode.
What is in it
scripts/smoke.ps1sets the flag on both wait outcomes.scripts/smoke-exit.tests.ps1covers a normal exit under strict mode, a caller with$timedOut = $true, and termination after a timeout.Tested
389e54f,powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/smoke-exit.tests.ps1andpwsh.exe -NoProfile -File scripts/smoke-exit.tests.ps1both exited 0 on Windows with a simulated child process.Not tested
AI use
@futurepro62 on GitHub · 2026-11-24 21:14 UTC · original
Tested exact head
389e54f, script tests only, since this PR has no test report yet.Tested
powershell.exe -NoProfile -File scripts/smoke-exit.tests.ps1at the head: exit 0.266b845): exit 1: main'ssmoke.ps1stops withThe variable '$timedOut' cannot be retrieved because it has not been set.. So the new test catches the problem the PR fixes.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 23:14 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 03:43 UTC · original
PR #1760 — STOR-WINLAB verification
Tested detached head
389e54f2af5714fd3fe7f37596f2fb1c4cf56872. The diff againstorigin/mainis limited toscripts/smoke.ps1andscripts/smoke-exit.tests.ps1.Environment
Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175, wave range 8–32,
DoublePrecisionFloatShaderOps=0,d3d12SDKLayers.dllabsent). Rust 1.100.0 (0ef1bc386), DXC/DXIL 1.9.2609.5, Windows PowerShell 5.1. Cargo dev and test profiles used no debug info.Tested
Parser.ParseFilereported zero errors for both scripts. The synthetic child fixture passed all three cases. A timely exit reported0x0under strict mode. A caller’s stale$timedOut = $truestill produced0x0. A timed-out running child received a kill and reportedkilled (no exit). The same fixture reproduced the unset$timedOuterror on the parent revision.cargo build --workspacesucceeded outside the Arc lock.cargo test --workspace --no-runsucceeded underInvoke-ArcTest.ps1to honor the requirement to wrap everycargo testinvocation.cargo test --workspace --no-fail-fast -- --test-threads=4exited 101. Across 20 result blocks, Cargo reported 840 passed, 18 failed, 42 ignored. The log has 3SKIPPEDlines within Cargo’s passed count, excluded from coverage (twono wave64, oneno heap windows).0x80070057) and four GPU result mismatches (FMA, implicit LOD sampling, packed FP16, and wave64 pixel reduction). The one end-to-end failure was the test title’sRSSetDepthBiasXcheck, where the top-right pixel was blue instead of green.Not tested
Retail-title smoke, real child-process timing, other adapters, and a baseline workspace suite. Sample-dependent paths were left unexercised by clearing
XCL_SAMPLE_*inputs.AI use
T3 Code / Codex (
gpt-6.2-sol,reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity,gemini-4-neon) verified counts againstpr1760-suite.logand published this report.@RavenCurseBurg on GitHub · 2026-11-26 00:36 UTC · original · edited 2026-11-26 00:43 UTC
I applied #589 (
930749fdd66f92065de10a78197475070880a4c1, original author retained) to this head,389e54f2af5714fd3fe7f37596f2fb1c4cf56872, and tested both changes together. A small native executable returned 37 with and without a log path. I invoked the wrapper under strict mode with a caller’s$timedOut = $true. #589 alone reported the old timeout state. #1760 alone reported0x25on the logged path but omitted the exit code and stderr from the no-log exception. Together they reported0x25on both paths; the no-log exception also contained both stream markers.Integrated changes and test. Windows PowerShell 5.1 and PowerShell 7.6.9 agreed on all 12 native runs (three versions × two shells × two paths). On the combined branch I also ran
scripts/smoke-exit.tests.ps1andscripts/smoke-startup-errors.tests.ps1in both shells: four passes. The expanded simulated-wait test covers timeout reporting with and without a log. Windows 11, Core i7-13700. Real timeout termination, games and GPU execution were outside this run. OpenAI Codex (GPT-6) prepared the fixtures and ran the checks.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.