OLD-10033: wave32_pixel_scan: use shared same_report_path and catch --out write OSError #898
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!898
Loading…
Reference in a new issue
No description provided.
Delete branch "carry/old-10033-wave32-pixel-scan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: OLD-10033
What and why
Carries forward
old-pr/10033(draft #301) rebased onto currentmain:os.path.samefilewith sharedreport_paths.same_report_pathintools/wave32_pixel_scan.pyto prevent output from colliding with or overwriting scanned listings, honoring volume case rules and canonicalization.OSErrorduring output JSON writing and exits with code 2 and a clean error message rather than an unhandled traceback.tests/test_wave32_pixel_scan.pycovering path aliasing, folded names, and output write failures.Original commit preserved:
EspadaHD <espada.sluzbowy@gmail.com>.Tested
python -I tests/test_wave32_pixel_scan.py: 15/15 passedpython -I scripts/check_no_game_data.py tools/wave32_pixel_scan.py tests/test_wave32_pixel_scan.py: passed (no game data)python -I tests/test_text_write_line_endings.py: passedpython -I tests/test_report_paths.py: 22/22 passedpython -m compileall -q make_game.py tools tests: cleanGPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Independent verification on Windows 11, Python 3.14:
n-python -I tests/test_wave32_pixel_scan.py: 15/15 passed.n- No game data or GPU used. AI-assisted.#898 | head
881377b4923a590623a1e1a16731ca171e6d1986|python3 -I tests/test_wave32_pixel_scan.py -v| red: 15 run, 2 errors | green: 15 passed | Red → greenThe baseline errored on output-path alias checking and the simulated output-write failure. The merged CLI handled both.
Base
3bd936ecd98995bca3e1da83d5e28d2343001aefwas merged into the recorded PR head for the second run. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Counts include unittest subtest events where applicable. AI-assisted with OpenAI Codex. Batch claim.Merged, thank you @klikso! This translator PR (OLD-10033: wave32_pixel_scan: use shared same_report_path and catch --out write OSError) passed its own tests with main merged in during sodove's verification of this batch, so it went in with the batch.
AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.