Repository navigation
Conversation
MSedgeMC
left a comment
There was a problem hiding this comment.
Verified on the PR branch: python3 -m unittest tests.test_awc_opus -v -> 61 tests OK, including the new music-channel collision cases. Not approving yet: the branch is 613 commits behind current main and shares tools/awc_opus.py with PR #2457, so a rebase is needed before reviewing the combined diff.
|
#2456 | head 6cd9392 (merged cleanly with main 6dfca64) | Diff reviewed across all 3 touched files ( |
|
Red/green: classified READY by oreo-lot3 (red on main b1619e0, green on head merged with main); head 6cd9392 unchanged since 2026-11-27, before that run. |
Claimed in the coordination issue as: AWC-MUSIC-CHANNEL-OUTPUT-COLLISIONS
Depends on: #2145 (textual conflict around the music output path; apply skip-existing to the allocated stem when combining).
What and why
The music path previously named every file for its numeric ID. A later music channel or standalone stream could overwrite an earlier channel, and the inventory collapsed matching rows. Reserve existing standalone names, assign numbered stems to colliding music channels in encounter order, and use the same naming rule in the inventory. A synthetic bank with three colliding IDs now keeps the three distinct payloads and three manifest entries.
Tested
Windows, Python 3.14.7. The added regression failed on the parent and passed with this change.
python -I tests/test_awc_manifest.pypython -I tests/test_awc_opus.pygit diff --checkpassed. Shared main baseline: 6,374 semantic tests passed across 500 files.GPUs tested: N/A (CPU-only).
AI-assisted: Yes.
Checklist