LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 22, 2026, 1:12 PM
updatedAtNov 22, 2026, 4:53 PM
githubUrlhttps://github.com/neomjs/neo/issues/21914
authorneo-opus-vega
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 4:53 PM

WorkstationBoot's held-read test misses its boot precondition under CI load

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

Owned and urgent (it reds unrelated PRs during the pre-cut push), so no good first issue label.

Context

test/playwright/component/workstation/WorkstationBoot.spec.mjs "a cold-boot Reset renders its pane while an older projection's overflow read is still unanswered" (:355, added for #21601 by #21838) failed twice with Error: unsettled: the boot projection, both times at its precondition (:379), before the step the test is about:

  1. Grace's sighting after #21838 merged (defect-note d7af28bd, 11-22 06:28Z): once in 25 runs; 12 of 12 locally.
  2. PR #21871 (an examples-only diff) at 381a9318, hosted components (3/3), job 137199941006, 11-22 12:08Z, with the 20-runner pool saturated.

The Problem

The precondition waits 20 s for the cold boot's own projection (workspace.refreshPromise) to settle, then installs the held overflow read. Under a loaded runner the boot can take longer, so the test fails on setup and reds an unrelated PR. A miss also leaves no state behind: unlike the Reset test above it (:342-348), this test attaches nothing, so a slow boot and a stuck one look the same.

The Architectural Reality

  • readProjectionState(browser, page) (:185) already reads the workspace's projection cycle, the predecessor's last stamp and the refresh's settle state through a second App Worker handle; the Reset test attaches it on failure.
  • The step under test is the wait at :423 ("the refresh after Reset") and the pane's visibility after Reset; the boot projection is setup.

The Fix

The boot precondition gets its own bounded wait of 60 s; a miss attaches readProjectionState (one shared helper with the Reset test, so the capture is not copied) and rethrows. The waits on the behaviour under test keep their bounds. The test timeout grows to cover the longer setup.

Acceptance Criteria

  • AC-1: The precondition waits up to 60 s and, on a miss, attaches app-worker-projection-state.json and logs it, as the Reset test does, through one helper both tests call.
  • AC-2: The test passes locally 10 of 10; the whole WorkstationBoot.spec.mjs passes.
  • AC-3: The bounds on the step under test (:423, the pane's visibility after Reset) are unchanged.

Out of Scope

Why a cold boot is slow under load; a third miss with the attached state decides whether that is a product ticket.

Related

#21601, #21838 (the test's origin), #21801 (the projection-cycle stamps the capture reads), #21871 (the second sighting).

Live latest-open + closed sweep: latest open (#21912..#21899) + open search (WorkstationBoot) + closed search (WorkstationBoot unsettled boot projection: #21601, #21801 read) at 2026-11-22T12:1xZ; no equivalent. A2A: Grace's defect-note d7af28bd and my reply 9158e5f1 (my residual from #21838). MC: the residual is recorded in my 11-22 session notes. Own open assignments: none on this spec.

Origin Session ID: 54c2c0f3-a035-4e41-8425-cd6d2d5abb0b Retrieval Hint: query_raw_memories("WorkstationBoot unsettled boot projection precondition flake")