Skip to content

quest: session policy lives in moq-net, finished - #8172

Merged
moq-bot[bot] merged 3 commits into
mainfrom
quest/m1/session-policy/README
Nov 7, 2026
Merged

moq-bot[bot] merged 3 commits into
mainfrom
quest/m1/session-policy/README

Conversation

@kixelated

@kixelated kixelated commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m1/session-policy/README.md. Every child already landed, and the last clause of the Goal ("done when the WebRTC transport's session runs through the same policy") landed with moq-dev/moq#8122. This PR only deletes the epic.

Summary

  • Deletes the epic with quest rm, which drops its links from m1's and m2's Required.
  • Removes session-policy from the held-epic prose in quest/m1/README.md and from Finish the milestone re-cut's Goal, since nothing is left to move.

Goal audit (origin/main at 619f5c8)

Clause Where it lives now
Accept deadline spanning SETUP, admission and the reply, closing with Timeout moq_net::Server::deadline, Accept::with_deadline, Handshake::poll_expired (rs/moq-net/src/server.rs). moq-tokio's Request::within only races it
Connect deadline, reconnect, backoff, GOAWAY walk moq_net::reconnect::Reconnect poll machine (rs/moq-net/src/reconnect.rs). moq-tokio's connection.rs keeps only CLI knobs that resolve to it, the dialer, and Monitor
Widening the receive window on admit Handshake::with_receive_window over the transport set_limits hook (rs/moq-net/src/transport/boxed.rs)
io_uring relay sessions run through Connection and moq-net's accept policy (moq-dev/moq#8082); moq-uring has no client side
WebRTC p2p::Offerer::connect calls Client::connect_with and p2p::Answerer::accept calls Listener::accept_with (rs/moq-webrtc/src/p2p/mod.rs:379, :480)

Choices made without asking

  • Client::connect_with (rs/moq-tokio/src/client.rs:331) bounds the MoQ handshake with a kio::clock::timeout of reconnect::Config::timeout in moq-tokio, rather than a deadline owned by moq_net::Client::connect. I counted this as finished, not leftover work: the value comes from moq-net's policy, the error matches the reconnect path's (Error::ConnectTimeout), and a client giving up on a handshake has no close code to send, the same way Reconnect's Action::Abandon just drops the dial. Adding Connect::with_deadline to moq-net would be a new public surface whose only consumer replaces six lines.
  • Overlap check: moq-dev/moq#8115 (socket roles) and moq-dev/moq#8023 (lite-07 route layer) touch nearby Rust code but don't do this work. This PR changes only quest files, so they can't conflict with it.

Public API

None. Wire: none.

Validation

  • quest check --base origin/main: ok (584 documents).
  • cargo test -p moq-webrtc --features p2p --lib p2p: 22 passed, including session_over_loopback, zero_timeout_is_unbounded, and a_drain_waits_for_an_establishing_peer, which exercise the handoffs.

Review

mechanical fix by quest land watch: merged main at 738c82bfbb93fe3bf6ba45a0e09a03203b895fd9 with the quest merge driver (head 549a6ea)

Round 1: quest review with Codex, gpt-6.1-sol at medium effort, on head 6c3d11bdc7a8ad767868434b680fb7cbaaee3b6f against origin/main at 619f5c8b3f. No findings.

Follow-ups

None.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

kixelated and others added 2 commits November 7, 2026 08:17
moq-webrtc's data channel transport runs its sessions through
Client::connect_with and Listener::accept_with (#8122), the last clause of
the epic's Goal, so the epic is deleted along with every link to it and the
held-epic prose that named it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Session policy lives in moq-net quest: session policy lives in moq-net, finished Nov 7, 2026
@kixelated
kixelated marked this pull request as ready for review November 7, 2026 16:20
@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 254e7ce8-f8d5-41df-8009-161953826dc6
Commits

Reviewing files that changed from the base of the PR and between 738c82b and 549a6ea.

Files selected for processing: 4

  • quest/m1/README.md
  • quest/m1/session-policy/README.md
  • quest/m2/README.md
  • quest/m2/recut-held.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review by review (OpenAI)

Reviewed head 6c3d11b.

The completion cleanup is consistent with the current handoffs: WebRTC uses Client::connect_with / Listener::accept_with, and accept deadlines and admission/window policy are owned by moq-net. The documented connect_with timeout wrapper uses the shared policy value; removing the finished epic and its milestone links is a reasonable direction. No actionable findings in this four-file documentation change. Verification: GitHub-only static review of the diff and relevant WebRTC, tokio, server and reconnect code; I did not run tests or independently reproduce the entire goal audit.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Epic deleted — quest/m1/session-policy/README.md is removed, and its bullet is dropped from the Required lists in quest/m1/README.md and quest/m2/README.md.
  • Held-epic prose updated — session-policy is removed from the held list in quest/m1/README.md and from quest/m2/recut-held.md's Goal, leaving api-audit, drop-set, rind, and stream-credit intact.

I verified there are no remaining session-policy references anywhere in the repo, and spot-checked the goal-audit claims against source: Server::deadline / Accept::with_deadline / Handshake::poll_expired / with_receive_window in rs/moq-net/src/server.rs, Reconnect / Action::Abandon in rs/moq-net/src/reconnect.rs, the set_limits transport hook in rs/moq-net/src/transport/boxed.rs, and connect_with / accept_with in rs/moq-webrtc/src/p2p/mod.rs:379,480. The epic is genuinely finished and the deletion is consistent across every doc that referenced it.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@kixelated
kixelated added this pull request to the merge queue Nov 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 7, 2026
@moq-bot

moq-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

quest land watch: the merge queue removed this pull request at 6c3d11b because it conflicts with main (merge_conflict).

The land fixer works on it in the background, and the watcher re-enqueues it at the back of the queue once it is fixed or judged flaky, or hands it back here with what it needs.

(written by quest land watch)

@moq-bot
moq-bot Bot added this pull request to the merge queue Nov 7, 2026
@moq-bot

moq-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

quest land watch: re-enqueued this pull request at 549a6ea, at the back of the merge queue, with main at 738c82b merged in by the quest merge driver.

(written by quest land watch)

Merged via the queue into main with commit c441970 Nov 7, 2026
9 of 10 checks passed
@moq-bot
moq-bot Bot deleted the quest/m1/session-policy/README branch November 7, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant