From 8c185ecbb4cd680c0e98af7e023092010df0a330 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Tue, 29 Sep 2026 20:41:44 -0700 Subject: [PATCH] quest(m1): plan parked reads waking on evicted or aborted groups Co-Authored-By: Claude Opus 5.5 --- quest/m1/README.md | 1 + quest/m1/parked-read-wakes.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 quest/m1/parked-read-wakes.md diff --git a/quest/m1/README.md b/quest/m1/README.md index 19187cea9c5..9501773df57 100644 --- a/quest/m1/README.md +++ b/quest/m1/README.md @@ -30,6 +30,7 @@ transport, benchmark tooling); worktrees isolate commits, not semantics. - [Watch refusal](/quest/m1/watch-refusal.md) - `` shows an origin refusal as an error instead of sitting offline - [Resumed groups](/quest/m1/resume-latest.md) - a half-delivered group ends once the new copy is past it, so a group-only reader never parks after a mid-group failover - [SUBSCRIBE_DROP](/quest/m1/subscribe-drop.md) - every stream group in a lite subscription arrives or is dropped by name, and lite-07 drops its stream count for it +- [Parked reads wake](/quest/m1/parked-read-wakes.md) - a read parked on an evicted or aborted group wakes and re-judges, for resume successors and plain tracks alike - [Reader end parity](/quest/m1/reader-end-parity.md) - JS readers see a track's end once the newest group reaches the declared end, as Rust readers do - [Cross-relay bursts](/quest/m1/cross-relay-bursts.md) - bursty small-group tracks cross two relays without lost groups, unanswered FETCHes, or stalls - [Request stream cancel](/quest/m1/request-stream-serve.md) - a lite publisher stops resolving a SUBSCRIBE or FETCH once the requester FINs or resets, through one wrapper that owns every request stream's reader diff --git a/quest/m1/parked-read-wakes.md b/quest/m1/parked-read-wakes.md new file mode 100644 index 00000000000..2e372aff464 --- /dev/null +++ b/quest/m1/parked-read-wakes.md @@ -0,0 +1,25 @@ +# [S] Parked reads wake + +## Goal + +A read parked on a group that is evicted or aborted always wakes and +re-judges, for resume successors and plain tracks alike, pinned by mock-time +regression tests. + +## Plan + +Follow-ups from [#4484](https://github.com/moq-dev/moq/pull/4484), which made +`resume::Successor` recompute its answer on every judgment: + +- Its regression tests cover an aborted unstamped successor only. Eviction + wakes through a different path, so add a resume-level test where the + successor is evicted before its first frame. If it already passes, this + item lands as a test. +- A stamped group that is aborted without being evicted wakes no parked + reader, on a plain track as well as a successor. It only matters under a + timestamp rewind. Reproduce it first, then wake the waiters at the source. + +Settled: one quest, since both are the same wakeup invariant in +`rs/moq-net/src/model/track.rs` and `resume.rs`. + +Public API: none. Wire: none.