-
Notifications
You must be signed in to change notification settings - Fork 0
Open
coder/coder
#22334Description
CI Run: https://github.com/coder/coder/actions/runs/22449685899
Job: https://github.com/coder/coder/actions/runs/22449685899/job/65014256079
Commit: ab28ecde88ddcb907fb44c634d2721ef3318030a (Kacper Sawicki)
Failure
- 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.
Assignment analysis
- git log --oneline -10 --follow site/src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx
- Latest meaningful change affecting this test: 77006f241b (Jeremy Ruppel) "fix: save empty template files (#22202)" (vitest migration + test edits)
Duplicate search (coder/internal)
- "TemplateVersionEditorPage.test.tsx"
- "Use custom name, message and set it as active when publishing"
- "TemplateVersionEditorPage" + "Test timed out"
- "PublishTemplateVersionDialog"
Reproduction
- pnpm test:ci --filter TemplateVersionEditorPage.test.tsx
- pnpm vitest src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels