Repository navigation
Conversation
Publish the probe 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: |
|
Tested 4cf76c4 on Linux, Python 3.14.4: pass python3 -I tests/test_bvh_tri_probe.py: 18 of 18 pass Nit: no flush and fsync before the replace, the fog_volumes version (#9040) has them. |
|
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 What was verified:
Negative control:Restoring No game files used. AI-assisted. |
Summary
tools/bvh_tri_probe.py--jsonthrough a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as bvh_gpu_smoke: stage --json so a write failure keeps the previous report #9029 / ab_control_flow: stage outcomes.tsv so a write failure keeps the previous report #9021 / d3d12_iid_scan: stage --json so a write failure keeps the previous report #9016).Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I -m unittest discover -s tests -p test_bvh_tri_probe.py— OKMade with Cursor