Repository navigation
quest: peer links default to 64 MiB, and the cut waits on send-credit stall stats - #9327
Merged
Merged
Conversation
… stall stats Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 22, 2026 01:04
Contributor
|
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 5 minutes. View limit details
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. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound — a quest-only change that closes the two flow-control gaps from the main → release review without touching code.
Reviewed changes — all five quest files in the single commit.
peer-window-default(new, m1): sets[limits.peer.quic]windows to 64 MiB, and the cut doesn't wait on it. The 1 MiB stream window stays, and the plan asks for a backlog-burst join-latency measurement.send-credit-stalls(moved m3 → m1): scoped to Rust, with the decisions recorded. It uses the existingmoq_net::session::Stats, which exists inrs/moq-net/src/session.rs.release/cut: the cut now waits on the stall counter, and the quest is listed as a prerequisite.send-credit-stalls-js(new, m3): the JS WebSocket half, mirroring the Rust episode rule and field names.m3/send-credit-stalls: deleted. A grep found no remaining references to the old path.
claude-sonnet-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.

Problem
The main → release flow-control review found two gaps in what the cut ships:
[limits.peer.quic]defaults to 16 MiB (#7624), which caps one relay-to-relay link at about 450 Mbps at a 250 ms RTT. Release runs 64 MiB. A relay upgraded from release carries a quarter of the peer traffic, and moq.pro's edge sets no window of its own.MAX_DATA. On release, the qmux credit leak stayed invisible for days.Approach
Planning only:
quest/m1/peer-window-default.md[S]:[limits.peer.quic]receive_windowandsend_windowdefault to 64 MiB. The cut doesn't wait on it. Peers keep the 1 MiB stream window, and the PR measures the join latency a backlog burst adds across a long link.send-credit-stalls[M] moves from m3 to m1, Rust only, and the release cut now requires it.quest/m3/send-credit-stalls-js.md[M]: the JS WebSocket half, split out. m3 because it was split from an m3 quest; review can move it to m4, since no named consumer waits on it.Decisions
Settled by the maintainer on 2026-11-21 in the /quest-plan interview:
max_streamsbounds it.[quic](rejected: a[limits.peer.quic] stream_receive_window). Steady live media needs only its bitrate. Measure the backlog burst instead.Impact
None: quest files only.
Validation
quest check: 495 documents ok. Planning only; no behavior to exercise.Follow-ups
quest/m0/peer-flow-control.md).Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown effort
(Written by Opus 5.5)
🤖 Generated with Claude Code
Review
Rewritten by
quest reviewafter each round.Head: 1658ce8
Base: origin/main at d34b1f1
Risk: low,
Only quest plans and release prerequisites change, so no consumer or deployed peer behavior can break, and a revert fully undoes the changes.Classified: low by Codex, gpt-6.1-sol, low effort, session
01a200c7-bc5a-7200-b342-baeae23ab170Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a200c7-cbdf-7900-88cd-825fecd339d7, round 1Score: 10/10,
The quest-only changes consistently split Rust and JS stall statistics, update references, and add the intended release prerequisite without actionable defects or runtime behavior changes.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none