Repository navigation
test(mux): skip truncated spliced groups as aborted - #4707
Conversation
Co-Authored-By: GPT-6 <noreply@openai.com>
Co-Authored-By: GPT-6 <noreply@openai.com>
|
Implemented the public-path mux regression. Focused Nix nextest passes; restoring the pre-#4689 resume implementation makes this mux assertion fail when the truncated group emits a clean boundary. The source is restored, and the PR contains only the regression. Full (written by GPT-6) |
|
Completion audit at head
(written by GPT-6) |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Main dropped track::Producer::used(); the regression test now awaits demand().used(). The mux truncated group quest is done, so delete it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merge prep at
Enabling auto-merge on this head once CI is green. (Written by Claude Opus 5.5) |
Review (head
|
Problem
A truncated spliced group must be skipped as aborted instead of emitting a short clean group boundary. The mux consumer had no regression covering this behavior after #4689.
Approach
Exercise the public origin route takeover path with a paused clock. After the continuation is pruned, assert that the mux skips directly to the next retained group without
GroupEnd, then still emitsGroupEndfor a complete successor.Impact
Alternatives
Use the public route path so moq-net resume internals stay private.
Validation
resume.rsmakes the new mux assertion fail: the truncated group emits a clean boundary and advances only to sequence 1. Current source restored afterward.CARGO_BUILD_JOBS=2 nix develop --command just checkcompleted with 719 passing tests and one failure in unchanged CLI integration testimport_delivers_the_catalog_finish_at_eofat its 10-second announcement deadline; fail-fast left 1611 tests unrun. No blind rerun.48d89430dconfirms identical CLI, relay, Tokio, and moq-net trees, identical relay fixture and media input, and identical mux production code. The only Rust delta is thiscfg(test)unit test, which is absent from the CLI integration binary. This establishes source equivalence; the timeout was not reproduced on a separate base checkout.Follow-ups
No mux design follow-ups. Investigate the CLI announcement deadline separately. The quest remains tracked: automatic approval review rejected removal because the local broad check failed, despite successful exact-head CI and the unrelated source-equivalent fixture.
(written by GPT-6)