ci: the Runtime workflow starts on tools/conformance/** (CI-RUNTIME-PATHS-CONFORMANCE) #1657

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

@⁠hugo0024 on GitHub · 2026-11-25 07:23 UTC · original
hugo0024:ci-runtime-paths-conformance → main · +7 −4 · 1 files · 1 commits · open

Claimed in the coordination issue as: CI-RUNTIME-PATHS-CONFORMANCE (claim)

What and why

tests/test_runtime_paths.py fails on main since #939 (QemmHD reported it there):

AssertionError: ['tools/conformance/**: missing (named in runtime/CMakeLists.txt)'] is not false : .github/workflows/runtime.yml path filter:
  tools/conformance/**: missing (named in runtime/CMakeLists.txt)

runtime/CMakeLists.txt now compiles tools/conformance/native/src/png_io.cpp and diagnostics.cpp into vk_present_dump_test, and the Runtime workflow starts only on the paths it lists. The directory was not in the list, so a pull request that changes only those sources does not start the Windows build that compiles them.

  • .github/workflows/runtime.yml: tools/conformance/** in the push and the pull_request path lists, in alphabetical place, and half a sentence in the comment above them saying why a directory of C++ sources is there.

Nothing else changes: no job, step or script is touched.

Tested

macOS 27.2.1, Python 3.14.7. Before is main 3f81d46ac, after is this branch on the same commit.

Before After
python3 -I tests/test_runtime_paths.py 5 tests, 1 failed 5 tests, OK
the 7 standard-library test files that read .github/ 1 failed (test_runtime_paths.py) 0 failed
standard-library loop, all 498 files 4 failed 3 failed
  • The three files still red in the loop are red on main for other reasons and are not touched here: tests/test_mod_pack_output_alias.py (#1412 is open for it), and tests/test_runner_calls_all_tests.py and tests/test_tool_stdout_encoding.py (#1561 is open for both).
  • The workflow still parses as YAML: 4 jobs as on main, and the two path lists are equal, 50 entries each.
  • python3 -I scripts/check_no_game_data.py .github/workflows/runtime.yml: clean.

Not tested: the workflow itself on GitHub's runners, beyond what this pull request's own run shows (it changes runtime.yml, so Runtime starts for it).

GPUs tested: n/a

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.

🤖 Generated with Claude Code

**@⁠hugo0024** on GitHub · 2026-11-25 07:23 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1657) `hugo0024:ci-runtime-paths-conformance` → `main` · +7 −4 · 1 files · 1 commits · open Claimed in the coordination issue as: CI-RUNTIME-PATHS-CONFORMANCE ([claim](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608)) ### What and why `tests/test_runtime_paths.py` fails on `main` since #939 (QemmHD reported it there): ```text AssertionError: ['tools/conformance/**: missing (named in runtime/CMakeLists.txt)'] is not false : .github/workflows/runtime.yml path filter: tools/conformance/**: missing (named in runtime/CMakeLists.txt) ``` `runtime/CMakeLists.txt` now compiles `tools/conformance/native/src/png_io.cpp` and `diagnostics.cpp` into `vk_present_dump_test`, and the Runtime workflow starts only on the paths it lists. The directory was not in the list, so a pull request that changes only those sources does not start the Windows build that compiles them. - `.github/workflows/runtime.yml`: `tools/conformance/**` in the `push` and the `pull_request` path lists, in alphabetical place, and half a sentence in the comment above them saying why a directory of C++ sources is there. Nothing else changes: no job, step or script is touched. ### Tested macOS 27.2.1, Python 3.14.7. Before is `main` `3f81d46ac`, after is this branch on the same commit. | | Before | After | |---|---|---| | `python3 -I tests/test_runtime_paths.py` | 5 tests, 1 failed | 5 tests, OK | | the 7 standard-library test files that read `.github/` | 1 failed (`test_runtime_paths.py`) | 0 failed | | standard-library loop, all 498 files | 4 failed | 3 failed | - The three files still red in the loop are red on `main` for other reasons and are not touched here: `tests/test_mod_pack_output_alias.py` (#1412 is open for it), and `tests/test_runner_calls_all_tests.py` and `tests/test_tool_stdout_encoding.py` (#1561 is open for both). - The workflow still parses as YAML: 4 jobs as on `main`, and the two path lists are equal, 50 entries each. - `python3 -I scripts/check_no_game_data.py .github/workflows/runtime.yml`: clean. Not tested: the workflow itself on GitHub's runners, beyond what this pull request's own run shows (it changes `runtime.yml`, so Runtime starts for it). GPUs tested: n/a 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. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since #939 runtime/CMakeLists.txt compiles tools/conformance/native/src/png_io.cpp and
diagnostics.cpp into vk_present_dump_test, but the workflow's push and pull_request path
lists did not name the directory: a pull request that changes only those sources did not
start the Windows build that compiles them, and tests/test_runtime_paths.py failed on main
with 'tools/conformance/**: missing (named in runtime/CMakeLists.txt)'.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:59:40 +00:00
Author
Owner

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

Independent verification: adds tools/conformance/** to both push and pull_request path lists correctly (alphabetical, YAML parses, test_runtime_paths.py fails on merge-base with exactly the claimed missing-path error and passes 5/5 on this head). However this is a strict subset of #1673 (xel1uz), which adds the identical lines PLUS fixes the other two red-on-main checks (test_runner_calls_all_tests.py globals-comprehension dispatch, compute_heap_layout_census.py stdout guard) — verified both pass on #1673's head. Whichever lands second becomes redundant; #1673 looks like the better merge candidate. AI-assisted verification.

**@⁠whoalin1** on GitHub · 2026-11-25 11:12 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1657#issuecomment-7160745722) Independent verification: adds `tools/conformance/**` to both push and pull_request path lists correctly (alphabetical, YAML parses, `test_runtime_paths.py` fails on merge-base with exactly the claimed missing-path error and passes 5/5 on this head). **However this is a strict subset of #1673** (xel1uz), which adds the identical lines PLUS fixes the other two red-on-main checks (`test_runner_calls_all_tests.py` globals-comprehension dispatch, `compute_heap_layout_census.py` stdout guard) — verified both pass on #1673's head. Whichever lands second becomes redundant; #1673 looks like the better merge candidate. AI-assisted verification.
Author
Owner

@⁠OguzSoykan on GitHub · 2026-11-25 20:14 UTC · original

Verified on native Windows at head 2eb060e0a: tests/test_runtime_paths.py fails on main (tools/conformance/**: missing (named in runtime/CMakeLists.txt)) and passes here. #1673 makes the same runtime.yml change.

Native Windows 10 Pro 19045, CPython 3.12, py -3.12 -I, checkout under a non-ASCII profile path (C:\Users\Oğuz\..., TEMP is the 8.3 alias C:\Users\OUZ~1\...). No game files.

AI-assisted (Claude Code).

**@⁠OguzSoykan** on GitHub · 2026-11-25 20:14 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1657#issuecomment-7173378625) Verified on native Windows at head `2eb060e0a`: `tests/test_runtime_paths.py` fails on `main` (`tools/conformance/**: missing (named in runtime/CMakeLists.txt)`) and passes here. #1673 makes the same runtime.yml change. Native Windows 10 Pro 19045, CPython 3.12, `py -3.12 -I`, checkout under a non-ASCII profile path (`C:\Users\Oğuz\...`, TEMP is the 8.3 alias `C:\Users\OUZ~1\...`). No game files. AI-assisted (Claude Code).
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/1657/head:github-bot/gh-1657'
git switch 'github-bot/gh-1657'

Merge

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