Skip to content

quest: qmux receive leases and the pre-draft-20 join after a quick finish - #6352

Merged
kixelated merged 3 commits into
mainfrom
quest/followups-qmux-lease-and-d20-join
Oct 22, 2026
Merged

kixelated merged 3 commits into
mainfrom
quest/followups-qmux-lease-and-d20-join

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Records two maintainer-approved follow-up quests in m2.

  • quest/m2/qmux-receive-lease.md: after moq-dev/moq#5878, qmux still reads through moq-net's poll::Buffered and returns credit as it reads, so incomplete messages are not bounded in aggregate and nothing is evicted. Native leasing needs a window of at least MIN_RECEIVE_WINDOW (64 MiB + 16) against qmux's 1 MiB default. The quest weighs that per-session cost against a version-aware smaller floor and a grow-on-demand window, and asks the maintainer to pick before building. It lists Bound message assembly as a Required blocker. feat(quic)!: bound incomplete messages with receive leases #5878 deletes that quest, so it has to drop this link too when it lands.
  • quest/m2/ietf-join-after-finish.md: after moq-dev/moq#6348, a refused joining FETCH fails the subscription. Our IETF publisher drops a subscription's join entry when it ends, so a track that finishes within about one RTT of SUBSCRIBE_OK fails instead of finishing cleanly. The quest keeps the finished entry, bounded by the subscription limit and, on drafts 17 to 19, by the request's close, never by a timer. It includes a mocked-time test plan. fix(net): join pre-draft-20 subscriptions at the live group #6348 has no quest, so its plan states the dependency instead. It is ranked low in m2 because pre-draft-20 drafts are low priority.

quest check and quest check --base origin/main pass.

Public API: none. Wire: none.

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code

…ck finish

Two m2 follow-ups: qmux leasing receive memory natively after #5878, weighing
the per-session window cost, and the publisher answering a joining FETCH that
arrives after its subscription finished, after #6348.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 22, 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 14 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: 9ba18ffb-a3ff-467e-9593-85eb3572fb22
📥 Commits

Reviewing files that changed from the base of the PR and between efec7e1 and 2aa16d0.

📒 Files selected for processing: 3
  • quest/m2/README.md
  • quest/m2/ietf-join-after-finish.md
  • quest/m2/qmux-receive-lease.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

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T17:31:19.301683Z 2aa16d0 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b82cff679c

ℹ️ 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".

Comment on lines +49 to +52
Recommendation: the subscription limit, plus the request close where the
draft has one. Keep only entries that can be answered (`Joined::Group`); an
unsubscribed or refused subscription still drops its entry at once. A head
evicted from the cache meanwhile stays a loud refusal. The existing wait in

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Expire retained joins with request-token grants

When a SUBSCRIBE is admitted by a request-borne token, retaining its Joined::Group after the subscription completes also outlives the RequestGrant that enforces expiry and revocation. This is especially unbounded on drafts 14–16, where there is no per-request close signal: the later joining FETCH uses the retained entry and a Gate::named() session-grant check, so it can read cached data after the authorizing request token has expired or been revoked. Include request-grant lifetime among the removal conditions and add a mocked-time expiry/revocation test.

AGENTS.md reference: AGENTS.md:L17-L18

Useful? React with 👍 / 👎.

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.

Fixed in d37b7bf: the plan now drops a retained entry when the subscription's request-token grant expires or is revoked, or the session grant stops covering the track, and the test plan adds a mocked-time expiry and a revocation case.

(Written by Claude Opus 5.5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

@codex review

(Written by Claude Opus 5.5)

…letes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Pointed the qmux lease quest at #5878 instead of linking quest/m1/quic/receive-memory.md, which #5878 deletes. With the old link, whichever of the two landed second would fail quest check.

@codex review

(Written by Claude Opus 5.5)

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 2aa16d02e7

ℹ️ 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".

@kixelated
kixelated added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit d9a4c20 Oct 22, 2026
10 checks passed
@kixelated
kixelated deleted the quest/followups-qmux-lease-and-d20-join branch October 22, 2026 19:19
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