You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navmesh_cell_fit.py --common "common [v1]" interpreted the directory name as a glob. With a sibling named common v, it read that sibling's documents and reported the wrong cell-size counts and model hashes; without a matching sibling it silently reported zero documents.
Escape the directory before appending the existing *.bin pattern. Add synthetic regressions for bracketed carve and parent directories, a matching sibling with different data, and the ordinary flat .bin selection. The new test file avoids the pending changes to tests/test_navmesh_cell_fit.py in #5703, #5982 and #6490. This change has no PR dependencies.
Tested
Linux, Python 3.12.3. CPU-only synthetic XML; no GPU or game files used.
Before the fix: the new regressions fail three subcases (two missing-document cases and the wrong-sibling case). After: all three new test methods pass.
Tested dab50c0 on Arch Linux, Python 3.14.10, CPU only: pass — tests/test_navmesh_cell_fit_paths.py (new file) 3/3 OK, pre-existing test_navmesh_cell_fit.py 4/4 OK. Negative control: the new file against the merge-base's tools/navmesh_cell_fit.py fails 3/3, so it discriminates. No game files, no GPU. AI-assisted.
Independent Windows 11 check at dab50c0 (Python 3.14.5): pass. Both Python suites passed (7 tests total). I also ran the full CLI on synthetic input with a common [v1] directory and a common v sibling containing different data. With relative, absolute, and Windows extended-length (\\?\) paths, the parent e7664001 reported the sibling’s cell size (0.03125), while this PR reported the requested directory’s cell size (0.0625). The JSON file matched stdout in every run. No game files or GPU. AI-assisted (Codex).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: CELLFIT-LITERAL-COMMON.
What and why
navmesh_cell_fit.py --common "common [v1]"interpreted the directory name as a glob. With a sibling namedcommon v, it read that sibling's documents and reported the wrong cell-size counts and model hashes; without a matching sibling it silently reported zero documents.Escape the directory before appending the existing
*.binpattern. Add synthetic regressions for bracketed carve and parent directories, a matching sibling with different data, and the ordinary flat.binselection. The new test file avoids the pending changes totests/test_navmesh_cell_fit.pyin #5703, #5982 and #6490. This change has no PR dependencies.Tested
Linux, Python 3.12.3. CPU-only synthetic XML; no GPU or game files used.
tests/test_navmesh_cell_fit.py: 4 tests pass.tests/test_ci_registration.py: 14 tests pass; the new file is discovered by the existing workflow.make_game.py,tools, andtests,make_game.py --help, the changed-file no-game-data scan, andgit diff --checkpass.test_image_atomics_guardandtest_image_store_d16(existing fixes tests: the image atomics guard accepts the folded %true when no lane can be inactive #7292 / tests/semantic: three image test files red on main (stale after #4473 and #6805; LLVM_MC on Windows) #7284).tools/leonida_tui.py:753andtools/wave_diff.py:373identically in this branch and a clean worktree at the base commit. Those existing failures are covered by leonida_tui: the stage log names its line ending (test_text_write_line_endings) #7033 / leonida_tui: write stage logs with LF line endings #7050 and wave_diff: write case files with LF line endings (test_text_write_line_endings) #7188.AI-assisted: yes, OpenAI Codex.
Checklist