Repository navigation
Conversation
Publish the groups report through a temp file + replace so a mid-write OSError leaves any prior complete JSON intact. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tested on Apple M1 Max, macOS 27.2.1 arm64, Python 3.12.16: |
sds-228
left a comment
There was a problem hiding this comment.
Focused suite passes 14/14 at this head; the new write-failure case fails against the pre-change source. The staged JSON publish preserves the previous report and still writes directly to non-regular destinations.
AI-assisted (OpenCode).
|
Tested f8b2f7b on Windows 11 (CPU only, no GPU needed): pass Windows 11 Pro, Python 3.14.7, no GPU or game files involved; pytest/numpy/Pillow pinned from
AI-assisted (Claude Code, Claude Opus 5.5). |
Summary
tools/bvh_groups.py--jsonthrough a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as bvh_match: stage --json so a write failure keeps the previous report #8974 / awc_names: stage --out so a write failure keeps the previous report #8967 / bink_index: stage --out so a write failure keeps the previous report #8954).Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I -m unittest discover -s tests -p test_bvh_groups.py— 14 OKMade with Cursor