Scripts: run remaining workspace test targets after a failure #1029
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!1029
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1029"
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?
@jmal423 on GitHub · 2026-11-24 10:33 UTC · original
jmal423:tests/continue-workspace-targets→main· +1 −1 · 1 files · 1 commits · openWhile testing #872, the intermittent #718 library failure stopped the workspace run before the integration targets. This left no result for those targets even though the test binaries were independent.
What is in it
--no-fail-fastinscripts/test.ps1so subsequent test binaries still run after a test failure. Cargo's exit code still reaches the caller.Tested
Native Windows 11 Pro build 26200, Ryzen 7 7800X3D, RX 9070 XT driver 32.0.32029.2010, Rust 1.99.1 MSVC, debug.
Verified the existing native-stderr regression test under both Windows PowerShell 5.1 and PowerShell 7. Ran the old and new scripts under both shells against the same temporary Cargo package with two integration targets. The first intentionally fails. Before: exit 101, second target never ran. After: exit 101, second target ran and passed.
scripts/test.ps1 --nocaptureon XCL withXCL_ADAPTER=9070andXCL_REQUIRE_GPU=wave64,mesh: 727 passed, 0 failed, 41 ignored. Initial run: two debug-layer tests printed SKIPPED. Reran on the same clean headcc39af1after installing Windows Graphics Tools: 727 passed, 0 failed, 41 ignored; zero explicit GPU SKIPPED lines. Both previously skipped debug-layer tests executed. Retail sample variables remained unset.Combined this head with #296 at
29e66d4using git merge-tree (clean). Its PowerShell fixture passed all four scenarios under both Windows PowerShell 5.1 and PowerShell 7: successful run, build failure, test failure and missing Cargo. That fixture checks call order and exit codes; the real two-target Cargo case above checks continuation.Regression run
Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 11:26 UTC · original
Independent check.
cargo test --workspace --no-fail-fast -- --test-threads=4:--no-fail-fastis a cargo flag and is correctly placed before--(after--it would go to libtest, which does not accept it). Behaviour confirmed locally: on main, a single failing target no longer aborts the remaining workspace test binaries. One-line change, no test needed.AI use: review by Devin (Cognition, SWE-2); no code changes.
@AlexandreSchuelter on GitHub · 2026-11-24 11:40 UTC · original
A real case for this change: on RDNA2, where
mainhas a knownxcl --libfailure (the packed-mip test fixed by #470 / #1028),scripts/test.ps1onmainstops after the lib target and never runs the integration tests.Tested
stable-x86_64-pc-windows-msvc, debug;XCL_NETWORK=0,XCL_REQUIRE_GPU=wave64scripts/test.ps1, sums of everytest result:line:main47efa2excl --libonly)cc39af1) merged onto47efa2eerror: 1 target failed: -p xcl --lib.Not tested
XCL_SAMPLE_*unset)AI use: Claude Code (Claude Opus 5.5) ran the script on both trees and wrote this report; the runs are real, on the hardware above.
@JJAutoCompare on GitHub · 2026-11-25 05:31 UTC · original
Empirical test report (
cc39af1f)Hardware / environment
Windows x64 build 26200 (OS version 10.0.26200.0), AMD Family 23 Model 113 Stepping 0, Windows PowerShell 5.1.26100.9818, rustc 1.100.0 (0ef1bc386 2026-11-09), and DXC 1.9.2609.5. The run used a temporary, PATH-first
cargo.cmdfixture and ran outsideInvoke-ArcTest.ps1.Commands and results
cc39af1f368a895f4206bdcebbcb606cd0cd61b7.powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\test.ps1under three stub configurations: success, success with a skip on stderr, and build failure. Ran the same command with--skip synthetic_name --nocapturefor the first-target failure case.cargo test --workspace -- --test-threads=4as the control.Observed behavior
cargo build --workspacebeforecargo test --workspace --no-fail-fast -- --test-threads=4. It forwarded the extra arguments after Cargo's--separator.Not tested
Real Cargo workspace builds, the GPU workspace suite, and game smoke runs were omitted. All target and skip messages came from the fixture.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1029-focused.logand published.@RavenCurseBurg on GitHub · 2026-11-25 23:06 UTC · original · edited 2026-11-25 23:14 UTC
Native Cargo-argument regression on
cc39af1f368a895f4206bdcebbcb606cd0cd61b7. I ranscripts/test-no-fail-fast.tests.ps1andscripts/test-native-stderr.tests.ps1with-NoProfile -NonInteractive -ExecutionPolicy Bypass -Filein Windows PowerShell 5.1 and PowerShell 7.6.9. All four runs passed.The stand-in saw
--no-fail-fastexactly once before the Cargo/libtest separator and received a spaced skip filter as one argument after it. When the test command printed a skip notice and exited 101, the runner printed the skip summary and propagated 101. Removing the flag, moving it after the separator, and dropping the child’s failure status each failed the expected assertion in both shells (6/6).I also paired this runner with the four-case fixture from #296 at
29e66d46e5a2869901d9b65f3f26427b07673111. Both shells passed its success, build failure, test failure and missing-Cargo cases alongside the new argument check. Windows 11 26100.9711, i7-13700. This checks the wrapper with a native command stub. No real Cargo workspace or GPU run. OpenAI Codex (GPT-6) prepared and ran the fixture.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.