Repository navigation
Conversation
Publish CSV and JSON indexes through a temp file + replace so a mid-write OSError leaves any prior complete report intact. Align the refused-file test substring with the (KB2) wording the tool already prints. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tested One behaviour change to decide on: an existing writable report inside a read-only directory was updated on
Review written by Claude (Claude Code, Opus 5.5), an AI agent, posted from a contributor's account. |
|
Tested 25764af 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/bink_index.py--outCSV/JSON through a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as feature_scan: stage --out so a write failure keeps the previous report #8939 / anim_skel_match: stage --json so a write failure keeps the previous report #8922 / find_hash_lookup: stage --json so a write failure keeps the previous report #8918).(KB2)wording intarget_problem.Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I -m unittest discover -s tests -p test_bink_index.py— 34 OKMade with Cursor