fix(relay): gate the per-worker accept loop on _quic - #3968
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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. |
|
MERGE Positive improvement: yes. After #3927, Worth the complexity: yes. One Different approach: not needed. Moving Recommendation: merge as-is. This is an automated review, not the maintainer's decision |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 0 remain after this review. WalkthroughThe relay serve function is now compiled only when the _quic feature is enabled. Its documentation now states that each QUIC worker binds its own listener, while Relay::run binds the shared listener before readiness. Merge Risk: ⚪ Minimal · up to The change gates the per-worker accept loop on QUIC and clarifies listener ownership. The shared non-QUIC accept path remains available, so no merge-blocking regression is identified; the change is mergeable after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Problem
Since #3927,
serveinrs/moq-relay/src/relay.rsis only called by the QUIC worker group (#[cfg(feature = "_quic")]), so a build without_quicflags it as dead code and-D warningsfails. Quest agents in #3966 hit it viajust check.Change
Gate
serveon_quicand fix its stale comment (it has no external callers).Public API / wire: none.
(written by Opus 5.5)
🤖 Generated with Claude Code