test: serialize Metal GPU tests #583
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!583
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-579"
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?
@dhruv0807 on GitHub · 2026-11-28 06:58 UTC · original
dhruv0807:fix/serialize-metal-gpu-tests→main· +262 −6 · 27 files · 5 commits · openSummary
Serializes Metal-touching tests across
victory-gpuandvictory-metalto prevent concurrent GPU test execution from overwhelming the macOS Metal driver.ONE_AT_A_TIMEmutex for each test binary.victory-gpu.Validation
cargo test -p victory-gpu -p victory-metal --no-run— passed.Closes #552
@AnastasisKon on GitHub · 2026-11-28 13:35 UTC · original · approved these changes
Reviewed the diff: the ONE_AT_A_TIME guard is taken at the top of each Metal-touching test, cfg(macos)-gated, poison-recovered via into_inner(), and held for the test's duration, so a panicking test cannot wedge the rest. CPU-only tests stay parallel. CI green. Approving.
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.