Repository navigation
Conversation
MSedgeMC
left a comment
There was a problem hiding this comment.
Verified on the PR branch: python3 -m unittest tests.test_navmesh_cell_fit -v -> 5 tests OK, including the new output-alias protection case. Not approving yet: the branch is 606 commits behind current main and shares the test file with PR #2446, so both need rebasing before a combined diff can be reviewed.
|
#2445 | head 20fbb6c (merged cleanly with main 3ca0707) | Audited |
|
Red/green: classified READY by oreo-lot3 (red on main b1619e0, green on head merged with main); head 20fbb6c unchanged since 2026-11-27, before that run. |
Claimed in the coordination issue as: NAVMESH-CELL-FIT-CARVE-ALIAS
Depends on: #952 (textual conflict in argument handling if both branches land; this change builds directly on main).
What and why
The archive was protected from output collisions, but scanned vehicle documents under --common could still be overwritten. Refuse output aliases of those files before reading the carve. A readable synthetic archive reproduced exit 0 with the vehicle document replaced via its hard link. The fixed CLI returns 2 and preserves its bytes. The regression also covers a direct path.
Tested
Windows, Python 3.14.7, synthetic fixtures.
python -I tests/test_navmesh_cell_fit.pypython -I tests/test_report_paths.pygit diff --checkpassed.GPUs tested: N/A (CPU-only).
AI-assisted: Yes.
Checklist