GeezerVison is showing github.com — Tests that flake under full-suite load · Issue #236 · henrychu04/t3code-coder
Tests that flake under full-suite load #236Labels flaky-testTest that fails intermittently or only on some hosts DescriptionThese tests pass when run alone but fail intermittently under full-suite load:
apps/server/src/serverSettings.test.ts: "follows a settings link that is repointed to another directory" and "reloads when a dangling settings link gets its destination" (2-second watcher timeout).
- Web
localApi hook test (timeout).
RightPanelTabs keyboard test: Escape focus.
ClaudeCapabilitiesProbe "older CLI ignores get_settings" (takes about 6 s against a 5 s timeout).
Workaround: rerun the file alone (see docs/internals/sync.md §7). Find out for each one whether upstream sees it too before changing anything. Activityhenrychu04 commented on Oct 24, 2026 The web localApi.test.ts afterEach hook timeout (dynamic import of ./hooks/useSettings exceeding 15 s) reproduced in 3 of 3 full pnpm test:web:coder runs (unit + browser projects together) after the be1d066 sync (#254). It passes alone and when the unit project runs alone (244 files). Not changed yet; upstream's version of this test differs (it mocks the context menu and confirm dialog). henrychu04 commented on Oct 28, 2026 Seen again in the e923627 sync (#259/#260/#261), each passing when rerun alone:
apps/web/src/components/files/AttachmentFilePreview.browser.test.tsx "retains the workspace viewer across URL renewals and reloads revisions and manual refreshes" (new to this list).
apps/web/src/localApi.test.ts "opens only absolute HTTP and HTTPS URLs".
henrychu04 commented on Oct 28, 2026 Another one seen during the 67661cf sync (stage 1): web browser test src/components/pullRequest/useInlineActionConfirm.browser.test.tsx "confirms on the second click and disarms on Escape" (expected the confirm callback once, got 0, after 8 s) failed once under full-suite load and passes alone. henrychu04 commented on Oct 28, 2026 Also seen during the 67661cf sync (stage 3), passing alone: web browser src/components/chat/MarkdownCopy.browser.test.tsx "copies a code block through the execCommand fallback" (15 s timeout under full-suite load), alongside the known AttachmentFilePreview.browser.test.tsx flake. henrychu04 commented on Oct 28, 2026 Another one seen 2026-10-28 during pnpm test:web:coder on PR #274: useInlineActionConfirm.browser.test.tsx > "confirms on the second click and disarms on Escape" (onConfirm called 0 times). It passes when run alone. henrychu04 commented on Oct 29, 2026 Seen in the e6ca170 sync (stage 1), passing alone: web browser src/components/settings/SecretInput.browser.test.tsx ("preserves a configured secret on empty edits and commits a replacement", 15 s timeout under full-suite load; two tests failed in one run). henrychu04 commented on Oct 31, 2026 Two more load-only flakes seen in the 80a2351 sync (#288); each passes 3/3 when run alone:
apps/server/src/pullRequest/PullRequestReadCache.test.ts "does not keep a caller's data alive after its reads and invalidations" (GC-based leak check, expected 1 to equal +0).
apps/web/src/localApi.test.ts "opens only absolute HTTP and HTTPS URLs": afterEach hook timed out at 15 s; happy-dom also attempted a real fetch of https://gitlab.example/... (ENOTFOUND) during that run.
henrychu04 commented on Oct 31, 2026 Another load-sensitive test: apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > "persists a todo_list from inline Claude task-tool frames" hits its 60 s timeout while the machine is busy. It timed out even when run alone, on coder-only 7b64141, 52c7e7a and ee76590, while several other test suites were running in parallel; it passes in normal runs. henrychu04 commented on Oct 31, 2026 PR #298 makes test:web:coder run the web unit project before the browser project instead of both at once; that removed the browser timeouts in a full run (102/102 browser files, 277/277 unit files, with other suites loading the machine). Remaining entries here are load-sensitive server tests (serverSettings watcher, ClaudeAdapterV2 todo_list) that only time out when several suites or agents run in parallel.
MetadataMetadataflaky-testTest that fails intermittently or only on some hosts DevelopmentNo branches or pull requestsIssue actions
|