← Back to list
01Issue
BugShippedSwamp CLIPublic
AssigneesNone
Relationships
↔ sibling #3039#3050 Flaky test: usePreviewFetch in-flight fetch for A is discarded after switching to cached B
Opened by stack72 · 10/5/2026· Shipped 10/6/2026
src/presentation/renderers/components/hooks/use_preview_fetch_test.tsx (test at line 153) waits with fixed tick(200) and tick(50) sleeps before asserting. Under load in verify-build (run 29b2ce27-b9f8-4530-a821-cc656489dd41, commit 04b63713 on branch 3039, which does not touch this file) the first assertion saw detail undefined instead of B-detail: the initial fetch had not rendered within 200ms. It passes 30 repeats locally when the machine is idle. AGENTS.md says to poll with waitFor rather than sleep; switching the waits in this test to waitFor on the expected detail should fix it.
02Bog Flow
Shipped
Click a lifecycle step above to view its details.
03Sludge Pulse
Sign in to post a ripple.