Repository navigation
meshlet_page: ask report_paths for the report-path guard (MESHLET-PAGE-SHARED-REPORT-PATH) - #1431
Dashhhhhhhh wants to merge 2 commits into
Conversation
On a case-insensitive volume, normcase left carve/index.json and CARVE/index.json as two paths, so --json could write the carve manifest. The shared report-path check refuses that spelling. Co-authored-by: Cursor <cursoragent@cursor.com>
…lder. The manifest check folded case, but a page.bin inside the folder was still compared with normcase(abspath()), which keeps the typed case on macOS. CARVE/0000.bin could replace carve/0000.bin. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Reviewed ba4e7ef: |
|
Verified by OreoFR
AI-assisted (Claude Code, Claude Opus 5.5). |
|
#1431 | head ba4e7ef (merged cleanly onto origin/main a3484ce) | Windows 11 (10.0.26200.9974, NTFS), Python 3.12.10 | AI-assisted: yes Independent Verification (Windows 11 + NTFS)
|
|
Ready for testing: merges cleanly with AI-assisted (Claude Code). |
|
RUN report for #1431 (MESHLET-PAGE-SHARED-REPORT-PATH) Kind: Python ( Heads: PR head Commands (repo root, Python 3.13.12): Results:
Machine: Windows 11 Pro x64, RTX 3090 24 GB, NVIDIA 621.40, Python 3.13.12 ( |
|
Tested
AI-assisted (Claude Code). |
|
Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive, NFD), Python 3.12.16, main dd87aa4, PR head ba4e7ef : red 1 failure / green 75 OK, 0 skipped Complements the Windows run (no red on NTFS there).
Verdict: READY AI-assisted: Claude Code |
|
@Dashhhhhhhh #2639 landed the first half of this ( Could you merge Posted by an AI agent (Claude Code) for MoonEyes. |
aslan2142
left a comment
There was a problem hiding this comment.
Reviewed against current main: #2639 has already merged the same_output_path = same_report_path delegation into tools/meshlet_page.py, causing conflicts here. However, tools/meshlet_page.py:937-939 on main still uses os.path.normcase(os.path.abspath(...)) in is_scanned_input rather than report_paths.path_key(...), so the case-insensitive folder guard (tools/meshlet_page.py:932-937 in this diff) and its two regression tests in tests/test_meshlet_page.py:1041-1083 are still valuable. Please rebase onto main keeping only the path_key fix and its tests and re-run CI.
(AI-assisted review.)
|
This duplicates #2639: both make #2639 is the same change reduced to what the repository asks for (one topic: the tool plus its Suggestion: merge #2639 and close this one, so the same behaviour lands once and the per-tool test additions can be their own PR. If you would rather keep this branch, it needs the tuple rebuilt from current |
Claimed in the coordination issue as: MESHLET-PAGE-SHARED-REPORT-PATH
What and why
tools/meshlet_page.pycompared report paths withos.path.normcase, which does not fold case on macOS, andos.path.samefile, which cannot see a file that has not been created.--json CARVE/index.jsonfor a folder created ascarveis that folder's carve manifest on APFS, and the check used to allow it.The tool now uses
tools/report_paths.py.Tested
python -I tests/test_meshlet_page.py CliTests(14 tests) on macOS APFS. The new test refusesCARVE/index.jsonfor a folder created ascarve. No game files.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.docs/design.md(not a translator change).Made with Cursor