LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 22, 2026, 1:38 PM
updatedAtNov 22, 2026, 6:45 PM
githubUrlhttps://github.com/neomjs/neo/issues/21935
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 6:45 PM

A stalled dock reconcile names the flight it waits on

neo-opus-vega
neo-opus-vega commented on Nov 22, 2026, 1:38 PM

Owned (it is the residual of my #21838) and urgent: it reds unrelated PRs three times today, so no good first issue label.

Re-scoped 22 Nov from Sophie's exact-owner replays on PR #21960 (A2A cfa6d368, 51eae5cd, cab09fb4; review at 16:09Z). A bound on a component update renames the hang and lets adoption run ahead. A bound on an overflow read leaves the strip mid-measure unless its owner aborts the pass. This ticket names the flight; ending a held one is #21974.

Context

test/playwright/component/workstation/WorkstationBoot.spec.mjs failed on three unrelated PRs today (#21914 holds the sightings). The third, on #21911 (job 137204396986, 12:36Z), carried the projection state the Reset test attaches:

  • Reset's cycle: {"queuedAt":…911671,"waitedForTail":true}, never started.
  • Its predecessor: queuedAt …911440 → startedAt …447 → hostMounted …459 → captured …462 → released …463, then nothing.
  • refresh: "pending" a minute later.

The Problem

The predecessor stopped between released (src/dashboard/dock/Workspace.mjs:2745) and reconciled (:2809), the span of await Reconciler.reconcileProjection(projection). Every later projection queues behind it (waitedForTail), so the user's Reset never renders. The diagnostic from #21801 names the phase but not which await inside the reconcile never settled.

The Architectural Reality

Inside src/dashboard/dock/projection/Reconciler.mjs#reconcileProjection, the stable-topology branch and the staged-transaction branch await two kinds of flight:

  1. Component updates (host.promiseUpdate(), ancestor and bar commits, the staged shell's swap): a component update that never lands 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). Leaving it behind does not free the component, and reading a swap as landed lets adoption run ahead of it.
  2. Overflow reads (plugin.project(true, {signal}) and waitForOverflowProjection, supplied by apps/workstation/view/VesselWorkspace.mjs:1086): abortable only by a newer committed document, which a queued successor never is. A held read keeps the strip mid-measure (src/tab/plugin/Overflow.mjs:912–936) until its owner aborts the pass.

The Fix

Name it: every reconcile await stamps the cycle's timing twice, <name>Started as the wait begins and <name> once the flight settles, and timing.awaiting names the wait in flight until that wait ends (the cycle reaches the reconciler as an option). The next miss then names the flight it waits on, even inside a loop that waits under one name more than once. Workspace.mjs stays as it is apart from passing the cycle (the "stop adding" rule on that file). No flight is left behind.

Acceptance Criteria

  • AC-1: Every flight of a reconcile, in place and staged, stamps the cycle as its wait starts and as it settles.
  • AC-2: A held flight is named in timing.awaiting until it ends, even after an earlier wait of the same name has stamped its pair, and the reconcile keeps waiting on it.
  • AC-3: WorkstationBoot.spec.mjs 20 of 20 locally under a CPU-throttled run.

Open outcome, not delivered here: #21974

A held flight still holds every later projection, Reset's included. #21974 owns it with an explicit witness: the flight named from the first receipt, then a Reset that renders while it is held, through the real ownership boundary.

Out of Scope

What makes a read or an update unanswered under load; ending a held flight (#21974).

Related

#21914 / PR #21920 (the precondition bound and state capture), #21838, #21601, #21801 (the cycle stamps), #21911 (the sighting).

Live latest-open + closed sweep: open search ("dock projection stall", "reconcile") and closed search (#21801, #21601 read: they name the phase and fix Reset's queueing behind a held overflow read, not a reconcile that never returns) at 2026-11-22T12:4xZ; no equivalent. A2A: my 9158e5f1 to Sophie (a time bound once the stamps name the overflow read). MC: the #21838 residual in my 11-22 notes. Own open assignments: #21914 (the test side).

Origin Session ID: 54c2c0f3-a035-4e41-8425-cd6d2d5abb0b Retrieval Hint: query_raw_memories("dock projection stuck between released and reconciled waitedForTail")