Skip to content
Source
Sign inSign up
TanStack/db

fix(db): publish initial ordered fallback synchronously #2159

MergedKyleAMathewsmerged 19 commits intomain fromrefs/pull/2159/headmerged by KyleAMathews

Showing 9 changed files with 7 additions and 0 deletions (loading 8).

x
0 of 9 viewed, 9 left
7 additions and 0 deletions.changeset/fix-initial-ordered-fallback.mdAdded
View file
@@ -0,0 +1,7 @@
+---
+'@tanstack/db': patch
+---
+​
+Publish the first window of an ordered live query synchronously when a full-source fallback returns `true` after applying its rows. This prevents an empty initial result when the first ordered request cannot fill the window.
+​
+A later full-source fallback without ordering-repair debt can also settle in the current graph turn. Explicit window moves and full-source repairs keep their existing settlement rules.
docs/contributing/oracle-reviews/issue-2152-initial-ordered-fallback.mdAdded
View file
Loading the diff
docs/contributing/oracle-coverage.mdModified
View file
Loading the diff