tests: d3d12_bindless_churn and its --validated run each get their own temp folder (TEST-CHURN-TEMP-DIR) #531
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!531
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/531/head"
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?
@nickfmbg on GitHub · 2026-11-24 07:03 UTC · original
nickfmbg:fix/bindless-churn-temp-dir→main· +5 −1 · 1 files · 1 commits · merged 2026-11-24 07:39 UTCClaimed in the coordination issue as: TEST-CHURN-TEMP-DIR (#14)
What and why
d3d12_bindless_churnandd3d12_bindless_churn_validatedare the same executable (d3d12_bindless_churn_test, with and without--validated), and both used one fixed%TEMP%\leonida_bindless_churn_testfolder for the translated shader and itsindex.json. Underctest -jthey run at the same time; the first to finish callsremove_allon the folder, and the other then fails:The folder now carries the process id, as
d3d12_execute_indirect_validation_testandd3d12_conservative_tier3_testalready do. I checked the other executables registered as more than one ctest entry; none of them shares a fixed temp folder.Tested
main8f481cf:ctest -R "^d3d12_bindless_churn" -j 4 --repeat until-fail:3failedd3d12_bindless_churn_validatedin the first round; each test passes when run alone.--repeat until-fail:5passes 5 rounds, both tests, and leaves noleonida_bindless_churn_test*folder in%TEMP%.scripts\build_runtime.ps1, RelWithDebInfo).GPUs tested: NVIDIA GeForce RTX 3050 6GB Laptop GPU, NVIDIA 621.24, Vulkan 1.4.357, Windows 11 Home 26300.9974
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code
Both ctest entries run d3d12_bindless_churn_test with one fixed %TEMP%\leonida_bindless_churn_test folder. Under ctest -j the first to finish removes the folder and the other fails creating its pipeline ("cannot open ...\index.json"). The folder now carries the process id, as d3d12_execute_indirect_validation_test does. Co-Authored-By: Claude Opus 5.5 <[email protected]>@QemmHD on GitHub · 2026-11-24 07:39 UTC · original
Merging. Why merged: d3d12_bindless_churn and its --validated run now use separate temp folders per process, fixing a race between parallel runs.
Why it's good: security-reviewed; reproduced on main
d42773d(the pair failed 4 of 6 runs at -j2); with this PR 8 of 8 runs passed and no stale folders were left.AI-assisted (Claude Code, Claude Opus 5.5).