LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 20, 2026, 6:15 PM
updatedAtNov 22, 2026, 2:39 AM
githubUrlhttps://github.com/neomjs/neo/issues/21601
authorneo-opus-grace
commentsCount15
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 2:39 AM

A cold-boot Reset commits the Feed to main but never renders it

Closed v14.0.0/archive-v14-0-0-chunk-5 bugaitestingdashboard
neo-opus-grace
neo-opus-grace commented on Nov 20, 2026, 6:15 PM

Context

#21209 (closed by PR #21264) split the cold-boot Reset test in test/playwright/component/workstation/WorkstationBoot.spec.mjs into two observations. Lines 262-271 poll the persisted topology until main lists the Feed and its window workspace is empty. Line 273 then waits 60 s for the Feed pane in the DOM. The first failure (run 44000812835, read on #21209) could not tell a slow projection from a stalled one. #21209 recorded that a stall makes AC-3, a reproducing test plus the fix, the next step.

On 2026-11-20, PR #21600's Engine Tests answered it (run 44778016222, job 136434477604, components (3/3), reported by @neo-gemini-maryam):

Error: Reset returns the retained pane to the default arrangement
expect(locator).toBeVisible() failed
Locator: locator('.workstation-pane-feed:not(.workstation-placeholder)').first()
Timeout: 60000ms
Error: element(s) not found
  > 273 |                 .toBeVisible({timeout: 60000})
  • Observed: line 271 passed. The persisted topology reads {main: true, vessel: []}, so Reset committed the Feed into workstation-main and emptied workstation-vessel:feed.
  • Observed: the Feed pane never appeared within 60 s, and the test's 150 s budget did not cut the wait (223 passed, 1 failed).
  • Observed: #21600's head (d3fd00aae9) contains #21582 (merged 2026-11-20 15:21Z), which parks commits on a headless DockWorkspace until it mounts. The stall happens with that change in place. Whether #21582 changed its shape is not known, because the Nov 17 run predates it.
  • Not known: where the projection stops. It is seen on hosted CI only and is not yet reproduced locally.

The Problem

A cold boot that retains a saved window workspace builds that workspace headless (no window, not mounted). Reset then moves the Feed back into the main workspace. The document commit lands, but the main workspace never shows the pane. Inferred from the test, not yet seen by hand: a user who resets after reopening the Workstation loses the Feed until a reload. The component test fails intermittently on hosted CI and reds unrelated PRs.

The Architectural Reality

  • apps/workstation/view/Workspace.mjs:240 resetTopology(name) commits the default topology: main holds the Feed, and the window workspace list is empty.
  • At cold boot the Feed's pane lives in the retained PopupWorkspace workstation-vessel:feed. It is created headless by apps/workstation/view/VesselWorkspace.mjs:253 (createPopupWorkspace(..., {committed: true, windowId: null})) and extends Neo.dashboard.dock.Workspace without a dockHostReference.
  • src/dashboard/dock/Workspace.mjs#refreshDockWorkspace parks a headless host's projection in departedProjection until afterSetMounted replays it (#21582). Before #21582 the same call waited in promiseUpdate(). The vessel workspace never mounts after Reset empties it.
  • Hypothesis, needs V-B-A before any fix: the main workspace's projection waits on the vessel workspace to release the Feed pane, and that release sits in a parked (or, before #21582, hanging) projection of a workspace that will never mount.

Design authority: n/a, a defect excuse applies (the fenced error and failing spec above). Reset's intended outcome is the spec's own assertion, "Reset returns the retained pane to the default arrangement".

The Fix

  1. Reproduce it deterministically: a cold boot with a retained window workspace, then Reset, with the vessel workspace's projection held open or parked. Use CPU throttling locally if the hold alone does not trigger it. This is #21209's AC-3 test.
  2. Trace where the Feed pane stops between workstation-vessel:feed and workstation-main, and fix it at the owner. That is likely the transfer out of a headless workspace, not the test's waits.

Contract Ledger

Claimer-authored (Vega, PR #21838), from what the PR ships.

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
Workspace#projectionAbort and #getProjectionAbort() (src/dashboard/dock/Workspace.mjs) this ticket; Sophie's fence (accepted on the ticket) each commit creates one supersession and aborts the one before it, in flight or queued; a refresh queued outside a commit joins the one current when it is queued none bound yet → getProjectionAbort() binds one, so only a commit ever replaces it member and method JSDoc DockWorkspace "a newer commit supersedes the refresh in flight and any still queued, and an obsolete catalog releases no pane"; TourController "a direct projection queued behind a held refresh answers to the commit after it, not to a signal of its own"
Workspace#refreshDockWorkspace(tabInsertDescriptor, document, refreshOptions, cycle, abort=null) same a superseded refresh still adopts its landed document, and skips releaseDeclaredPanes, the collaborator syncs, the FLIP and afterRefreshDockWorkspace; the refresh that superseded it runs them against the current catalog abort omitted → getProjectionAbort(): every existing caller keeps the newest-commit binding method JSDoc the DockWorkspace arm above; WorkstationBoot.spec "a cold-boot Reset renders its pane while an older projection's overflow read is still unanswered"
Reconciler.reconcileProjection(projection), projection.signal (src/dashboard/dock/projection/Reconciler.mjs) same forwards the signal to each overflow recapture it awaits, so an unanswered read cannot hold a newer projection signal omitted → null: the recaptures run as before method JSDoc DockProjectionReconciler "the overflow recaptures a projection starts carry its supersession signal, staged and in place"
Overflow#project(recapture, {signal}={}), #ownsCap(button) (src/tab/plugin/Overflow.mjs) same an aborted pass stops before its cache and split writes, hands the strip back as the last committed split left it, returns only the caps it still owns, and hands its queued re-run to its successor options omitted → signal: null: the pass runs to its end as before method JSDoc Overflow.spec: "a superseded caller releases a pass whose read never answers: the latch clears and the strip is handed back", "an aborted pass hands back no cap that another strip's plugin owns by then", "a read that answers after its caller was superseded writes no cache and no split", "a superseded pass hands its queued re-run to its successor instead of starting it", "a caller superseded before its recapture starts measures nothing"
Toolbar#measureRevealGeneration (src/toolbar/Base.mjs) same a reveal restore that resumes after a newer reveal began leaves that reveal on n/a member JSDoc Actions.spec "a restore that resumes after a newer reveal began leaves that reveal on"
Workstation VesselWorkspace#animationSuppressedBars (apps/workstation/view/VesselWorkspace.mjs) Sophie's review RA-1 on PR #21838 the bars a superseded or failed refresh suppressed stay owned, and the next refresh restores them after its own animation window; a bar that carried neo-no-animation before either refresh is never owned; a destroyed bar is skipped n/a member and method JSDoc apps/workstation/Workspace.spec "a superseded refresh leaves its suppressed tab bars to the next one"
AC-2's hosted receipt this ticket WorkstationBoot.spec "a cold boot retains the saved workspace and Reset brings its pane back" passes on three consecutive hosted components runs n/a PR body, Test Evidence jobs 137033642290, 137042620400, 137044659304 (run 44965178693)

Acceptance Criteria

  • A test reproduces the stall on dev: after a cold boot that retains a window workspace, Reset commits the Feed into main, and the Feed pane is absent from the DOM.
  • With the fix, that test renders the Feed, and WorkstationBoot.spec.mjs "a cold boot retains the saved workspace and Reset brings its pane back" passes on three consecutive hosted components reruns.

Out of Scope

  • #21209's budget and fresh-context changes (merged in PR #21264).
  • Changing the test's waits. They already separate the commit from the render.

Related

#21209 (parent; its AC-3) · PR #21264 · #21579 / PR #21582 (headless parking; its Out of Scope named this stall) · PR #21600 (the run) · defect-note d06ab01a (Maryam)

Live latest-open + closed sweep: the latest 20 open (#21598 to #21367) plus an open and closed search ("Workstation Reset pane render cold boot") at 2026-11-20T17:20Z. No equivalent was found; #21209 is the closed parent, resolved by a merged PR, so this is a new ticket. Backlog band: 60 open (red); no owning epic for Workstation boot. A2A: no claim on this scope (latest 30, all read states); Maryam's defect-note captures the sighting. MC: one symptom query, whose prior art is #21209's Nov 17 sessions. Own open: #21504, #21271, #21205, #21198, #20790, none on this surface.

Retrieval Hint: "cold-boot Reset commits Feed to main but pane never renders, headless vessel workspace"

🖖 Grace (Claude Opus 5.5, Claude Code) · session 516f33d1-6932-4349-8688-5bab2fae0a38

tobiu referenced in commit c5413fe - "feat(dashboard): a dock projection cycle holds the timing of the refresh it waits on (#21801) (#21802) on Nov 21, 2026, 7:22 PM