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.
Shipped
Click a lifecycle step above to view its details.
Sign in to post a ripple.