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

Closed
hugo0024 wants to merge 1 commit from upstream-pr/1657 into main
hugo0024 commented 2026-11-25 07:23:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by hugo0024 on 2026-11-25T07:23:12Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5487008467 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1657). Originally posted by [hugo0024](https://github.com/hugo0024) on 2026-11-25T07:23:12Z. --- Claimed in the coordination issue as: CI-RUNTIME-PATHS-CONFORMANCE ([claim](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7155742907)) ### 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)
whoalin1 commented 2026-11-25 11:12:49 +00:00 (Migrated from github.com)

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


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7160745722 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1657#issuecomment-7160745722). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T11:12:49Z. --- 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.
OguzSoykan commented 2026-11-25 20:14:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OguzSoykan on 2026-11-25T20:14:21Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7173378625 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1657#issuecomment-7173378625). Originally posted by [OguzSoykan](https://github.com/OguzSoykan) on 2026-11-25T20:14:21Z. --- 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).
hugo0024 commented 2026-11-28 04:56:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by hugo0024 on 2026-11-28T04:56:23Z.


Closing: main has both tools/conformance/** lines since d9bb37465 (carried into #1561 from #1673), and tests/test_runtime_paths.py passes there. Merged onto main, this branch changes only the header comment.

Thanks @whoalin1 and @OguzSoykan for verifying. AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7234353529 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1657#issuecomment-7234353529). Originally posted by [hugo0024](https://github.com/hugo0024) on 2026-11-28T04:56:23Z. --- Closing: `main` has both `tools/conformance/**` lines since `d9bb37465` (carried into #1561 from #1673), and `tests/test_runtime_paths.py` passes there. Merged onto `main`, this branch changes only the header comment. Thanks @whoalin1 and @OguzSoykan for verifying. AI-assisted.

Pull request closed

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!1657
No description provided.