Repository navigation
quest(m2): plan keying groups by frame 0 and removing group timestamps - #9821
Merged
Merged
Conversation
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
Group timestamps are currently supplied separately from frame 0's timestamp (
append_group(start)/create_group(Info { start })), allowing empty groups, start-vs-frame-0 mismatches, rollback glue on failed frame-0 writes, and forcingmoq-lite-07to carry a zigzag delta on a stream's firstFRAME.Approach
Add
quest/m2/group-frame-timestamps.md([L]) inm2, requiring/quest/m2/timestamp-ids.mdand gating/quest/m2/lite07-finalize.md, and record the 2026-11-27 decisions inquest/m2/lite07-finalize.mdandquest/m2/README.md.Planned structure:
[L]quest/m2/group-frame-timestamps.mdinm2(breaking API andlite-07-wipwire change before the 0.22 cut).quest/m2/lite07-finalize.md(addsgroup-frame-timestamps.mdunder## Requiredand records the decision) andquest/m2/README.md(records the decision).Impact
Alternatives
quest/m2/timestamp-ids): rejected because feat(net,mux)!: moq-timestamp-03 Object IDs and monotonic lite-07 timestamps #9794 has an active branch past 3 review rounds with 12,910 passing tests, andmoq-lite-07-wipis still unpublished.append_group(): rejected because it turnsgroup.startintoOptionand introduces a pre-frame-0 error state onconsume,ready,finish,finish_at, andmoq_publish_group_start.Decisions
Interview on 2026-11-27 with the maintainer:
m2quest after feat(net,mux)!: moq-timestamp-03 Object IDs and monotonic lite-07 timestamps #9794, gatinglite07-finalize.md(rejected: fold into PR feat(net,mux)!: moq-timestamp-03 Object IDs and monotonic lite-07 timestamps #9794, drop).GROUP_END(finish_at): ✅ KeepGROUP_END(End Delta) as the last frame's exclusive end, since duration is not a frame property (that adds a frame of latency).append_group(frame)/create_group(frame)+ streamedappend_frame(info)/create_frame(info)returningframe::Producerwhose.finish()returnsgroup::Producer), unified for timed and scale-less tracks (rejected: lazy uncommittedappend_group(), splitting timed vs. untimed creation APIs).moq-mux/moq-ffi/libmoqseek(start): ✅ Removeseek(start)frommoq-mux,moq-ffi,libmoq, and all bindings (rejected: keepseek(start)as a minimum-start floor or unskipped-gap helper).track::Producer::drop_groups(range, err)in Rust and JS, mirroringskip_groups, somoq-archiveand replay producers can fail missing keys without empty groups (rejected: keepdrop_groupsprivate and havemoq-archivecallskip_groups).lite-05/06,draft-18..22): ✅ Re-key groups by frame 0's timestamp on arrival; ignore empty legacy groups and reject unsupported by-key history requests before cache lookup (carried from feat(net,mux)!: moq-timestamp-03 Object IDs and monotonic lite-07 timestamps #9794 Decision C; rejected: leave older-version copies unchecked).Follow-ups
quest/m2/group-frame-timestamps.md(added by this PR; no openWaitingitems).Validation
On head
e5bf2705e0:quest check: passed (575 documents checked).quest gate just ci: passed (biome, markdown, gh, quest, shell, large_files, text, toml, nix, justfile).Models
Size: S
Implementer: Antigravity, gemini-4-neon, high effort
(Written by Gemini 4 Neon with high effort)