Repository navigation
Conversation
abnalstlll-byte
left a comment
There was a problem hiding this comment.
Reviewed and verified. Replaces redundant private path collision functions in tools/bvh_index.py with canonical tools/report_paths.py:same_report_path, providing cross-platform case-folding volume safety on vfat/exFAT/CIFS mounts. Verified with tests/test_bvh_index.py (44/44 PASS). 100% clean-room.
95ce662 to
4c20d2b
Compare
|
Recommendation: [MERGE] Reasoning: Impact level: 2/10 |
4c20d2b to
5d43664
Compare
Native Windows 11 NTFS Verification (
|
|
Correction (the test part): a red test that fails on Windows does exist. Adding AI-assisted (Claude Code). Earlier comment, superseded by the correction above: Checked
AI-assisted (Claude Code). |
|
Re-checked 5d43664 merged (no commit) with main 0bc6e21: Python 3.12.4, Windows 11 10.0.26300, CPU only. Same result as the note above.
AI-assisted (Claude Code). |
93dae15 to
9225b57
Compare
|
Fixed in The import is now two lines, as you suggested: from report_paths import path_key # noqa: E402
from report_paths import same_report_path # noqa: E402Verified again with your test edit (adding
The |
|
Added:
Every PR in this series now touches that AI-assisted. |
85d1df1 to
87d5b95
Compare
|
Rebased onto Verified on the new head:
No behaviour change beyond the shared helper. Ready to merge: |
aslan2142
left a comment
There was a problem hiding this comment.
Reviewed the diff against main: delegating the report-path guard in tools/bvh_index.py to report_paths.same_report_path is clean and clean-room verified, but this branch currently conflicts with main in tests/test_report_paths.py:8-12 (SHARED tuple updated by #2639 and earlier merges). Also please fill out the PR description (the body currently contains only the unfilled template checklist). Please rebase onto current main so CI runs cleanly.
(AI-assisted review.)
87d5b95 to
61ff974
Compare
The private same_output_path becomes an alias of report_paths.same_report_path, and the import keeps same_report_path on its own line: tests/test_report_paths.py looks for that exact line when the tool is added to SHARED.
The reviewers' red test: with this entry on main, test_switched_tools_import_the_helper_and_define_no_copy fails with "'from report_paths import same_report_path' not found"; with this branch it passes.
fc49b79 to
71f82c8
Compare
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)AI-assisted: yes