CI Failure Details
Failure Summary
Failed Test: src/pages/WorkspacesPage/WorkspacesPage.test.tsx > WorkspacesPage > correctly handles pagination by including pagination parameters in query key
Error:
Error: Test timed out in 5000ms.
❯ src/pages/WorkspacesPage/WorkspacesPage.test.tsx:300:2
Additional Evidence: repeated React act warnings and hanging process:
An update to WorkspaceMoreActions/Tooltip/RouterProvider inside a test was not wrapped in act(...).
close timed out after 10000ms
Tests closed successfully but something prevents the main process from exiting
Root Cause Analysis
Likely flaky test due to async updates not fully awaited in the pagination test. The 5s timeout plus repeated act(...) warnings and the hanging-process message suggest the test leaves pending updates/timers, occasionally causing a timeout.
Assignment Analysis
- Intended blame command:
git blame -L 300,340 site/src/pages/WorkspacesPage/WorkspacesPage.test.tsx
- File history:
git log --oneline -10 --follow site/src/pages/WorkspacesPage/WorkspacesPage.test.tsx shows the last substantive test changes in a581431 (migrate WorkspacesPage tests to vitest).
- Component history fallback:
git log --oneline -20 site/src/pages/WorkspacesPage shows most recent functional change 86b919e (React 19.2 useEffectEvent refactor).
Assigning to the most recent WorkspacesPage component owner available in history: @DanielleMaywood.
Related Issues
Reproduction
Not yet known; appears intermittent in CI.
CI Failure Details
Failure Summary
Failed Test:
src/pages/WorkspacesPage/WorkspacesPage.test.tsx > WorkspacesPage > correctly handles pagination by including pagination parameters in query keyError:
Additional Evidence: repeated React act warnings and hanging process:
Root Cause Analysis
Likely flaky test due to async updates not fully awaited in the pagination test. The 5s timeout plus repeated
act(...)warnings and the hanging-process message suggest the test leaves pending updates/timers, occasionally causing a timeout.Assignment Analysis
git blame -L 300,340 site/src/pages/WorkspacesPage/WorkspacesPage.test.tsxgit log --oneline -10 --follow site/src/pages/WorkspacesPage/WorkspacesPage.test.tsxshows the last substantive test changes ina581431(migrate WorkspacesPage tests to vitest).git log --oneline -20 site/src/pages/WorkspacesPageshows most recent functional change86b919e(React 19.2 useEffectEvent refactor).Assigning to the most recent WorkspacesPage component owner available in history: @DanielleMaywood.
Related Issues
coder/internal. Closest hit: flake: test-js - Jest worker process crashes with SIGABRT/SIGTERM #1044 (Jest worker crash) is a different failure mode.Reproduction
Not yet known; appears intermittent in CI.