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. |
|
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 "skin_streams" 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 "skin_streams" 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 \ |
0b2bab5 to
6a76f09
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 @KelboLive — your checks are on the pre-rebase commits ( This is the sibling that also carries the import bootstrap, so the startup path is worth one more run: The diff is unchanged in substance: same two commits, same |
VERIFY-2640 — Linux, Python 3.15, CPU only, no game filesClaimed as
Row 3 is
The part the test does not coverThe change is two things, and the test only sees the first:
same_output_path = same_report_path # True when writing the second would truncate the firstNothing in the test executes either function, so I ran both over 14 path pairs — the same file, a hard link, a symlink, two distinct files, the same name in another directory, differing case, both paths missing, one missing, relative vs absolute, and empty strings: The two implementations are not equivalent in general, though. The local copy compared Verified. The change does what the description says, its test catches it, and it merges cleanly with AI-assisted: yes — MiMo-V2.6-Flash (OpenCode). It built the worktrees, applied row 3 as a patch, ran the 14-case comparison and drafted this report. |
aslan2142
left a comment
There was a problem hiding this comment.
Reviewed the diff against main: delegating the report-path guard in tools/skin_streams.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.)
|
I resolved the tuple conflict locally at I exercised |
6a76f09 to
7ef75fb
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.
7ef75fb to
fc49b79
Compare
Claimed in the coordination issue as: SKIN-STREAMS-SHARED-REPORT-PATH
What and why
tools/skin_streams.pycompares the archive it reads with its--jsonreport through its ownsame_output_path. That answer is wrong in a case-insensitive APFS volume and in a case-sensitive Windows directory, which is exactly the pairtools/report_paths.pydecides. The private function becomes an alias ofreport_paths.same_report_path; the file also gets theROOT/sys.path.insertblock that-Ineeds to import the helper fromtools/.The tool also joins
SHAREDintests/test_report_paths.py.Tested
python -I tests/test_skin_streams.py— OKpython -I tests/test_report_paths.py— OK (1 skipped: the macOS-only case), withskin_streamsinSHAREDpython -I tests/test_report_path_case.py— OK (1 skipped, same)python -I tools/skin_streams.py --help— cleanSynthetic archives in a temporary folder; no game data.
GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.