CI: serialize Windows workspace tests #1058

Open
divyeshganta wants to merge 2 commits from upstream-pr/1058 into main
divyeshganta commented 2026-11-24 15:22:09 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6585187064 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1058). Originally posted by [divyeshganta](https://github.com/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.
Zipettte commented 2026-11-24 17:04:31 +00:00 (Migrated from github.com)

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 --workspace passes, 342 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7137764011 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1058#issuecomment-7137764011). Originally posted by [Zipettte](https://github.com/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 --workspace` passes, 342 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
mercuryVM commented 2026-11-24 21:01:53 +00:00 (Migrated from github.com)

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-gpu followed by those two with --test-threads=1.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:review:6047020729 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1058#pullrequestreview-6047020729). Originally posted by [mercuryVM](https://github.com/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-gpu` followed by those two with `--test-threads=1`. AI-assisted (Claude Code).
Marvisak commented 2026-11-25 02:05:52 +00:00 (Migrated from github.com)

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).

  • The crash stays. Passing --test-threads=1 to every test binary hides #181, a crash when tests use WARP devices in parallel, instead of fixing it. Users who run cargo test will still hit it, and CI would stop catching new thread-safety bugs in victory-gpu and victory-shader. #244 works on the cause.
  • CI runner. #181 was measured on AMD hardware. The CI runner has no AMD GPU and runs on WARP, and the description shows no CI failure that this fixes.
  • Comment. The new comment says "parallel test processes", but --test-threads only 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.
  • README. The README change tells every user to run single-threaded.

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-shader and keep the policy comment.

CI: no check runs are recorded for this head.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149429808 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1058#issuecomment-7149429808). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:19:25Z. --- <!-- victory-triage v1 head=8770e1905c55443c752ea198de6d3bd8f4d0416d verdict=needs-work at=2026-11-25T01:19:23Z --> Automated triage for the maintainers. **Needs work.** This needs the maintainer's decision, because it changes the CI workflow (`.github/workflows/ci.yml`). - **The crash stays.** Passing `--test-threads=1` to every test binary hides #181, a crash when tests use WARP devices in parallel, instead of fixing it. Users who run `cargo test` will still hit it, and CI would stop catching new thread-safety bugs in `victory-gpu` and `victory-shader`. #244 works on the cause. - **CI runner.** #181 was measured on AMD hardware. The CI runner has no AMD GPU and runs on WARP, and the description shows no CI failure that this fixes. - **Comment.** The new comment says "parallel test processes", but `--test-threads` only 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. - **README.** The README change tells every user to run single-threaded. 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-shader` and keep the policy comment. CI: no check runs are recorded for this head. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1058:upstream-pr/1058'
git switch 'upstream-pr/1058'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/1058'
git switch 'upstream-pr/1058'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1058'
git switch 'upstream-pr/1058'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1058'
git switch 'main'
git merge --squash 'upstream-pr/1058'
git switch 'main'
git merge --ff-only 'upstream-pr/1058'
git switch 'main'
git merge 'upstream-pr/1058'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!1058
No description provided.