moq-net: a finished track's arrival reader holds back a group created below its end
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- backend-api-design, testing
Research direction
Start with rs/moq-net/tests/integration/publisher_accounting.rs, especially the parity module and parity::History::step; read cold_copies_read_as_the_source and the rule that excludes Create after Finish. Remove that exclusion and run the named test. Done when the direct publisher and relay arrival readers agree on when group 2 is returned, while the ordered-reader behavior and release history still pass.
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).
Divergence: an arrival reader (Subscriber::recv_group) subscribed to a track that already finished doesn't return a group created below the end after it subscribed. It returns the group only once the keys still owed below it settle. A relay's arrival reader returns the same group as soon as it lands.
Shortest history (writer handle held, so key 1 stays owed): [Create(2), Finish] | [Create(0)].
- Direct (reading the publisher's track): ordered
group 0, then pending; arrivalgroup 2, then pending. - One or two relay hops: ordered
group 0, then pending; arrivalgroup 0,group 2, then pending.
With Release added after Create(0), every path reads group 0, group 2, end, so only when the reader gets the group differs, not which groups it gets.
Steps to reproduce: in parity::History::step, remove the exclusion that disables Create after Finish and run cold_copies_read_as_the_source.
(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