Repository navigation
quest: plan time-keyed start follow-ups from a relay START trace - #9580
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
kixel-ai/kixel.ai#269 traced a time-keyed reader's hang to moq-net, which moq-dev/moq#9534 fixed. That trace left two follow-ups for this tree, and the maintainer kept both on 2026-11-24:
main. A relay lowers its downstream START to 0 for a speculative fill, but fix(net): a track's first appended group skips every key below it #9534's skip of the keys below the first group always arrives ahead of that lowered START.create_groupreads differently locally and through a relay copy that a latest-group reader filled first.Approach
This PR adds two quests:
quest/m4/time-keyed-warmed-relay-test.md: a regression test intime_keyed_start.rsfor an oldest-group reader behind a relay copy that a latest-group reader filled first. It goes in m4 because it is a test nobody waits on.quest/m3/created-first-group-relay-parity.md: make that reader of a finished,create_group-first track get the same answer locally and through a relay. It goes in m3 because it is a bug fix in shipped code.I reproduced the m3 bug before planning it, using a scratch integration test (not committed) on
mainat2d3bc05f09. With a created first group at key K on a finished track, a lateStart::Oldestascending reader gotgap 0..K not foundlocally and through 1 or 2 relays with no earlier reader. It gotgroup Konly through a relay copy that aStart::LATESTreader had filled first. With an appended first group, all 6 combinations readgroup K, so the m4 test's case passes onmain.Impact
None (quest files only).
Alternatives
Follow-ups
None.
Related, not duplicated: moq-dev/moq#9529 adds
quest/m1/relayed-refused-fill-gap.md, the converse case (a relayed reader reports a gap that a direct reader does not). moq-dev/moq#9564 addsquest/m1/finished-copy-empty-start.md, about a finished copy's empty START answer. Neither owns these two cases.Validation
quest checkpasses, apart from pre-existing skill-drift notices from the localquestbinary.cargo test -p moq-net --features async --test integration.Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code
Review
Rewritten by
quest reviewafter each round.The change only adds two quest plan markdown files (quest/m3/created-first-group-relay-parity.md and quest/m4/time-keyed-warmed-relay-test.md); nothing a consumer, peer, or release reads can break, and a revert fully undoes it.7dff0e61-4e60-41b0-b01e-bef8d5d714e3