XMA tests: count frames only in the selected stream #1589
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1590"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by zhaibingye on 2026-11-24T19:31:46Z.
walks_saved_streams decodes one XMA stream but sums frame counts from every interleaved stream. Follow each header's packet skip when counting expected frames. The regression test covers two unevenly interleaved streams.
A five-packet synthetic input on main reported 8 frames counted, 4 walked, 0 decode errors. With the change it reports 4 counted and 4 walked. A single-stream control passes, and a packet claiming an extra frame still fails.
On Linux, cargo test --locked -p victory-formats passed (24 passed, 4 ignored by default). Clippy and cargo xtask policy passed. Synthetic inputs only. AI-assisted with Codex.
Imported from Marvisak/VIctory. Originally posted by acetonahard-code on 2026-11-24T22:24:11Z.
Tested on Windows 11 with the repo toolchain, merged into current
main(70564ae):cargo test -p victory-formatsmainmain+ this PRcargo clippy --all-targets -- -D warnings, with and without--all-features: clean.I didn't test with game data.
Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:31:36Z.
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-formats/src/xma.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by Headache3318 on 2026-11-25T01:33:35Z.
Tested on Linux (Arch, kernel 7.3.5, 3× RTX 4090 driver 620.73.04), Rust 1.98.1 (pinned). PR head
44e0c31applied cleanly onto currentmainccfb029.cargo test --locked -p victory-formats: 24 passed, 0 failed, 4 ignored. All XMA tests pass, including the new regression test for counting frames in interleaved streams.cargo clippy -p victory-formats --all-targets --all-features --locked -- -D warnings: clean.Not tested: Windows MSVC build, the title itself. AI-assisted.
upstream-sync referenced this pull request2026-11-25 14:07:18 +00:00
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.