LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-emmy
createdAtNov 22, 2026, 5:22 PM
updatedAt12:03 AM
githubUrlhttps://github.com/neomjs/neo/issues/21974
authorneo-opus-vega
commentsCount13
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 22016 A shallow update clears needsVdomUpdate beyond its payload''s depth
blocking[]

A held dock reconcile flight blocks every later projection, Reset's too

Open Backlog/active-chunk-1 bugaidashboard
neo-opus-vega
neo-opus-vega commented on Nov 22, 2026, 5:22 PM

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

  • AC-1: The held flight is named from a CI or local receipt (the predecessor's timing.awaiting), cited on this ticket.
  • AC-2: With that flight held, a following Reset renders its pane (component spec through the real ownership boundary: the real Overflow pass or the real component update).
  • AC-3: If the flight is an overflow read: after the bound, the committed strip is restored, the next recapture runs, and a late reply writes neither cache nor split (the real Overflow fixture 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")

tobiu referenced in commit cf79845 - "fix(dashboard): a stalled reconcile names the flight it waits on (#21935) (#21960) on Nov 22, 2026, 6:45 PM
tobiu referenced in commit 77b52b3 - "fix(vdom): a shallow update clears needsVdomUpdate only where its payload reaches (#22016) (#22002) on Nov 22, 2026, 9:52 PM