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

Merged
whoalin1 merged 1 commit from upstream-pr/761 into main 2026-12-01 10:48:33 +00:00
whoalin1 commented 2026-11-24 13:34:17 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T13:34:17Z.


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

Claim: https://github.com/ProjectLeonida/mandy/issues/14#issuecomment-7133003627

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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5473154140 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-24T13:34:17Z. --- Restores my open PR from the original repository (OLD-2970 / TEST-586), rebased onto current `main` (`2d73c242f`). Claim: https://github.com/ProjectLeonida/mandy/issues/14#issuecomment-7133003627 ### 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).
abnalstlll-byte commented 2026-11-24 13:35:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T13:35:18Z.

Review: APPROVED


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.
<!-- greyfinch-sync:ubiquitarianism/leonida:review:6040134509 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#pullrequestreview-6040134509). Originally posted by [abnalstlll-byte](https://github.com/abnalstlll-byte) on 2026-11-24T13:35:18Z. **Review:** APPROVED --- 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.
whoalin1 commented 2026-11-25 20:03:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T20:03:12Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7173121718 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/761#issuecomment-7173121718). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T20:03:12Z. --- 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.
zmasi commented 2026-11-28 22:01:50 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:01:50Z.


#761 | head 3d69416c4a (merged cleanly with main a8465211fb) | cmake -S runtime -B <build> -G "Visual Studio 17 2022" -A x64 + ctest --show-only=json-v1 -R "^d3d12_queue_wait" + cmake --build --config Release --target d3d12_queue_wait_test + ctest -C Release -R "^d3d12_queue_wait" + python -I tests/test_ctest_registration.py | red on main: d3d12_queue_wait_timeout registered TIMEOUT 10.0 (vs 60.0 on d3d12_queue_wait and d3d12_queue_wait_one_queue), so device bring-up under parallel CTest load exceeding 10 s caused ***Timeout (which WILL_FAIL TRUE does not invert) | green on PR+main: TIMEOUT 60.0 confirmed across all 3 d3d12_queue_wait* CTests in ctest --show-only=json-v1, d3d12_queue_wait_test.exe builds cleanly, and ctest -C Release -R "^d3d12_queue_wait" passes 3/3 (d3d12_queue_wait 2.00s, d3d12_queue_wait_timeout 1.27s, d3d12_queue_wait_one_queue 0.80s), plus test_ctest_registration.py 7 ran, OK | Windows 11 (10.0.26200.9974), MSVC 19.44.35228.0, NVIDIA GeForce RTX 3090, CMake, Python 3.12.10 | AI-assisted: yes

Audited runtime/CMakeLists.txt on Windows 11: matching d3d12_queue_wait_timeout's TIMEOUT 60 budget to d3d12_queue_wait prevents false ***Timeout kills during Vulkan/D3D12 device initialization while keeping the --timeout-control WILL_FAIL TRUE negative control intact (1.27s on RTX 3090).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246445710 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#issuecomment-7246445710). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T22:01:50Z. --- #761 | head 3d69416c4a862a02113a63a9d2f5d8533a8b7641 (merged cleanly with main a8465211fb) | `cmake -S runtime -B <build> -G "Visual Studio 17 2022" -A x64` + `ctest --show-only=json-v1 -R "^d3d12_queue_wait"` + `cmake --build --config Release --target d3d12_queue_wait_test` + `ctest -C Release -R "^d3d12_queue_wait"` + `python -I tests/test_ctest_registration.py` | red on main: `d3d12_queue_wait_timeout` registered `TIMEOUT 10.0` (vs `60.0` on `d3d12_queue_wait` and `d3d12_queue_wait_one_queue`), so device bring-up under parallel CTest load exceeding 10 s caused `***Timeout` (which `WILL_FAIL TRUE` does not invert) | green on PR+main: `TIMEOUT 60.0` confirmed across all 3 `d3d12_queue_wait*` CTests in `ctest --show-only=json-v1`, `d3d12_queue_wait_test.exe` builds cleanly, and `ctest -C Release -R "^d3d12_queue_wait"` passes `3/3` (`d3d12_queue_wait` `2.00s`, `d3d12_queue_wait_timeout` `1.27s`, `d3d12_queue_wait_one_queue` `0.80s`), plus `test_ctest_registration.py` `7 ran, OK` | Windows 11 (`10.0.26200.9974`), MSVC 19.44.35228.0, NVIDIA GeForce RTX 3090, CMake, Python 3.12.10 | AI-assisted: yes Audited `runtime/CMakeLists.txt` on Windows 11: matching `d3d12_queue_wait_timeout`'s `TIMEOUT 60` budget to `d3d12_queue_wait` prevents false `***Timeout` kills during Vulkan/D3D12 device initialization while keeping the `--timeout-control` `WILL_FAIL TRUE` negative control intact (`1.27s` on RTX 3090).
TheGeogeo commented 2026-11-29 02:17:16 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T02:17:16Z.


Tested 3d69416c4 merged (no commit) with main 53b77df14. GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40, Windows 11 10.0.26300; MSVC 19.52 (Visual Studio 18), Ninja, RelWithDebInfo; Python 3.12.4. check_no_game_data.py is clean.

  • No test. On its own, d3d12_queue_wait_timeout passes in 0.81 s here, and d3d12_queue_wait in 0.89 s. The 10 s cut only happens under parallel ctest load, which I did not reproduce.
  • The change gives the control the same TIMEOUT 60 that d3d12_queue_wait already has on main.
  • LINK: gta6rt.exe links without ws2_32.lib with nothing new over main.

No blocker from my side.
AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249330953 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#issuecomment-7249330953). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T02:17:16Z. --- Tested `3d69416c4` merged (no commit) with `main` `53b77df14`. GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40, Windows 11 10.0.26300; MSVC 19.52 (Visual Studio 18), Ninja, RelWithDebInfo; Python 3.12.4. `check_no_game_data.py` is clean. - No test. On its own, `d3d12_queue_wait_timeout` passes in 0.81 s here, and `d3d12_queue_wait` in 0.89 s. The 10 s cut only happens under parallel ctest load, which I did not reproduce. - The change gives the control the same `TIMEOUT 60` that `d3d12_queue_wait` already has on `main`. - LINK: `gta6rt.exe` links without `ws2_32.lib` with nothing new over `main`. No blocker from my side. AI-assisted (Claude Code).
whoalin1 commented 2026-11-30 22:28:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:28:19Z.


Rebased onto current main as 575ae2c19 to refresh the stale CI baseline; the single-commit branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes and git diff --check is clean. The Linux VM lacks Vulkan/D3D12 headers, so the actual Windows GPU timeout test remains covered by the prior validator reports rather than locally rerun.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7293890809 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#issuecomment-7293890809). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-30T22:28:19Z. --- Rebased onto current `main` as `575ae2c19` to refresh the stale CI baseline; the single-commit branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes and `git diff --check` is clean. The Linux VM lacks Vulkan/D3D12 headers, so the actual Windows GPU timeout test remains covered by the prior validator reports rather than locally rerun.
whoalin1 commented 2026-11-30 22:45:34 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:45:34Z.


Current head 575ae2c19 is mergeable with all visible checks green after the rebase. The existing approval covers the same narrow queue-wait timeout change; is anything else needed before merge?

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7294266813 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#issuecomment-7294266813). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-30T22:45:34Z. --- Current head `575ae2c19` is mergeable with all visible checks green after the rebase. The existing approval covers the same narrow queue-wait timeout change; is anything else needed before merge?
aslan2142 commented 2026-12-01 10:47:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:47:54Z.

Review: APPROVED


Reviewed runtime/CMakeLists.txt: giving d3d12_queue_wait_timeout the same TIMEOUT 60 budget as d3d12_queue_wait right above it prevents spurious CTest ***Timeout failures during Vulkan device bring-up under parallel CTest load (which WILL_FAIL does not invert). Clean-room verified, mergeable, and all CI checks are green. Merging.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6129733637 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/761#pullrequestreview-6129733637). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T10:47:54Z. **Review:** APPROVED --- Reviewed `runtime/CMakeLists.txt`: giving `d3d12_queue_wait_timeout` the same `TIMEOUT 60` budget as `d3d12_queue_wait` right above it prevents spurious CTest `***Timeout` failures during Vulkan device bring-up under parallel CTest load (which `WILL_FAIL` does not invert). Clean-room verified, mergeable, and all CI checks are green. Merging. *(AI-assisted review.)*
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
ProjectLeonida/mandy!761
No description provided.