OLD-2970: d3d12_queue_wait_timeout: the same 60 s budget as d3d12_queue_wait (TEST-586) #761

Open
github-bot wants to merge 1 commit from github-bot/gh-761 into main AGit
Owner

@⁠whoalin1 on GitHub · 2026-11-24 13:34 UTC · original
whoalin1:test-586-queue-wait-timeout → main · +3 −1 · 1 files · 1 commits · open

Restores my open PR from the original repository (OLD-2970 / TEST-586), rebased onto current main (2d73c242f).

Claim: #14

Summary

  • d3d12_queue_wait_timeout runs create_vulkan_device_standalone before waiting its 20 ms, so its CTest TIMEOUT covers the full Vulkan device bring-up, just like d3d12_queue_wait immediately above it (now TIMEOUT 60).
  • Under parallel ctest, device bring-up can exceed 10 s; CTest kills the process with ***Timeout, and WILL_FAIL inverts non-zero exit codes but not CTest timeouts.
  • Gives d3d12_queue_wait_timeout the same TIMEOUT 60 budget as d3d12_queue_wait.

Verification

  • Verified clean diff on runtime/CMakeLists.txt against 2d73c242f (d3d12_queue_wait is TIMEOUT 60, d3d12_queue_wait_timeout updated from TIMEOUT 10 to TIMEOUT 60).

AI-assisted (Gemini 4 Neon).

**@⁠whoalin1** on GitHub · 2026-11-24 13:34 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/761) `whoalin1:test-586-queue-wait-timeout` → `main` · +3 −1 · 1 files · 1 commits · open Restores my open PR from the original repository (OLD-2970 / TEST-586), rebased onto current `main` (`2d73c242f`). Claim: https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14 ### Summary - `d3d12_queue_wait_timeout` runs `create_vulkan_device_standalone` before waiting its 20 ms, so its CTest `TIMEOUT` covers the full Vulkan device bring-up, just like `d3d12_queue_wait` immediately above it (now `TIMEOUT 60`). - Under parallel `ctest`, device bring-up can exceed 10 s; CTest kills the process with `***Timeout`, and `WILL_FAIL` inverts non-zero exit codes but not CTest timeouts. - Gives `d3d12_queue_wait_timeout` the same `TIMEOUT 60` budget as `d3d12_queue_wait`. ### Verification - Verified clean diff on `runtime/CMakeLists.txt` against `2d73c242f` (`d3d12_queue_wait` is `TIMEOUT 60`, `d3d12_queue_wait_timeout` updated from `TIMEOUT 10` to `TIMEOUT 60`). AI-assisted (Gemini 4 Neon).
The control runs create_vulkan_device_standalone before it waits its 20 ms, so its TIMEOUT covers the whole device bring-up, exactly like the positive test above it (TIMEOUT 60). Under a parallel ctest that bring-up can pass 10 s, and CTest then kills the process: WILL_FAIL inverts an exit code but not a ***Timeout, so the negative control failed for a reason it does not control.

OLD-2970 / TEST-586

Co-Authored-By: Gemini 4 Neon <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:20:07 +00:00
Author
Owner

@⁠abnalstlll-byte on GitHub · 2026-11-24 13:35 UTC · original · approved these changes

Audited and verified. Clean-room compliant.

  • Increases d3d12_queue_wait_timeout test timeout budget from 10s to 60s in runtime/CMakeLists.txt.
  • Prevents multi-threaded ctest timeout kills during Vulkan device initialization.
**@⁠abnalstlll-byte** on GitHub · 2026-11-24 13:35 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/761#pullrequestreview-6040134509) · **approved these changes** Audited and verified. Clean-room compliant. - Increases d3d12_queue_wait_timeout test timeout budget from 10s to 60s in runtime/CMakeLists.txt. - Prevents multi-threaded ctest timeout kills during Vulkan device initialization.
Author
Owner

@⁠whoalin1 on GitHub · 2026-11-25 20:03 UTC · original

Rebased cleanly onto current main (db1a22d29) to refresh the stale CI baseline; no conflicts. The branch remains the single TEST-586 queue-wait timeout change. AI-assisted with Devin.

**@⁠whoalin1** on GitHub · 2026-11-25 20:03 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/761#issuecomment-7173121718) Rebased cleanly onto current main (`db1a22d29`) to refresh the stale CI baseline; no conflicts. The branch remains the single TEST-586 queue-wait timeout change. AI-assisted with Devin.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/761/head:github-bot/gh-761'
git switch 'github-bot/gh-761'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-761'
git switch 'github-bot/gh-761'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-761'
git switch 'github-bot/gh-761'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-761'
git switch 'main'
git merge --squash 'github-bot/gh-761'
git switch 'main'
git merge --ff-only 'github-bot/gh-761'
git switch 'main'
git merge 'github-bot/gh-761'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.