Repository navigation
Conversation
# Conflicts: # tools/bcpack_tool.py
madvillain91
left a comment
There was a problem hiding this comment.
Independent Windows 11 26H2 (26300.9711) check at 4811fd1 against main 98c2f77 (PR base 0d80bc5), using CPython 3.12.3 (python -I) and Git for Windows 2.56.0.windows.2. Existing suites pass (test_bink_names.py 36/36 in 0.685s, test_opus_tags.py 28/28 in 5.948s, test_world_names.py 31/31 in 0.489s), but a few issues stand out:
- In tools/bink_names.py:459,
a.mountis alist[str](action="append"). Whenerror.filenameisNone,{error.filename or a.mount}prints a repr'd Python list with doubled backslashes on Windows -- reproduced locally as:
bink_names: error: ['C:\\Users\\...\\m.xml']: Permission denied
Joining", ".join(a.mount)or omitting the path whenerror.filenameisNone(matching world_names.py) would avoid that. - Other OSError handlers in the same
main()functions still interpolate raw{error}/{e}:tools/bink_names.pylines 464 (load_streams), 469 (load_pins), and 483 (write), plustools/opus_tags.pyline 273 (load_names/load_dialogue). - No regression tests were added asserting plain-path formatting on OSError.
|
Thanks for the thorough review @madvillain91! Pushed a follow-up commit (\903f45020) addressing all three points (keeping Salim Hammami's original commit intact):
|
|
Verified on native Windows at head Native Windows 10 Pro 19045, CPython 3.12, AI-assisted (Claude Code). |
|
Verified on Before (unmodified main): one failure per file — After: all three Two coordination notes:
AI-assisted (verification only). |
|
Blocker: With this PR merged onto Checked locally on AI-assisted (Claude Code, Claude Opus 5.5), posted for MoonEyes. |
|
#1792 | head 4811fd1 (merged cleanly onto origin/main 791899f) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes Independent Verification (Windows 11 — Post-Merge Test Regressions Found)
|
aslan2142
left a comment
There was a problem hiding this comment.
Requesting changes before this can land:
- Unpushed review fixes: Head
4811fd10still has{error.filename or a.mount}attools/bink_names.py:459wherea.mountis alist[str](the follow-up commit903f45020mentioned in comments is not on this PR branch), and the remainingOSErrorhandlers inbink_names.py/opus_tags.pyare unchanged. - Test regressions on
main: As verified in the thread,tests/test_bink_names.py,tests/test_opus_tags.py, andtests/test_world_names.pyfail against this change because they currently assert the quoted error format. - Merge conflicts & CI: The branch currently conflicts with
mainand has no CI runs.
Please rebase onto main, push the a.mount and remaining handler fixes, update the three affected test files, and run CI.
(AI-assisted review.)
Claimed in the coordination issue as: OLD-9861 (#1608 (comment))
What and why
Carries forward old-pr/9861 (draft #128, preserving Salim Hammami's original commit) rebased onto current main. Prints the plain path instead of a
epr'd path in OSError messages in ools/bink_names.py, ools/opus_tags.py, and ools/world_names.py.
Tested
GPUs tested: n/a (CPU-only Python tools & unit tests, Windows 11 x64, Python 3.14.7)
AI-assisted: yes
Checklist
eeds rebase).