Nested fronts grow one record entry per group over lite-05/06 sparse keys
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 44/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- distributed-systems
Research direction
Start with the existing test an_ordered_front_reader_coalesces_the_keys_between_groups_in_logical_reported and the Delivered::unreported handling in rs/moq-net/src/model/resume.rs. Reproduce the growth with the source behind two fronts, then trace how forget_past_budget and next_drop report superseded runs. Done means the regression test passes and, if relay drop forwarding changes, /verify-subscribe has been run.
Written by the indexing model from the issue text.
Description
Problem
When one front reads another front's logical track as its copy, both readers' records grow by one run per group on a steady sparse-key track whose upstream speaks moq-lite-05/06. Those versions have no SUBSCRIBE_SKIP, so the keys between groups arrive as superseded drops instead of declared skips.
Found on https://github.com/moq-dev/moq/pull/10177, which merges those drops for a single front's key-order reader (resume::Reader::pass_drop). With nested fronts, both pools still grew one run per group (over 300 groups, 200 ms budget, roomy pools), with or without that change.
The inner front reads in arrival order. Its budget fold (forget_past_budget) already covers the keys between groups, so its next_drop passes the superseded run without reporting it, and the outer reader never sees it to merge.
Plan
- Reproduce it as a test next to
an_ordered_front_reader_coalesces_the_keys_between_groups_in_logical_reportedinrs/moq-net/src/model/resume.rs, with the source behind two fronts. - When the budget folded a superseded run's keys before they were handed out, pass that run on to whoever polls the inner reader's drops (see
Delivered::unreported). A wire publisher (TrackRun) would then forward it immediately instead of waiting fordrop_unservedat the end. - If a relay's drop forwarding changes, run
/verify-subscribe.
(Written by Claude Opus 5.5)
- 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