Relationships
#5018 Flaky test: serve workspace dashboard switcher test expects an untouched workspace's state to hold across a resume
Opened by stack72 · 11/23/2026
integration/serve_workspace_requests_test.ts, the test named: serve workspace requests: the dashboard switcher reads the root's list as each workspace's name and state, and a resumed workspace changes state at the next read (added with swamp-club#4914).
It reads the list, resumes edge-dns, waits for edge-dns to be ready, then asserts that the cost workspace's state equals its state in the first read. Under load the cost workspace moved from null to stopped between the two reads, so the assertion failed:
[Diff] Actual / Expected
- stopped
+ nullSeen in a verify-build run on commit 73c685f1 (swamp-club#5011) while another verify-build ran on the same machine. The file passed 25 of 25, three times in a row, run alone, and a later verify-build on the same commit passed.
The first read appears to happen before the cost workspace's state has settled. The test should wait for both workspaces to reach a stable state before taking the baseline, or compare against the settled state rather than the first read.
Open
No activity in this phase yet.
Sign in to post a ripple.