CI Run: https://github.com/coder/coder/actions/runs/28051121893
Failing Job: test-js
Failure time: 2026-06-23 19:38:10Z
Commit: a11f349c16a4f457f36326800463e1c90e39b880 (author: blinkagent[bot])
Error evidence:
FAIL unit src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.test.tsx > WorkspaceParametersPageExperimental > does not clobber edited parameters
AssertionError: expected [] to have a length of 1 but got +0
Additional log note:
close timed out after 1000ms
Tests closed successfully but something prevents the main process from exiting
Root cause assessment:
Likely a flaky UI unit test around dynamic parameter websocket timing. The test expects mockPublisher.clientSentData to contain an init message after editing parameters, but intermittently no client send occurs, causing the length assertion to fail.
Assignment analysis:
- Recent changes to the failing test/component are by code-asher.
git log --oneline -10 --follow site/src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.test.tsx shows PR #26122 (commit 744c00f45c) and PR #26357 (commit b5b80dbe) by code-asher touching the dynamic parameter behaviors and tests.
- The related component file
site/src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.tsx was also last modified in PR #26357 by code-asher.
Related issues search (coder/internal):
- "WorkspaceParametersPageExperimental"
- "WorkspaceParametersPageExperimental.test.tsx"
- "expected [] to have a length of 1"
- "WorkspaceParametersPage" AND flake
No duplicates found.
Reproduction (if needed):
pnpm test:ci -- src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.test.tsx -t "does not clobber edited parameters"
CI Run: https://github.com/coder/coder/actions/runs/28051121893
Failing Job: test-js
Failure time: 2026-06-23 19:38:10Z
Commit: a11f349c16a4f457f36326800463e1c90e39b880 (author: blinkagent[bot])
Error evidence:
Additional log note:
Root cause assessment:
Likely a flaky UI unit test around dynamic parameter websocket timing. The test expects
mockPublisher.clientSentDatato contain an init message after editing parameters, but intermittently no client send occurs, causing the length assertion to fail.Assignment analysis:
git log --oneline -10 --follow site/src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.test.tsxshows PR #26122 (commit 744c00f45c) and PR #26357 (commit b5b80dbe) by code-asher touching the dynamic parameter behaviors and tests.site/src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.tsxwas also last modified in PR #26357 by code-asher.Related issues search (coder/internal):
No duplicates found.
Reproduction (if needed):
pnpm test:ci -- src/pages/WorkspaceSettingsPage/WorkspaceParametersPage/WorkspaceParametersPageExperimental.test.tsx -t "does not clobber edited parameters"