Skip to content

quest(m1): plan a non-Clone group producer - #5892

Merged
kixelated merged 4 commits into
mainfrom
quest/plan-group-writer
Oct 19, 2026
Merged

kixelated merged 4 commits into
mainfrom
quest/plan-group-writer

Conversation

@kixelated

@kixelated kixelated commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Plans the follow-up the maintainer chose on #5725: make moq_net::group::Producer non-Clone. Quests only; no code.

Changes

  • New quest/m1/public-model/group-writer.md [M]: one public writer with no Clone, plus a crate-private group::Handle that cannot write or finish. The handle covers the track cache slots, the reader handoff, aborts through &self, and the wire ingest's observers. frame::ProducerOwned takes the writer by value. The quest also lists every clone site from a compile probe on feat(net)!: stream the largest track location #5725's head, and the teardown behavior change to verify with mock-time tests.
  • public-model/ingest.md: its owned frame writer decision (quest(m1): plan the public model surface #5717) already said "drop public Clone". That half moves to the new quest, and ingest keeps the public owned chunked writer. It now requires the new quest and records new evidence: callers holding &mut group::Producer (hang Frame::write_to, moq-mux LOC and fMP4 encode) cannot call a consuming create_frame(self).
  • public-model/README.md: lists the new child, ranked before ingest.

Rebased onto main after #5725 merged, so the quest is ready: its Plan builds on #5725's group-lock ordering and loom model. Review (Codex) added two requirements: a writer dropped unfinished commits an abort so a surviving handle stops serving the group and the sequence can be recreated, and the MIGRATE.md entry names the replacements for former clones.

Decisions (paper trail)

Settled by the maintainer on 2026-10-18, on this PR:

  1. Milestone: m1 under the public-model epic ✅, since quest(m1): plan the public model surface #5717 already put the Clone removal in m1's public ingest; m2.
  2. Scope vs ingest: Clone removal and the handle here, public owned chunked writer stays in ingest, which requires this quest ✅; absorb the owned writer too.
  3. Handle name: group::Handle ✅; group::Shared; group::Watch.
  4. Error::FrameOpen: delete it, with the check as a debug_assert ✅; keep it as a backstop.
  5. finish: finish(&mut self) like every other write ✅; keep &self.
  6. Deref<Target = Info>: keep it and name the silent Info copy in MIGRATE.md ✅; replace it with an info() getter.

Public API: none (quests only). The planned work is a breaking moq-net change with a MIGRATE.md entry. Wire: none.

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 18, 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 4 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
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 57f1d67d-0846-4822-8595-8d15978a0291
📥 Commits

Reviewing files that changed from the base of the PR and between 7b2d102 and fcee2aa.

📒 Files selected for processing: 3
  • quest/m1/public-model/README.md
  • quest/m1/public-model/group-writer.md
  • quest/m1/public-model/ingest.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 18, 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-18T05:34:00.919374Z fcee2aa 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.

kixelated added a commit that referenced this pull request Oct 18, 2026
The maintainer settled the handle name, FrameOpen, finish, and Deref on
#5892.

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

@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: 4efe434247

ℹ️ 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 thread quest/m1/public-model/group-writer.md Resolved
Comment thread quest/m1/public-model/group-writer.md Resolved
kixelated and others added 4 commits October 17, 2026 22:29
Split the Clone removal out of public ingest into its own quest, a
follow-up to #5725.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The maintainer settled the handle name, FrameOpen, finish, and Deref on
#5892.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A surviving handle must not keep serving a released group or block its
replacement. Spell out the MIGRATE.md replacements for former clones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated force-pushed the quest/plan-group-writer branch from 2a75347 to fcee2aa Compare October 18, 2026 05:29
@kixelated

Copy link
Copy Markdown
Collaborator Author

@codex review

(Written by Claude Opus 5.5)

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: fcee2aa686

ℹ️ 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 19, 2026
Merged via the queue into main with commit 1dd9b83 Oct 19, 2026
10 checks passed
@kixelated
kixelated deleted the quest/plan-group-writer branch October 19, 2026 05:09
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