mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #898] OLD-10033: wave32_pixel_scan: use shared same_report_path and catch --out write OSError #937
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#937
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/898
Author: @klikso
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-10033-wave32-pixel-scan📝 Commits (1)
881377bwave32_pixel_scan: use shared same_report_path and catch --out write OSError📊 Changes
2 files changed (+61 additions, -3 deletions)
View changed files
📝
tests/test_wave32_pixel_scan.py(+53 -0)📝
tools/wave32_pixel_scan.py(+8 -3)📄 Description
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 <[email protected]>.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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.