tools: batch report_paths consolidation (15 PRs by @breachato) #3024

Merged
aslan2142 merged 30 commits from upstream-pr/3024 into main 2026-12-02 01:21:26 +00:00
aslan2142 commented 2026-12-02 00:47:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-02T00:47:11Z.


Batches all 15 open tools/report_paths.py consolidation PRs by @breachato into a single merge so they land cleanly without hitting 14 sequential tests/test_report_paths.py merge conflicts.

Every commit preserves @breachato's original authorship, timestamp, and commit message — the only conflict resolutions performed during cherry-picking were the additive SHARED / LEGACY_COPIES tuple updates in tests/test_report_paths.py.

Included PRs (all authored by @breachato)

  • #1162 — bvh_index
  • #1170 — vertex_types
  • #1171 — tex_headers
  • #1172 — shader_profile
  • #1173 — ttpf_mips
  • #1214 — rbf0_tree
  • #1215 — odrp_7a
  • #1227 — rbf0_index
  • #1229 — rtti_scan
  • #1243 — navmesh_decode (clears the final entry in LEGACY_COPIES, leaving LEGACY_COPIES = set(); also supersedes duplicate #2949)
  • #1244 — restofworld_model_join
  • #2636 — anim_clips
  • #2638 — instance_lists
  • #2640 — skin_streams
  • #2741 — text_tables

Testing

  • python3 -I tests/test_report_paths.py -v — 26 tests, OK (1 skipped: Windows directory case sensitivity)
  • python3 -I scripts/check_no_game_data.py — exit 0
  • python3 -m compileall -q make_game.py tools tests — exit 0
  • All matching unit test suites for the 15 affected tools (test_anim_clips*.py, test_bvh_*.py, test_instance_lists*.py, test_navmesh_*.py, test_odrp_7a*.py, test_rbf0_*.py, test_report_path*.py, test_restofworld_model_join*.py, test_rtti_scan*.py, test_shader_profile*.py, test_skin_streams*.py, test_tex_headers*.py, test_text_tables*.py, test_ttpf_mips*.py, test_vertex_types*.py) — all passing on Linux (no game files, no GPU).

AI-assisted: yes (cherry-pick batching, conflict resolution in tests/test_report_paths.py, and test verification).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5597477964 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3024). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-02T00:47:11Z. --- Batches all 15 open `tools/report_paths.py` consolidation PRs by @breachato into a single merge so they land cleanly without hitting 14 sequential `tests/test_report_paths.py` merge conflicts. Every commit preserves @breachato's original authorship, timestamp, and commit message — the only conflict resolutions performed during cherry-picking were the additive `SHARED` / `LEGACY_COPIES` tuple updates in `tests/test_report_paths.py`. ### Included PRs (all authored by @breachato) - #1162 — `bvh_index` - #1170 — `vertex_types` - #1171 — `tex_headers` - #1172 — `shader_profile` - #1173 — `ttpf_mips` - #1214 — `rbf0_tree` - #1215 — `odrp_7a` - #1227 — `rbf0_index` - #1229 — `rtti_scan` - #1243 — `navmesh_decode` (clears the final entry in `LEGACY_COPIES`, leaving `LEGACY_COPIES = set()`; also supersedes duplicate #2949) - #1244 — `restofworld_model_join` - #2636 — `anim_clips` - #2638 — `instance_lists` - #2640 — `skin_streams` - #2741 — `text_tables` ### Testing - `python3 -I tests/test_report_paths.py -v` — 26 tests, OK (1 skipped: Windows directory case sensitivity) - `python3 -I scripts/check_no_game_data.py` — exit 0 - `python3 -m compileall -q make_game.py tools tests` — exit 0 - All matching unit test suites for the 15 affected tools (`test_anim_clips*.py`, `test_bvh_*.py`, `test_instance_lists*.py`, `test_navmesh_*.py`, `test_odrp_7a*.py`, `test_rbf0_*.py`, `test_report_path*.py`, `test_restofworld_model_join*.py`, `test_rtti_scan*.py`, `test_shader_profile*.py`, `test_skin_streams*.py`, `test_tex_headers*.py`, `test_text_tables*.py`, `test_ttpf_mips*.py`, `test_vertex_types*.py`) — all passing on Linux (no game files, no GPU). AI-assisted: yes (cherry-pick batching, conflict resolution in `tests/test_report_paths.py`, and test verification).
andrew-ai commented 2026-12-02 00:50:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-02T00:50:42Z.


Windows verification at d8876ec0e merged locally into 4fe371f90: test_report_paths.py and test_report_path_case.py ran 30 tests on native NTFS, 28 passed and 2 skipped. The case-sensitive-directory test ran. The pending REPORT-PATHS-NTFS-MISSING-UNICODE fork commit d94b68ba1 also merges cleanly on top, with 29 passed and 2 skipped. I exercised bvh_index.py through the CLI on an empty synthetic directory. With this batch alone it correctly inherited the current shared guard behavior, rejecting two distinct Deseret-case output names. Adding the NTFS change allowed both files; I parsed the JSON and checked the CSV header. This confirms a newly consolidated caller picks up the separate shared-helper fix. Codex-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7331021305 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3024#issuecomment-7331021305). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-02T00:50:42Z. --- Windows verification at d8876ec0e merged locally into 4fe371f90: test_report_paths.py and test_report_path_case.py ran 30 tests on native NTFS, 28 passed and 2 skipped. The case-sensitive-directory test ran. The pending REPORT-PATHS-NTFS-MISSING-UNICODE fork commit d94b68ba1 also merges cleanly on top, with 29 passed and 2 skipped. I exercised bvh_index.py through the CLI on an empty synthetic directory. With this batch alone it correctly inherited the current shared guard behavior, rejecting two distinct Deseret-case output names. Adding the NTFS change allowed both files; I parsed the JSON and checked the CSV header. This confirms a newly consolidated caller picks up the separate shared-helper fix. Codex-assisted.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!3024
No description provided.