Repository navigation
Conversation
…eport Publish through a temp file + replace so a mid-write OSError leaves any prior complete JSON intact. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tested
Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting. |
|
Tested
AI-assisted (Claude Code). |
sds-228
left a comment
There was a problem hiding this comment.
Focused suite passes 9/9 at this head; the new write-failure case fails against the pre-change source. The staged --json publish preserves the previous report and keeps the direct-write path for non-regular destinations.
AI-assisted (OpenCode).
Summary
tools/anim_skel_match.py--jsonthrough a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as find_hash_lookup: stage --json so a write failure keeps the previous report #8918 / exe_checklist: stage --out so a write failure keeps the previous report #8905 / navmesh_nodes: stage --out so a write failure keeps the previous report #8884).Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I -m unittest discover -s tests -p test_anim_skel_match.py— 9 OKMade with Cursor