Repository navigation
Conversation
… failed write one error line (finding in the coordination issue, claim 7102450817)
This was referenced Nov 23, 2026
1 of 2 tasks
|
Tested 09cc69b on Windows 11 (NTFS), Python 3.12.10 (CPU only, no GPU, no game files): pass What I ran:
By hand,
Points, none blocking:
Overlap: these open PRs change the same
#5353 and #5532 already do everything that this PR does, and they also refuse the input alias. Only one of these is needed. AI-assisted (Claude Code). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Finding + claim in the coordination issue:
tools/find_hash_lookup.py:140wrote its--jsonreport with no guard, so a--jsonnaming a folder ended inIsADirectoryErrorafter the whole scan ran.The folder is refused right after
parse_args, before the exe is even opened, and the write itself is wrapped so a failure prints oneERROR: cannot write ...line and exits 2.Tested
python -m pytest tests/test_find_hash_lookup.py -q: all pass, including the newtest_a_json_that_names_a_folder_is_refused_before_the_scan(exit 2, one line, nothing printed before the refusal).Two commits: the tool, then the test. Windows 11, Python 3.12.10, CPU only. No game files. AI-assisted.
Checklist
docs/design.md, with how it was confirmed. (No translator changes.)