Skip to content

CI: the runtime workflow's path filter lists tools/replace_retry.py (test_runtime_paths red since #2721) - #7029

Open
slint6614-dev wants to merge 1 commit into
ItsNotRexed:mainfrom
slint6614-dev:ci/runtime-paths-replace-retry
Open

slint6614-dev wants to merge 1 commit into
ItsNotRexed:mainfrom
slint6614-dev:ci/runtime-paths-replace-retry

Conversation

@slint6614-dev

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: new BUILD item (claim)

What and why

#2721 made tools/rdna2spirv.py import tools/replace_retry.py, but did not add that file to the push and pull_request path filters of .github/workflows/runtime.yml. An edit to replace_retry.py can break the runtime jobs without starting them, and tests/test_runtime_paths.py (which recomputes the filter from the imports) fails on main e839f40e:

AssertionError: ['tools/replace_retry.py: missing (via tools/rdna2spirv.py)'] is not false

This adds the entry to both lists, in alphabetical order.

Tested

Linux (WSL2), CPython 3.14, no GPU or game files.

  • python -B -I tests/test_runtime_paths.py: 5 tests OK (1 failure on main).

AI-assisted: yes (Claude Code)

Checklist

  • 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. (No translator change.)

🤖 Generated with Claude Code

…test_runtime_paths red since ItsNotRexed#2721)

ItsNotRexed#2721 made tools/rdna2spirv.py import tools/replace_retry.py, so an edit to it can
break the runtime jobs, but the push and pull_request filters of runtime.yml did not
list it and tests/test_runtime_paths.py failed on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@illusionart453-max

Copy link
Copy Markdown

Independent native Windows/Python 3.15 at 97211c7: python -I tests/test_runtime_paths.py passes 5/5 in an isolated worktree. Main 8575d36 audit reproduces the missing tools/replace_retry.py path-filter entry; this head passes. Synthetic CPU inputs, no GPU/game files. AI-assisted (Codex).

@memorypressure

Copy link
Copy Markdown

Tested 97211c7 on main 1d73504 and 8575d36: test_runtime_paths fails on main and passes with your two path lines (Ran 5, OK at both tips) — the red-since-#2721 claim checks out and runtime.yml indeed lacked the lines. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run).

@best2135

Copy link
Copy Markdown

Tested 97211c7 on Linux (kernel 7.2), Python 3.14.8, CPU only: pass

On main (26ecd9f) test_runtime_paths fail; at this head and with this head merged onto 26ecd9f they pass.

python -I tests/test_runtime_paths.py

AI-assisted check (Claude Code); counts and pass/fail only, no game data.

@bobcatchris

Copy link
Copy Markdown
Contributor

A second entry is still missing from the same two lists, so this PR alone leaves tests/test_runtime_paths.py red.

On main 37f215107 the test reports both:

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

I have opened the other one as #7515 (tools/fssm/**, inserted before tools/fssm_header.py in both lists), with Depends on: #7029. I verified the pair locally: your line plus mine makes python -I tests/test_runtime_paths.py pass (5 tests). Either merge order works if you add the line here instead — say so and I will close #7515. AI-assisted.

@aarushkha

Copy link
Copy Markdown

Tested 97211c7 merged onto main 86a7807dd on Windows 10 Pro 22H2 (19045), Python 3.14.3: pass.

  • python -I tests/test_runtime_paths.py: Ran 5 tests in 25.342s OK (red on main)

It merges cleanly together with #7092 #6049 #7120 #6513 #7242 #7209 #6254 #7214 #6957 #7309 #4771 #7094 #7129 #6508 #7152 #7174 #7032 onto main; with all of them applied, the only standalone test still red on Windows is test_first_look_paths (claimed by Racurs156). Summary in #7333.

No GPU or game files needed. AI-assisted (Claude Code); I read the diff before running it.

@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 97211c7c7 merged onto main 6a4299563: merges clean.

  • python3 -I tests/test_runtime_paths.py: Ran 5 tests in 2.445s OK (exit 0)

Fixes test_runtime_paths (red on main: tools/replace_retry.py: missing (via tools/rdna2spirv.py)).

AI-assisted (Claude Code).

@ne1i

ne1i commented Nov 23, 2026

Copy link
Copy Markdown

Tested 97211c7c on Linux, CPython 3.14, CPU only, synthetic inputs, merged onto main dde82f27: pass

  • python -I tests/test_runtime_paths.py: 5 tests OK (red on main: 1 failure).
  • With .github/workflows/runtime.yml reverted to main: 1 failure again.
  • compileall (where the change has Python files) and scripts/check_no_game_data.py on the changed files: clean.

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.

8 participants