Skip to content

CI: the runtime path filter lists tools/fssm/**, the second entry test_runtime_paths reports - #7515

Open
bobcatchris wants to merge 1 commit into
ItsNotRexed:mainfrom
bobcatchris:ci/runtime-path-filter-tools-fssm
Open

bobcatchris wants to merge 1 commit into
ItsNotRexed:mainfrom
bobcatchris:ci/runtime-path-filter-tools-fssm

Conversation

@bobcatchris

Copy link
Copy Markdown
Contributor

Depends on: #7029

Problem

tests/test_runtime_paths.py recomputes the tools/ entries of the runtime workflow's path filter from what the jobs actually read. On main 37f215107 it fails with two issues:

tools/fssm/**: missing (read by runtime/test/shaders/build.py)
tools/replace_retry.py: missing (via tools/rdna2spirv.py)

runtime/test/shaders/build.py reads the tools/fssm helpers, so an edit under tools/fssm/ can break the Windows/Wine/MoltenVK jobs without starting them. #7029 covers tools/replace_retry.py and nothing else; this PR covers the other entry.

Change

One line per event list (push and pull_request), in alphabetical position:

      - "tools/fssm/**"
      - "tools/fssm_header.py"

No job, step or code change.

Tested

python -I tests/test_runtime_paths.py (CPython 3.12, Windows 11, no GPU, no game files):

The filter's own rule (a listed tools/ pattern without /** must exist) still holds: tools/fssm/ is a directory, so the /** form is the listed kind, as tools/hw_oracle/** already is.

No game data.

AI-assisted.

tests/test_runtime_paths.py recomputes the runtime workflow's tools/ path
list from what the jobs read, and `main` fails with two missing entries:
`tools/fssm/**` (read by runtime/test/shaders/build.py, which imports the
fssm helpers) and `tools/replace_retry.py`. ItsNotRexed#7029 adds the second. This
adds the first to the `push` and `pull_request` lists, so a change under
tools/fssm/ starts the jobs it can break.

The two lines together make `python -I tests/test_runtime_paths.py` pass
(5 tests); this one alone leaves only ItsNotRexed#7029's entry reported.

@devnull34 devnull34 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified: adds tools/fssm/** to .github/workflows/runtime.yml push/pull_request path filters, correctly satisfying the tools/fssm/** dependency checked in test_runtime_paths.py.

@Daazd

Daazd commented Nov 23, 2026

Copy link
Copy Markdown

Independent check (Linux, Python 3.12.3, Node 24.13, CPU only, no game files): head cb1019360 merged onto main 6a4299563: merges clean.

  • python3 -I tests/test_runtime_paths.py: Ran 5 tests in 2.417s FAILED (failures=1) (exit 1)

Its own entry passes. Note: test_runtime_paths stays red on main for tools/replace_retry.py, which #7029 fixes.

AI-assisted (Claude Code).

@ne1i

ne1i commented Nov 23, 2026

Copy link
Copy Markdown

Tested cb101936 on Linux, CPython 3.14, CPU only, synthetic inputs, merged onto main dde82f27: tests/test_runtime_paths.py is not green with this change alone

Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting; claimed in #8047.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants