Owned (the residual of my #21935, which PR #21960 re-scopes to naming the flight) and dated by CI: the held flight reds unrelated PRs' components (3/3) shard, so no contributor labels.
Context
test/playwright/component/workstation/WorkstationBoot.spec.mjs's cold-boot Reset test failed on 8 of 39 components (3/3) runs on 22 Nov (Mnemosyne's count on #21914). The sighting on #21911 (job 137204396986): Reset's cycle waitedForTail and never started, and its predecessor stopped after released, inside Reconciler.reconcileProjection. With PR #21960 the next miss names the flight: the predecessor's timing.awaiting.
The Problem
src/dashboard/dock/Workspace.mjs queues every projection behind the current one (waitedForTail), so one reconcile flight that never settles holds every later projection, the user's Reset included. Leaving the flight behind does not help. Sophie's exact-owner replays on PR #21960 (A2A cfa6d368, 51eae5cd; review at 16:09Z) showed why:
- A held component update keeps its component's update latch (
src/vdom/VdomLifecycle.mjs:477–479, :528), and the next update of that component parks behind it (:1480–1485). Reading a swap as landed lets adoption run ahead of it.
- A held overflow read keeps the strip mid-measure (
src/tab/plugin/Overflow.mjs:912–936): measuring and the queued recapture stay set, a withheld tab stays exposed, the width cap stays lifted, and a late reply still writes the width cache and applies a split. An explicit abort of the pass restores the committed strip (:1208–1233).
The Architectural Reality
Workspace.mjs: the projection queue (waitedForTail) and the cycle whose timing carries the stamps.
src/dashboard/dock/projection/Reconciler.mjs#reconcileProjection: every await goes through settleFlight, which stamps <name>Started and <name> and names the wait in flight in timing.awaiting (PR #21960).
- An overflow pass is owned through its
signal. Today only a newer committed document aborts it, and a queued successor never is one.
The Fix
Read the flight from the first stamp receipt, then end it under its owner:
- An overflow read: abort its pass after a bound, through a signal the reconcile owns. The committed strip comes back, the next recapture can run, and a late reply has no effect.
- A component update: find why its latch never releases and release it, instead of timing out its waiter.
Two paths to the held flight (22 Nov, from an e2e in a real App Worker)
The held host is idle with an unsettled promiseUpdate() because its update merged into a staged container whose owed flight never runs. Two ancestor updates cause that:
- Shallow: a depth-1 ancestor update cleared the flag of every descendant. #22016 (PR #22002) fixes it with an e2e red on dev.
- Deep or sparse: an ancestor flight that carries the staged container (depth -1; a fresh container keeps that depth until its own flight) or prunes it (a sparse depth-2 payload, as Sophie found) clears its flag, but collects none of the callbacks merged into it, so the promise still hangs. The red arm: stage the intermediate silently, merge a host update into it, fly the root at -1 (or at 2 with a sibling merged into it), then wake the intermediate on its flag; the host promise never settles. Keeping the covered flag while callbacks wait (
VDomUpdate#owesFlight) fixed the arm and broke DockReload and DockLock (a kept flag with no flight scheduled swallows later merges). The fix belongs in the carrying flight: collect the merge entries of the containers it covers.
Acceptance Criteria
Out of Scope
Naming the flight (#21935 / PR #21960); what makes a flight unanswered under CI load.
Related
#21935 / PR #21960 (the stamps), #21914 / PR #21920 (the test's precondition wait and state capture), #21601 (Reset's queueing behind the cold hydrate), #21838, #21801.
Live latest-open + closed sweep: latest 20 open (newest #21973) + open search ("dock projection Reset held", "waitedForTail", "reconcile flight": #21935 only, this ticket's predecessor) + closed search (#21914, #21601, #21801 read: the test's precondition, Reset's queueing behind the hydrate, the phase stamps; none owns a held reconcile flight) at 2026-11-22T16:2xZ; open count 72 (red band), no owning ticket to fold into once #21935 is re-scoped. A2A in-flight sweep: latest 15 messages, all read-states, 16:2xZ: no claim on this scope. MC: my 11-22 notes on #21911's sighting and #21935's bound. Own open assignments: #21935 (re-scoped to naming).
Origin Session ID: 54c2c0f3-a035-4e41-8425-cd6d2d5abb0b
Retrieval Hint: query_raw_memories("held reconcile flight blocks dock projection Reset waitedForTail latch overflow abort")
Owned (the residual of my #21935, which PR #21960 re-scopes to naming the flight) and dated by CI: the held flight reds unrelated PRs'
components (3/3)shard, so no contributor labels.Context
test/playwright/component/workstation/WorkstationBoot.spec.mjs's cold-boot Reset test failed on 8 of 39components (3/3)runs on 22 Nov (Mnemosyne's count on #21914). The sighting on #21911 (job 137204396986): Reset's cyclewaitedForTailand never started, and its predecessor stopped afterreleased, insideReconciler.reconcileProjection. With PR #21960 the next miss names the flight: the predecessor'stiming.awaiting.The Problem
src/dashboard/dock/Workspace.mjsqueues every projection behind the current one (waitedForTail), so one reconcile flight that never settles holds every later projection, the user's Reset included. Leaving the flight behind does not help. Sophie's exact-owner replays on PR #21960 (A2A cfa6d368, 51eae5cd; review at 16:09Z) showed why:src/vdom/VdomLifecycle.mjs:477–479,:528), and the next update of that component parks behind it (:1480–1485). Reading a swap as landed lets adoption run ahead of it.src/tab/plugin/Overflow.mjs:912–936):measuringand the queued recapture stay set, a withheld tab stays exposed, the width cap stays lifted, and a late reply still writes the width cache and applies a split. An explicit abort of the pass restores the committed strip (:1208–1233).The Architectural Reality
Workspace.mjs: the projection queue (waitedForTail) and the cycle whose timing carries the stamps.src/dashboard/dock/projection/Reconciler.mjs#reconcileProjection: every await goes throughsettleFlight, which stamps<name>Startedand<name>and names the wait in flight intiming.awaiting(PR #21960).signal. Today only a newer committed document aborts it, and a queued successor never is one.The Fix
Read the flight from the first stamp receipt, then end it under its owner:
Two paths to the held flight (22 Nov, from an e2e in a real App Worker)
The held host is idle with an unsettled
promiseUpdate()because its update merged into a staged container whose owed flight never runs. Two ancestor updates cause that:VDomUpdate#owesFlight) fixed the arm and broke DockReload and DockLock (a kept flag with no flight scheduled swallows later merges). The fix belongs in the carrying flight: collect the merge entries of the containers it covers.Acceptance Criteria
timing.awaiting), cited on this ticket.holdCappedPass,test/playwright/unit/tab/plugin/Overflow.spec.mjs:390–441, with an unanswered and a late reply).Out of Scope
Naming the flight (#21935 / PR #21960); what makes a flight unanswered under CI load.
Related
#21935 / PR #21960 (the stamps), #21914 / PR #21920 (the test's precondition wait and state capture), #21601 (Reset's queueing behind the cold hydrate), #21838, #21801.
Live latest-open + closed sweep: latest 20 open (newest #21973) + open search ("dock projection Reset held", "waitedForTail", "reconcile flight": #21935 only, this ticket's predecessor) + closed search (#21914, #21601, #21801 read: the test's precondition, Reset's queueing behind the hydrate, the phase stamps; none owns a held reconcile flight) at 2026-11-22T16:2xZ; open count 72 (red band), no owning ticket to fold into once #21935 is re-scoped. A2A in-flight sweep: latest 15 messages, all read-states, 16:2xZ: no claim on this scope. MC: my 11-22 notes on #21911's sighting and #21935's bound. Own open assignments: #21935 (re-scoped to naming).
Origin Session ID: 54c2c0f3-a035-4e41-8425-cd6d2d5abb0b Retrieval Hint:
query_raw_memories("held reconcile flight blocks dock projection Reset waitedForTail latch overflow abort")