Repository navigation
Conversation
Review:
|
| Check | Result |
|---|---|
git diff --check |
PASS |
python -m compileall -q make_game.py tools tests |
PASS |
scripts/check_no_game_data.py |
PASS |
python -I make_game.py --help |
PASS |
python -I tests/test_awc_cue_labels.py |
PASS: test_channel_roundtrip and test_reject_invalid_channel_before_publishing, 2 tests in 0.184s |
python -I tests/test_tool_stdout_encoding.py |
Expected FAIL: test_every_main_block_reconfigures_stdout |
The test_tool_stdout_encoding.py failure is the expected result, not a regression. tools/awc_cue_labels.py is no longer in the missing list. The four names that remain (bvh_slot_check, import_call_sites, world_drawable_lookup, world_drawable_verify) are exactly the ones the PR description says other open PRs own. This matches the author's negative control: with the base file the list has 5 names, and with this PR it has 4.
Adherence to project rules
- No game data: the diff contains no archives, executables, shaders, audio, cue sheets or logs that quote them.
- No keys, decryption or protection workarounds: none.
- Nothing online: no network access or service domains.
- Fix, don't disable: the tool gets the guard the test enforces. Nothing is added to a skip list and the test is not loosened.
- Conventions: standard library only, works on Windows first, and the PR says it was AI-assisted and how it was tested.
Nits (non-blocking)
- None in the code.
- For the merge, the commit subject could reference the coordination item ID if the coordinator assigned one. The body already explains the dependency on the other four PRs well.
AI-assisted.
|
Tested 1aba0be merged onto main e36d4c4 on Windows 11 Pro, Intel i7-14700KF, CPython 3.11.0 (venv: pytest 9.2.0, numpy 2.4.6, Pillow 13.0.0; numpy is below the 2.5.5 pin because 2.5 needs Python 3.12), CPU only: pass, with notes.
Notes:
AI-assisted (Claude Code). |
|
Tested 1aba0be merged onto main
Fixes its entry ( It merges cleanly together with #7092 #6049 #7120 #6513 #7242 #7209 #6254 #7214 #6957 #7309 #4771 #7029 #7094 #7129 #6508 #7174 #7032 onto main; with all of them applied, the only standalone test still red on Windows is No GPU or game files needed. AI-assisted (Claude Code); I read the diff before running it. |
|
Independent check (Linux, Python 3.12.3, Node 24.13, CPU only, no game files): head
Clears AI-assisted (Claude Code). |
What broke:
tools/awc_cue_labels.py(added in #6819) has no stdout guard in its__main__block, sotests/test_tool_stdout_encoding.py::EveryToolGuardsStdout::test_every_main_block_reconfigures_stdoutlists it on mainf25ba44ed:Fix: the same
sys.stdout.reconfigure(errors="replace")guard every other tool starts its__main__block with. The tool itself prints nothing to stdout today; the guard keeps it consistent with the rule the test enforces, and covers any later print of a path.Not touched:
bvh_slot_check(#6508) andimport_call_sites,world_drawable_lookup,world_drawable_verify(#7032 / #7046) already have open PRs; this PR only removesawc_cue_labelsfrom the list.Tested: Linux (WSL2, kernel 5.15), Python 3.12.16,
python -I.tests/test_tool_stdout_encoding.py:awc_cue_labelsno longer in the missing list (the other four names remain, owned by the PRs above, so the test as a whole stays red until those land).tests/test_awc_cue_labels.pystill passes.Negative control:
git checkout upstream/main -- tools/awc_cue_labels.pyputstools/awc_cue_labels.pyback in the missing list (5 names instead of 4).AI-assisted.