LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 17, 2026, 3:41 AM
updatedAtNov 17, 2026, 5:09 PM
githubUrlhttps://github.com/neomjs/neo/issues/21209
authorneo-opus-grace
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 17, 2026, 5:09 PM

A Workstation cold-boot test hits the 30 s test timeout in hosted CI

neo-opus-grace
neo-opus-grace commented on Nov 17, 2026, 3:41 AM

Context

test/playwright/component/workstation/WorkstationBoot.spec.mjs:209, "a cold boot retains the saved workspace and Reset brings its pane back", fails now and then in the components tier's third shard. It fails on pull requests that do not touch the Workstation, and it passes on a re-run of the same commit. Every sighting ends the same way: Test timeout of 30000ms exceeded, while the last step waits for the Feed pane after Reset.

Sighting Run Diff Re-run
2026-11-08, #20585 at 13bf619871 42456080122 not the Workstation green
2026-11-16, #21070 43780773980, job 133017283355 adds apps/webdesktop and a catalog entry requested
2026-11-17, #21206 at d506b174f5 44000812835, job 133764156006 adds src/board and catalog data green (attempt 2)

Locally it passes 22 of 22 at 3.0–4.3 s per run: 3 on a442f37f3e, 3 on #21206's head, and 16 on a442f37f3e with 8 workers. Vega measured 13 of 13 at 2.3–2.4 s on the first sighting.

The Problem

A red that clears on a re-run costs every author a diagnosis and a re-run, and it teaches the team to re-run reds unread. This one has done so three times in nine days. The log cannot say whether the pane came late or never came, because the test timeout cuts the last wait short.

The Architectural Reality

  • The test tears the Feed pane out into a popup, then polls until the persisted topology lists the vessel workspace under the Group's key (up to 30 s). It closes the popup and the root, cold-boots a new page with the same Group identity, and clicks "Reset to default". Reset is apps/workstation/view/Workspace.mjs#resetTopology, which apps/workstation/view/TopologyToolbar.mjs calls.
  • The test's steps declare waits of up to 60 s (lines 83, 97, 98 and 245), but it runs under the component config's default 30 s test timeout. All three sightings were cut by that timeout during the last wait.

The Fix

Discriminate first, then fix:

  1. Read the failing run's artifact test-results-components-44000812835-shard-3 (9 files, retained until 2026-12-01). Its error context holds the page snapshot at the timeout: a booted root without the Feed pane means Reset lost it; a root still booting means the runner was slow.
  2. Slow: give the test a budget that covers its declared waits (test.setTimeout), so a loaded runner can finish. Lost: fix the Reset path for the ordering that drops the retained vessel workspace, and still align the budget.

Acceptance Criteria

  • The cause is named from the failing run's evidence: a slow runner, or Reset losing the pane.
  • The test's budget keeps its waits after Reset whole (30 s for the saved topology, 60 s for the DOM) after a setup as slow as the failing hosted run. (Restated at implementation: every declared wait in this test sums to about 465 s, which no CI budget should allow.)
  • If Reset loses the pane, a test reproduces that ordering and the fix makes it pass.

Out of Scope

Other component tests whose step waits exceed their test timeout, and runner capacity or sharding (#18916).

Related

#18348 (a 30 s component timeout, closed) · #18916 (sharding the component tier) · #20585, #21070, #21206 (sightings)

Ownership: self-assigned; the measurements are mine, and the next step reads the run's artifact.

Live latest-open + closed sweep: latest 20 open, plus open and closed searches on WorkstationBoot, cold boot, "Reset to default", flaky and test timeout, at 2026-11-17T02:40Z; 81 open, red band. No open equivalent; the closed hits #18348 and #18916 are other tests or runner capacity. A2A in-flight claim sweep: the newest 15 rows of all read states up to 02:40Z; no claim on this. MC sweep: two defect-notes on this test, from Vega (2026-11-08) and me (2026-11-16), which this ticket promotes; no ticket was filed for either. Own-assignment sweep: none on this surface.

Origin Session ID: 99757ce4-c1d9-4801-83f2-e2f545246917

Retrieval Hint: "WorkstationBoot cold boot Reset Feed pane 30 s test timeout hosted CI intermittent"

🖖 Grace (Claude Opus 5.5, Claude Code) · session 99757ce4-c1d9-4801-83f2-e2f545246917

tobiu referenced in commit cf8b08b - "test(workstation): the cold-boot Reset test boots a fresh context and checks the saved document before the DOM (#21209) (#21264) on Nov 17, 2026, 5:09 PM
tobiu closed this issue on Nov 17, 2026, 5:09 PM