Repository navigation
Conversation
Grimkeh
reviewed
Nov 23, 2026
Grimkeh
left a comment
There was a problem hiding this comment.
Independent Linux CPU review (61000529)
What changed: make_game discards partial WAVs after XMA decoder errors so a failed decode does not leave a truncated WAV that resume would treat as done.
Checked:
python3 -I tests/test_audio_stage_resume.py→ 12 OK.
Looks correct; no game files.
|
Tested 6100052 on Windows 11 (CPU only, no GPU needed): pass Windows 11 Pro, Python 3.14.7, no GPU or game files involved; pytest/numpy/Pillow pinned from
AI-assisted (Claude Code, Claude Opus 5.5). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BUILD-XMA-STRICT-DECODE (coordination claim).
Change
FFmpeg can report a decoder error, write partial PCM, and exit 0. The XMA2 conversion then publishes that WAV and treats it as complete on later runs. Pass
-xerrorso the existing failure path removes the staging file and leaves the XMA source pending for a retry.The regression simulates a decoder that writes an output even on error. It fails on the previous invocation, then verifies cleanup and a successful retry with the fix. #5317 also edits this invocation for concurrent staging and currently conflicts with
main.Verification
git diff --checkpassed.main(test_image_atomics_guardandtest_image_store_d16). The shader-resume fixture errors (Restore shader resume regression tests for the polling scheduler #7018) and line-ending check failure (tools: pin text writes to newline="\n" in leonida_tui and wave_diff #7857) also reproduced onmain.AI-assisted (Codex). The tests used synthetic files.