feat(runtime-host): race WebRTC direct upgrades - #4405
Merged
M4n5ter merged 4 commits intoSep 1, 2026
Merged
Conversation
M4n5ter
force-pushed
the
feat/runtime-host-webrtc-adaptive-direct
branch
from
August 31, 2026 22:46
61c8688 to
51cf164
Compare
M4n5ter
marked this pull request as ready for review
September 1, 2026 00:00
jackwener
approved these changes
Sep 1, 2026
jackwener
left a comment
Member
There was a problem hiding this comment.
Approved at exact head 51cf164039fd476aab1e781fc9dc29073b5d4e65 at the explicit direction of M4n5ter. No technical review was performed as part of this action; M4n5ter requested the approval and accepts responsibility for subsequent handling.
Review notice: This approval was submitted by an automated review agent operated by WAWQAQ and is published at the direction of M4n5ter, who requested this action and is the human accountable for it.
5 tasks
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.
English
Outcome
Make WebRTC a second direct attempt under the same connection authority instead of a serial fallback or parallel networking product. QUIC/DCUtR and WebRTC can progress concurrently; the best authenticated direct connection commits once and closes the losing direct work, while approved member transit keeps its existing timing and admission rules.
Scope
This is stack 3/4 for #4382. STUN product policy and Desktop presentation are isolated in the next layer.
Verification
cargo fmt --checkcargo clippy --locked --all-targets -- -D warningscargo test --locked(20 focused native tests across the stack)中文
结果
WebRTC 成为同一 connection authority 下的第二条 direct attempt,而不是串行 fallback 或平行网络产品。QUIC/DCUtR 与 WebRTC 可以并行推进;最优的已认证 direct connection 只提交一次并关闭其余 direct work,获批成员转发的时机与准入规则保持不变。
范围
这是 #4382 的第 3/4 层。STUN 产品策略与 Desktop 呈现留在下一层。
验证
cargo fmt --checkcargo clippy --locked --all-targets -- -D warningscargo test --locked(整个 stack 共 20 个聚焦 native tests)AI use
Tool(s) and scope: OpenAI Codex implemented and verified adaptive direct-path selection under human direction. The human contributor owns review and merge decisions.
Checklist