[PR #531] [MERGED] tests: d3d12_bindless_churn and its --validated run each get their own temp folder (TEST-CHURN-TEMP-DIR) #578

Closed
opened 2026-11-26 20:18:21 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/531
Author: @nickfmbg
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: fix/bindless-churn-temp-dir


📝 Commits (1)

  • ace35e6 tests: d3d12_bindless_churn and its --validated run each get their own temp folder (TEST-CHURN-TEMP-DIR)

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 runtime/test/d3d12_bindless_churn_test.cpp (+5 -1)

📄 Description

Claimed in the coordination issue as: TEST-CHURN-TEMP-DIR (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124547328)

What and why

d3d12_bindless_churn and d3d12_bindless_churn_validated are the same executable (d3d12_bindless_churn_test, with and without --validated), and both used one fixed %TEMP%\leonida_bindless_churn_test folder for the translated shader and its index.json. Under ctest -j they run at the same time; the first to finish calls remove_all on the folder, and the other then fails:

[rt] d3d12: cannot open %TEMP%\leonida_bindless_churn_test\index.json
line 142: SUCCEEDED(device->CreateComputePipelineState(&pso_desc, IID_PPV_ARGS(&pso.p)))

The folder now carries the process id, as d3d12_execute_indirect_validation_test and d3d12_conservative_tier3_test already do. I checked the other executables registered as more than one ctest entry; none of them shares a fixed temp folder.

Tested

  • Before, on main 8f481cf: ctest -R "^d3d12_bindless_churn" -j 4 --repeat until-fail:3 failed d3d12_bindless_churn_validated in the first round; each test passes when run alone.
  • After: the same command with --repeat until-fail:5 passes 5 rounds, both tests, and leaves no leonida_bindless_churn_test* folder in %TEMP%.
  • Built with MSVC 14.44.35207 (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

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a: no translator change)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/531 **Author:** [@nickfmbg](https://github.com/nickfmbg) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `fix/bindless-churn-temp-dir` --- ### 📝 Commits (1) - [`ace35e6`](https://github.com/ubiquitarianism/leonida/commit/ace35e632b5e00bd450424ddd08c36761e358391) tests: d3d12_bindless_churn and its --validated run each get their own temp folder (TEST-CHURN-TEMP-DIR) ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/d3d12_bindless_churn_test.cpp` (+5 -1) </details> ### 📄 Description Claimed in the coordination issue as: TEST-CHURN-TEMP-DIR (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124547328) ### What and why `d3d12_bindless_churn` and `d3d12_bindless_churn_validated` are the same executable (`d3d12_bindless_churn_test`, with and without `--validated`), and both used one fixed `%TEMP%\leonida_bindless_churn_test` folder for the translated shader and its `index.json`. Under `ctest -j` they run at the same time; the first to finish calls `remove_all` on the folder, and the other then fails: ``` [rt] d3d12: cannot open %TEMP%\leonida_bindless_churn_test\index.json line 142: SUCCEEDED(device->CreateComputePipelineState(&pso_desc, IID_PPV_ARGS(&pso.p))) ``` The folder now carries the process id, as `d3d12_execute_indirect_validation_test` and `d3d12_conservative_tier3_test` already do. I checked the other executables registered as more than one ctest entry; none of them shares a fixed temp folder. ### Tested - Before, on `main` `8f481cf`: `ctest -R "^d3d12_bindless_churn" -j 4 --repeat until-fail:3` failed `d3d12_bindless_churn_validated` in the first round; each test passes when run alone. - After: the same command with `--repeat until-fail:5` passes 5 rounds, both tests, and leaves no `leonida_bindless_churn_test*` folder in `%TEMP%`. - Built with MSVC 14.44.35207 (`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 - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: no translator change) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:21 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#578
No description provided.