test: bound sparse tile CTest runs (TEST-TILE-CTEST-TIMEOUT) #1156

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

@⁠j-weiner on GitHub · 2026-11-24 19:19 UTC · original
j-weiner:fix/ctest-tile-timeouts → main · +13 −3 · 2 files · 1 commits · open

Claimed in the coordination issue as: TEST-TILE-CTEST-TIMEOUT (original claim on #14)

What and why

Set a 300-second CTest timeout on d3d12_buffer_tiles and d3d12_texture_tiles, preserving their SKIP_RETURN_CODE 77 and Vulkan validation failure checks. If sparse residency is refused after the test has queued work, teardown can otherwise wait indefinitely and block the rest of the runtime suite. This bounds the test hang; it does not change sparse-residency behavior or the runtime implementation.

Tested

  • python3 -I tests/test_ctest_registration.py — 6 passed.
  • python3 -I tests/test_text_write_line_endings.py — 3 passed.
  • python3 -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py — clean.
  • git diff --check — passed.
  • Configured runtime/ with CMake 3.31.6, MSVC 19.44, Windows SDK 10.0.26100, and Vulkan SDK 1.4.363.1; ctest --show-only=json-v1 -R "d3d12_buffer_tiles|d3d12_texture_tiles" confirms both tests retain SKIP_RETURN_CODE=77 and the validation failure regex, and each has TIMEOUT=300. The test binaries were not built or run.

GPUs tested: n/a (CTest registration change; no GPU test was run).

AI-assisted: yes.

Checklist

  • Rebased on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption.
  • No translator rule change (not applicable).
**@⁠j-weiner** on GitHub · 2026-11-24 19:19 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156) `j-weiner:fix/ctest-tile-timeouts` → `main` · +13 −3 · 2 files · 1 commits · open Claimed in the coordination issue as: TEST-TILE-CTEST-TIMEOUT (original claim on #14) ### What and why Set a 300-second CTest timeout on `d3d12_buffer_tiles` and `d3d12_texture_tiles`, preserving their `SKIP_RETURN_CODE 77` and Vulkan validation failure checks. If sparse residency is refused after the test has queued work, teardown can otherwise wait indefinitely and block the rest of the runtime suite. This bounds the test hang; it does not change sparse-residency behavior or the runtime implementation. ### Tested - `python3 -I tests/test_ctest_registration.py` — 6 passed. - `python3 -I tests/test_text_write_line_endings.py` — 3 passed. - `python3 -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py` — clean. - `git diff --check` — passed. - Configured `runtime/` with CMake 3.31.6, MSVC 19.44, Windows SDK 10.0.26100, and Vulkan SDK 1.4.363.1; `ctest --show-only=json-v1 -R "d3d12_buffer_tiles|d3d12_texture_tiles"` confirms both tests retain `SKIP_RETURN_CODE=77` and the validation failure regex, and each has `TIMEOUT=300`. The test binaries were not built or run. GPUs tested: n/a (CTest registration change; no GPU test was run). AI-assisted: yes. ### Checklist - [x] Rebased on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption. - [x] No translator rule change (not applicable).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:40:43 +00:00
Author
Owner

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

Reviewed and verified. Prevents indefinite CTest hangs during teardown of refused sparse tile updates by setting \TIMEOUT 300\ on \d3d12_buffer_tiles\ and \d3d12_texture_tiles\ in
untime/CMakeLists.txt. Verified with \ ests/test_ctest_registration.py\ (4/4 PASS). 100% clean-room.

**@⁠abnalstlll-byte** on GitHub · 2026-11-24 19:22 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156#pullrequestreview-6045831443) · **approved these changes** Reviewed and verified. Prevents indefinite CTest hangs during teardown of refused sparse tile updates by setting \TIMEOUT 300\ on \d3d12_buffer_tiles\ and \d3d12_texture_tiles\ in \ untime/CMakeLists.txt\. Verified with \ ests/test_ctest_registration.py\ (4/4 PASS). 100% clean-room.
Author
Owner

@⁠Deedlyy on GitHub · 2026-11-24 20:12 UTC · original

Recommendation: [MERGE]

Reasoning: Sets a 300 s CTest timeout on d3d12_buffer_tiles and d3d12_texture_tiles so a sparse-residency teardown hang can't block the suite; skip and validation behaviour is preserved. Small CMake change with a registration test. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with main. Merge once the queued checks are green.

Impact level: 2/10

**@⁠Deedlyy** on GitHub · 2026-11-24 20:12 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156#issuecomment-7143188939) **Recommendation:** [MERGE] **Reasoning:** Sets a 300 s CTest timeout on `d3d12_buffer_tiles` and `d3d12_texture_tiles` so a sparse-residency teardown hang can't block the suite; skip and validation behaviour is preserved. Small CMake change with a registration test. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with `main`. Merge once the queued checks are green. **Impact level:** 2/10
Author
Owner

@⁠j-weiner on GitHub · 2026-11-25 17:27 UTC · original

Rebased the branch onto current main (fe1553456). The existing SKIP_RETURN_CODE 77 and validation failure checks remain, with TIMEOUT 300 applied to both sparse-tile tests.

Rechecked: tests/test_ctest_registration.py (6 passed), tests/test_text_write_line_endings.py (3 passed), scripts/check_no_game_data.py on the changed files (clean), and git diff --check (pass). I also configured the current CMake tree and verified with ctest --show-only=json-v1 that both d3d12_buffer_tiles and d3d12_texture_tiles register SKIP_RETURN_CODE=77, TIMEOUT=300, and the existing validation failure regex. No game files or GPU test were used.

**@⁠j-weiner** on GitHub · 2026-11-25 17:27 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156#issuecomment-7169528941) Rebased the branch onto current `main` (`fe1553456`). The existing `SKIP_RETURN_CODE 77` and validation failure checks remain, with `TIMEOUT 300` applied to both sparse-tile tests. Rechecked: `tests/test_ctest_registration.py` (6 passed), `tests/test_text_write_line_endings.py` (3 passed), `scripts/check_no_game_data.py` on the changed files (clean), and `git diff --check` (pass). I also configured the current CMake tree and verified with `ctest --show-only=json-v1` that both `d3d12_buffer_tiles` and `d3d12_texture_tiles` register `SKIP_RETURN_CODE=77`, `TIMEOUT=300`, and the existing validation failure regex. No game files or GPU test were used.
Author
Owner

@⁠j-weiner on GitHub · 2026-11-25 17:32 UTC · original

Updated again to current main (b0e11f234) after new merges. tests/test_ctest_registration.py (6 passed), tests/test_text_write_line_endings.py (3 passed), check_no_game_data.py (clean), and git diff --check all pass. CMake configuration and ctest --show-only=json-v1 confirm both tile tests still register SKIP_RETURN_CODE=77, TIMEOUT=300, and the existing validation failure regex. No game files or GPU test were used. CI is queued on GitHub.

**@⁠j-weiner** on GitHub · 2026-11-25 17:32 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156#issuecomment-7169650267) Updated again to current `main` (`b0e11f234`) after new merges. `tests/test_ctest_registration.py` (6 passed), `tests/test_text_write_line_endings.py` (3 passed), `check_no_game_data.py` (clean), and `git diff --check` all pass. CMake configuration and `ctest --show-only=json-v1` confirm both tile tests still register `SKIP_RETURN_CODE=77`, `TIMEOUT=300`, and the existing validation failure regex. No game files or GPU test were used. CI is queued on GitHub.
Author
Owner

@⁠j-weiner on GitHub · 2026-11-25 17:45 UTC · original

Final base check: rebased onto current main (b9320a118). The CTest registration suite and CMake/CTest listing were rechecked after the rebase; both tile tests retain SKIP_RETURN_CODE=77 and TIMEOUT=300. GitHub CI is queued, not failing.

**@⁠j-weiner** on GitHub · 2026-11-25 17:45 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1156#issuecomment-7169950728) Final base check: rebased onto current `main` (`b9320a118`). The CTest registration suite and CMake/CTest listing were rechecked after the rebase; both tile tests retain `SKIP_RETURN_CODE=77` and `TIMEOUT=300`. GitHub CI is queued, not failing.
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/1156/head:github-bot/gh-1156'
git switch 'github-bot/gh-1156'

Merge

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