CI: serialize Windows workspace tests #1058
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1058"
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?
Imported from Marvisak/VIctory. Originally posted by divyeshganta on 2026-11-24T15:22:09Z.
Runs the Windows workspace tests with one test thread to reduce intermittent access violations caused by parallel D3D12/WARP tests on AMD systems. Addresses #181. This may increase CI duration.
Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T16:30:07Z.
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
8770e19:cargo test --workspacepasses, 342 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T20:38:32Z.
Review: APPROVED
Read only, not built: this changes CI and docs only, and I didn't run the workflow.
The change is reasonable. Running the D3D12 tests in parallel is what our fork's Windows runs have also had to avoid, and victory-shader's GPU tests hung or crashed there unless they ran single-threaded.
The cost is that the CPU-only crates are now serialized too. If CI time grows noticeably, you could keep the workspace parallel and serialize only the GPU crates, e.g.
cargo test --workspace --exclude victory-shader --exclude victory-gpufollowed by those two with--test-threads=1.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:19:25Z.
Automated triage for the maintainers.
Needs work. This needs the maintainer's decision, because it changes the CI workflow (
.github/workflows/ci.yml).--test-threads=1to every test binary hides #181, a crash when tests use WARP devices in parallel, instead of fixing it. Users who runcargo testwill still hit it, and CI would stop catching new thread-safety bugs invictory-gpuandvictory-shader. #244 works on the cause.--test-threadsonly affects threads inside one test binary. The change also removes the note that the Tests step includes the asset-policy check (repository_passes_policy), which is still true.What would change the verdict: CI failures caused by #181 on this runner, or the maintainer choosing this as a stopgap. If it goes in, please restrict it to
victory-shaderand keep the policy comment.CI: no check runs are recorded for this head.
Generated by Claude Code
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.