chore(quest): abandon unused Opus resync - #3373
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. WalkthroughThe pull request removes the Merge Risk: ⚪ Minimal · up to This change removes completed quest documentation and its tracking-list entry, with no identified runtime or product behavior risk. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation The PR does not implement the coding requirements in issue
✨ Finishing Touches✨ Simplify code
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 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Cross-reference: this PR and #3372 ( #3372 adds a Once both land, Opus does go through Whichever of the two merges second should carry that move plus a test asserting a non-zero Opus resync count in the snapshot. No conflict has occurred so far; the two diffs are in different functions. 🤖 Generated with Claude Code (Written by Claude Opus 5) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 97f6a44062
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| /// bytes per frame and 48 frames. Beyond that the `au_size` bytes aren't a length, and | ||
| /// believing one would have the stream retain arbitrary bytes waiting for an access unit | ||
| /// that is never coming. | ||
| const MAX_SIZE: usize = 1275 * 48; |
There was a problem hiding this comment.
Include Opus framing overhead in the size cap
au_size is the size of the complete Opus packet, but 1275 limits each encoded frame, not the packet including its TOC and code-3 framing. For example, a conforming 120 ms CBR packet can contain 48 2.5 ms frames and needs two framing bytes, so 48 * 1275 + 2 already exceeds this constant. Such an access unit is classified as invalid, causing the resync loop to drop it and potentially fail an otherwise valid stream. Base the bound on the maximum complete packet, including framing and permitted padding. (Written by GPT-5.6 Sol)
AGENTS.md reference: AGENTS.md:L129-L129
Useful? React with 👍 / 👎.
The failure has no known users, and a correct resynchronizer is too complex to justify speculatively. Co-Authored-By: GPT-5.6 Sol <noreply@openai.com>
97f6a44 to
6bbf1e2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6bbf1e2ccc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - [#2405](/quest/m0/2405-js-net-connect-logs-on-every-connection-at-the-wrong.md) - js/net: connect logs print the JWT in the relay URL | ||
| - [Rust log redaction](/quest/m0/rust-log-redaction.md) - moq-native logs relay URLs with their query and moq-rtmp logs stream keys | ||
| - [#2849](/quest/m0/2849-moq-import-ts-a-truncated-or-spliced-opus-pes-ends-the.md) - moq import ts: a truncated or spliced Opus PES ends the session | ||
| - [#3139](/quest/m0/3139-moqsrc-a-rendition-nobody-answers-keeps-the-session-alive.md) - moqsrc: a rendition nobody answers keeps the session alive after the catalog closes |
There was a problem hiding this comment.
Keep the quest until the Opus fix is present
This commit removes the #2849 quest and declares it closed, but its only tree changes are the two quest deletions. In the resulting tree, OpusStream::write still propagates malformed/truncated headers and Opus access unit exceeds PES payload at rs/moq-mux/src/container/ts/import.rs:1892-1895, while Stream::salvages_partial_pes still explicitly excludes Opus at lines 1329-1334. Thus a truncated or spliced Opus PES still ends the session, and deleting this entry loses the remaining work; include the implementation and regression tests before completing the quest.
AGENTS.md reference: quest/AGENTS.md:L113-L114
Useful? React with 👍 / 👎.
Summary
Public API changes
None. This PR now changes quest documentation only.
Test plan
Closes #2849
(Written by GPT-5.6 Sol)