[PR #1418] runtime: set SKIP_RETURN_CODE 77 on vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE) #1449

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1418
Author: @JesusACD
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: fix/xdxr-postbuild-skip-code


📝 Commits (1)

  • c13614e runtime: register SKIP_RETURN_CODE 77 for vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE)

📊 Changes

2 files changed (+23 additions, -0 deletions)

View changed files

📝 runtime/CMakeLists.txt (+1 -0)
📝 tests/test_ctest_registration.py (+22 -0)

📄 Description

Claimed in the coordination issue as: CI-XDXR-POSTBUILD-SKIP-CODE (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147726562)

What and why

runtime/test/vk_xdxr_postbuild_readback_test.cpp (:81-84, added in #615) skips with exit code 77 when no Vulkan device supporting bufferDeviceAddress is available:

307/308 Test #307: vk_xdxr_postbuild_readback ..............................***Failed    0.02 sec
vk_xdxr_postbuild_readback: skipped (no Vulkan device with bufferDeviceAddress)

Because runtime/CMakeLists.txt (:3516) registered vk_xdxr_postbuild_readback without SKIP_RETURN_CODE 77, CTest treated exit code 77 as a failure on GPU-less windows-latest runners, failing the windows job of the Runtime workflow (99% tests passed, 1 tests failed out of 306).

This sets SKIP_RETURN_CODE 77 on vk_xdxr_postbuild_readback in runtime/CMakeLists.txt and pins it in tests/test_ctest_registration.py.

Tested

  • Reproduced the windows-latest CTest failure on main (e8fee01cd, workflow run), where vk_xdxr_postbuild_readback was the sole failure out of 306 executed tests.
  • Ran vk_xdxr_postbuild_readback_test.exe locally on physical Vulkan hardware (NVIDIA GeForce RTX 4060 Ti, PCI 10de:2803, driver 621.14, Vulkan 1.4.357, Windows 11 x64): vk_xdxr_postbuild_readback: PASS (compute_to_host_barriers=1, reported_size=320, expected=320) (exit 0).
  • python -I tests/test_ctest_registration.py -v: 6 passed.
  • python -I tests/test_ci_registration.py and python -I tests/test_text_write_line_endings.py: 19 passed.
  • python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py: clean.

GPUs tested: NVIDIA GeForce RTX 4060 Ti (PCI 10de:2803), NVIDIA 621.14, Vulkan 1.4.357, Windows 11 x64

AI-assisted: yes

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)

🔄 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/1418 **Author:** [@JesusACD](https://github.com/JesusACD) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/xdxr-postbuild-skip-code` --- ### 📝 Commits (1) - [`c13614e`](https://github.com/ubiquitarianism/leonida/commit/c13614e0823be70cf4c18aac3aa65719c306835a) runtime: register SKIP_RETURN_CODE 77 for vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE) ### 📊 Changes **2 files changed** (+23 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+1 -0) 📝 `tests/test_ctest_registration.py` (+22 -0) </details> ### 📄 Description Claimed in the coordination issue as: CI-XDXR-POSTBUILD-SKIP-CODE (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147726562) ### What and why `runtime/test/vk_xdxr_postbuild_readback_test.cpp` (`:81-84`, added in #615) skips with exit code `77` when no Vulkan device supporting `bufferDeviceAddress` is available: ```text 307/308 Test #307: vk_xdxr_postbuild_readback ..............................***Failed 0.02 sec vk_xdxr_postbuild_readback: skipped (no Vulkan device with bufferDeviceAddress) ``` Because `runtime/CMakeLists.txt` (`:3516`) registered `vk_xdxr_postbuild_readback` without `SKIP_RETURN_CODE 77`, CTest treated exit code `77` as a failure on GPU-less `windows-latest` runners, failing the `windows` job of the `Runtime` workflow (`99% tests passed, 1 tests failed out of 306`). This sets `SKIP_RETURN_CODE 77` on `vk_xdxr_postbuild_readback` in `runtime/CMakeLists.txt` and pins it in `tests/test_ctest_registration.py`. ### Tested - Reproduced the `windows-latest` CTest failure on `main` (`e8fee01cd`, [workflow run](https://github.com/JesusACD/leonida/actions/runs/45504927795)), where `vk_xdxr_postbuild_readback` was the sole failure out of 306 executed tests. - Ran `vk_xdxr_postbuild_readback_test.exe` locally on physical Vulkan hardware (**NVIDIA GeForce RTX 4060 Ti**, `PCI 10de:2803`, driver `621.14`, Vulkan `1.4.357`, Windows 11 x64): `vk_xdxr_postbuild_readback: PASS (compute_to_host_barriers=1, reported_size=320, expected=320)` (exit `0`). - `python -I tests/test_ctest_registration.py -v`: **6 passed**. - `python -I tests/test_ci_registration.py` and `python -I tests/test_text_write_line_endings.py`: **19 passed**. - `python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py`: clean. GPUs tested: NVIDIA GeForce RTX 4060 Ti (PCI 10de:2803), NVIDIA 621.14, Vulkan 1.4.357, Windows 11 x64 AI-assisted: yes ### 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1449
No description provided.