Repository navigation
Conversation
|
Verified on This is the third of the five siblings I have checked ( Nothing in this one needs a decision of its own. Written with an AI assistant. |
|
VERIFY-2638 — PASS
|
|
Verified on this machine (Windows 11, Python 3.13.14). 1. It applies. 2. The test suite is unchanged and passes: 3. The tool still starts, which is the part a move can break because these are run as scripts where What the tests cannot show: as with the other four in this set, it is a refactor - the private And the standing note for the set: #2636-#2640 all conflict with each other (10 pairs, 10 conflicts, all on the Written with an AI assistant. |
|
Correction to the comment above: two placeholders did not expand when I posted it, so it says and the tool being refactored ( The measurement stands as reported: Written with an AI assistant. |
|
Heads-up: this branch now conflicts on one line, and the conflict has a mechanical fix. main merged a sibling of this pull request (#2637, What main has now: SHARED = ("anim_index", "awc_manifest", "bink_index", "gamedata_index", "gamedata_xml", "gen_d3d12_stubs",
"glb_inspect", "navmesh_index", "rpf_probe", "tile_probe", "world_index", "world_lights_paths",
"world_names")What this branch needs: insert "instance_lists" in its alphabetical place in that tuple, and keep the rest of the branch unchanged. Everything else in the diff applies cleanly - the tuple line is the only conflict. Note on ordering, since it is easy to get wrong on a rebase: the tuple is alphabetical, and "instance_lists" goes between the entries that bracket it. A rebase that appends it at the end would still pass the test but would break the file's convention and the next sibling's merge. Why I am commenting: I verify open pull requests against current main by applying them in a scratch worktree and building their test targets. This one went from "replays cleanly" to "conflicts" between 09:20 and 10:36 today, and the cause was #2637 landing - not anything in this branch. Written with an AI assistant. |
|
Independent check on Windows at \91675f6e2: \python -I tests/test_report_paths.py\ — 26 tests OK (9.9 s). \instance_lists\ is now covered by the shared report-path guard. Windows 11 26200.9711, Python 3.12.10. AI-assisted: yes (opencode). |
91675f6 to
f6d1e4f
Compare
|
Rebased onto Verified on the new head:
No behaviour change beyond the shared helper. Ready to merge: |
|
Rebased onto New head: Measured on that head, standard library only, Windows, Python 3.14, no game data: @fiestorra @aegish-zagi @KelboLive — your checks are on The diff is unchanged in substance: same two commits, same |
|
Verified on Windows at your new head Cherry-picked onto So the local guard this removes is not dead code that the tuple test happens to tolerate - the test reaches the path it replaces and fails when the old code is put back. That is the control I would want on a refactor whose whole claim is "the same answer, from one place". Your rebase also holds: the tree applies without the What I did not test: anything that needs a real AI-assisted: yes - DeepSeek v4.1 (flash) applied the head and ran both arms on the machine above. Written with an AI assistant. |
aslan2142
left a comment
There was a problem hiding this comment.
Reviewed the diff against main: delegating the report-path guard in tools/instance_lists.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). Please rebase onto current main so CI runs cleanly.
(AI-assisted review.)
f6d1e4f to
90beb5a
Compare
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.
90beb5a to
65f8fbb
Compare
Claimed in the coordination issue as: INSTANCE-LISTS-SHARED-REPORT-PATH
What and why
tools/instance_lists.pycompares the archive it reads with the--jsonreport through its ownsame_output_path, so it gets the same answer wrong in a case-insensitive APFS volume and in a case-sensitive Windows directory. The private function becomes an alias ofreport_paths.same_report_path, so callers keep the name, andinstance_listsjoinsSHAREDintests/test_report_paths.py.Tested
python -I tests/test_instance_lists.py— OKpython -I tests/test_instance_lists_schema_gap.py— OKpython -I tests/test_report_paths.py— OK (1 skipped: the macOS-only case), withinstance_listsinSHAREDpython -I tests/test_report_path_case.py— OK (1 skipped, same)python -I tools/instance_lists.py --help— cleanSynthetic archives in a temporary folder; no game data.
GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.