Skip to content

Report navmesh decoder output I/O failures - #4096

Open
Marukooh wants to merge 1 commit into
ItsNotRexed:mainfrom
Marukooh:fix/navmesh-decode-write-errors
Open

Marukooh wants to merge 1 commit into
ItsNotRexed:mainfrom
Marukooh:fix/navmesh-decode-write-errors

Conversation

@Marukooh

Copy link
Copy Markdown
Contributor

Report the affected JSON or CSV path and return 2 when output directory creation or report writing fails. This is separate from #2930, which preflights an existing directory passed as the report path.

Claimed in coordination #4084.

Verified on Linux with python3 -B -I tests/test_navmesh_decode.py (14 tests) and git diff --check. The regression failed on main at aa2988c and passed with the fix. Synthetic fixtures only, no GPU execution. AI-assisted.

@mek1212

mek1212 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Tested 886bc79a03ecc5ec312c141bb2aebde9c3cce5ba on MacBook Air M4, macOS 27.2.1, CPython 3.9.6 (CPU-only). The PR patch applied to base aa2988cc555bad7ecd508b48a702adbb32fe7c95.

  • python -I -B tests/test_navmesh_decode.py: passed (14 tests run).
  • Negative control: the regression test failed an assertion with the base implementation restored.

Synthetic inputs only. AI-assisted verification.

@kapitche

Copy link
Copy Markdown
Contributor

Tested 886bc79 merged with main d974c88 on Linux (WSL2), Python 3.12.16: pass

tests/test_navmesh_decode.py: 16 tests, OK. Negative control: with tools/navmesh_decode.py restored to main, the same test file fails 2 of 16 (FileExistsError on the blocked output directory path), so the new tests do exercise the fix. Read the whole diff of tools/navmesh_decode.py: no issues found. Not run on native Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants