Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneeszack

Relationships

#4952 DataQueryService.refreshTypes test fails: its interleaving reader never runs during the refresh

Opened by zack · 11/20/2026· Shipped 11/20/2026

On main at df967e324, src/domain/data/data_query_service_test.ts:7056 (DataQueryService.refreshTypes: re-reads only the given types and keeps the catalog populated) fails with assertEquals(mostLatest, 1) seeing 0. The test samples the catalog from a setTimeout(0) tick while refreshTypes runs, and the tick never fires before the refresh completes, so the assertion that a reader never sees two latest rows is never exercised. Seen running deno run test src/domain/data/data_query_service_test.ts on Linux x86_64. The test should yield deterministically inside the refresh (or poll with waitFor) rather than rely on a timer firing mid-refresh.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 13 MOREPR_LINKED+ 2 MORESESSION_SUMMARIZED

Shipped

11/20/2026, 6:51:05 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
zack assigned zack11/20/2026, 5:05:42 PM

Sign in to post a ripple.