You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flake: Use custom name, message and set it as active when publishing #1369
Test file: site/src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx
Test name: "Use custom name, message and set it as active when publishing"
Error: Test timed out in 5000ms
Context warnings (React state updates not wrapped in act)
Log excerpt
FAIL src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx > Use custom name, message and set it as active when publishing
Error: Test timed out in 5000ms.
An update to PublishTemplateVersionDialog inside a test was not wrapped in act(...).
An update to Tooltip inside a test was not wrapped in act(...).
An update to ForwardRef(FormControl) inside a test was not wrapped in act(...).
Root cause assessment
Flaky UI test timing out waiting for async publish dialog interactions. The repeated act() warnings indicate state updates not awaited, which can cause sporadic timeouts.
Test file: site/src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx
Test name: "Use custom name, message and set it as active when publishing"
Error: Test timed out in 5000ms
Context warnings: React state updates not wrapped in act(...)
Log excerpt
FAIL src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx > Use custom name, message and set it as active when publishing
Error: Test timed out in 5000ms.
An update to PublishTemplateVersionDialog inside a test was not wrapped in act(...).
An update to Tooltip inside a test was not wrapped in act(...).
An update to Toast inside a test was not wrapped in act(...).
An update to ForwardRef(FormControl) inside a test was not wrapped in act(...).
An update to ForwardRef(Toaster) inside a test was not wrapped in act(...).
Notes
This failure happened after dea451de ("fix(site): await dialog close after publish to prevent act() warnings"), so the fix appears incomplete or there is another async path still racing.
Activity
fix(site): await dialog close after publish to prevent act() warnings
fix(site): await dialog close after publish to prevent act() warnings
fix(site): await dialog close after publish to prevent act() warnings
fix(site): await dialog close after publish to prevent act() warnings (…
flake-investigator commentedon Feb 27, 2026
Reoccurrence in main CI.
CI Run: https://github.com/coder/coder/actions/runs/22500453881
Job: https://github.com/coder/coder/actions/runs/22500453881/job/65186125326
Commit: 344d11fa220ba524362fe282922397d2ee16fd49 (Kyle Carberry)
Failure
Log excerpt
Notes
flake: increase test timeout for TemplateVersionEditorPage tests (#22412