moq-net: a group created after its drop reaches a publisher's readers but never a relay's
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- networking
Research direction
Start with the parity model in rs/moq-net/tests/integration/publisher_accounting.rs, especially the parity module and History::recreates, then trace how Requests::drop_groups and SUBSCRIBE_DROP handle a fill that is answered with a drop. Reproduce the listed histories and compare direct readers with one and two relay links. The issue needs a decision on whether to document the behavior or change the lite-07 wire protocol; completion means settling that choice and updating the parity coverage.
Written by the indexing model from the issue text.
Description
Found by the cache-parity kio::model sweep in https://github.com/moq-dev/moq/pull/10446 (rs/moq-net/tests/integration/publisher_accounting.rs, parity module), which reads a publisher's track directly and through relay copies and requires both to match.
Divergence: a group the publisher creates after a reader's fill for its key was answered with a drop reaches readers of the publisher's own track, but never a relay's readers.
Shortest histories (steps before | run before the readers subscribe from key 0, the rest after; direct is 0 links, relay is 1 or 2):
[Append(0), DropGroups(1..2)] | [Append(1), Finish]: direct arrival reader gets groups 0 and 1; relay arrival readers get only group 0.[Create(2), <fill handler dropping every fill>] | [Create(0)]: direct arrival reader gets groups 0 and 2; relay arrival readers get only group 2.[DropGroups(1..2)] | [Create(1), Finish](writer handle held): direct arrival reader gets group 1; relay arrival readers never do.
The draft makes SUBSCRIBE_DROP final on its subscription and has a reader still owed the group ask on a request of its own. A relay reader whose own fill was answered with a drop settles the key, and nothing tells the relay that the publisher created it later, while a local reader of the publisher's track sees the group land.
Options:
- Accept and document: a group created after its drop reaches only readers that hadn't settled its key yet.
Requests::drop_groupsandSUBSCRIBE_DROPalready describe a drop as the publisher having no copy, so creating the group afterwards is unusual. No wire change. - Make the wire carry it: let a publisher deliver a group stream for a start it already named in
SUBSCRIBE_DROP, or keep a fill's drop open until the end. This is a lite-07 wire change, so it has to land before the freeze.
The parity model leaves these histories out (History::recreates) until this is settled.
(Written by Claude Opus 5.5 with high)
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 251
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 822
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moq-dev/moq
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
moq-dev/moq#10460 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
moq-dev/moq#10373 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
moq-dev/moq#10336 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
lbjlaq/Antigravity-Manager#4180 ·
Maintainers usually reply within 1 day
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zizmorcore/zizmor#2608 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
longbridge/nsh#4201 ·
Maintainers usually reply within 1 day