Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
99ab27c
docs: draft operation journal RFC
KyleAMathews Jun 25, 2026
4affbd7
docs: clarify transport confirmation scope
KyleAMathews Jun 26, 2026
77fb394
docs: preserve mutation handler settlement contract
KyleAMathews Jun 26, 2026
4a5d376
docs: recast RFC around mutation log
KyleAMathews Jun 26, 2026
0b0a666
docs: emphasize stable materialized change stream
KyleAMathews Jun 29, 2026
d2b2383
docs: clarify completion vs retention wording
KyleAMathews Jun 29, 2026
c72379a
docs: add mutation log implementation plan
KyleAMathews Jun 29, 2026
3c28623
test: capture sync while persisting reconciliation target
KyleAMathews Jun 29, 2026
99c9ddb
test: capture live query sync during pending mutation
KyleAMathews Jun 29, 2026
a932073
test: move live query pending assertion outside mutation
KyleAMathews Jun 29, 2026
272fff1
refactor: add mutation projection helpers
KyleAMathews Jun 29, 2026
c673c7e
refactor: share active transaction collection
KyleAMathews Jun 29, 2026
811ebc6
fix: apply sync while projecting active mutations
KyleAMathews Jun 29, 2026
1325f18
fix: retain optimistic overlay during sync commits
KyleAMathews Jun 29, 2026
a33ee51
fix: preserve optimistic insert iteration during sync
KyleAMathews Jun 29, 2026
ac3351e
fix: use keyed sync regressions
KyleAMathews Jun 30, 2026
b71fe8c
fix: clear confirmed optimistic temp inserts
KyleAMathews Jun 30, 2026
fe0bc88
test: verify stable changes during sync reconciliation
KyleAMathews Jun 30, 2026
e5a97e5
test: update sync reconciliation expectations
KyleAMathews Jun 30, 2026
9dfd314
fix: finalize mutation log reconciliation slice
KyleAMathews Jun 30, 2026
5ba7206
fix: reconcile completed optimistic confirmations
KyleAMathews Jun 30, 2026
7f4a450
test: align task 8 validation expectations
KyleAMathews Jun 30, 2026
d4293c0
fix: preserve virtual confirmation changes
KyleAMathews Jun 30, 2026
68f2e88
Remove server-key optimistic matching heuristic
KyleAMathews Jun 30, 2026
049f442
Simplify optimistic overlay filtering
KyleAMathews Jun 30, 2026
3f348a6
Merge remote-tracking branch 'origin/main' into rfc-transactions-sync…
KyleAMathews Jun 30, 2026
8a5a1f3
ci: apply automated fixes
autofix-ci[bot] Jun 30, 2026
ab66373
Apply prep review fixes
KyleAMathews Jul 1, 2026
42035aa
Merge remote-tracking branch 'origin/main' into rfc-transactions-sync…
KyleAMathews Jul 2, 2026
8869ea6
Add mutation log reconciliation changeset
KyleAMathews Jul 2, 2026
3ec1246
Fix mixed sync metadata visible-state diff
KyleAMathews Jul 2, 2026
0645399
ci: apply automated fixes
autofix-ci[bot] Jul 2, 2026
35ac119
Merge remote-tracking branch 'origin/main' into rfc-transactions-sync…
KyleAMathews Jul 2, 2026
5f20fa5
Merge remote-tracking branch 'origin/rfc-transactions-sync-state' int…
KyleAMathews Jul 2, 2026
d649391
Align Electric server key test with optimistic reconciliation
KyleAMathews Jul 2, 2026
b4b8e90
Fix sync diff baseline for completed optimism
KyleAMathews Jul 2, 2026
4dc66c5
Align Vue live query optimistic key test
KyleAMathews Jul 2, 2026
58c4d7d
Handle completed optimistic sync baselines
KyleAMathews Jul 2, 2026
45c504c
Revert "Handle completed optimistic sync baselines"
KyleAMathews Jul 2, 2026
5d4a641
Revert "Align Vue live query optimistic key test"
KyleAMathews Jul 2, 2026
bbdc2da
Revert "Fix sync diff baseline for completed optimism"
KyleAMathews Jul 2, 2026
f9d57d0
Revert "Align Electric server key test with optimistic reconciliation"
KyleAMathews Jul 2, 2026
eb73896
Fix optimistic cleanup after txid confirmation
KyleAMathews Jul 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/mutation-log-reconciliation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/db': patch
---

Apply committed sync updates immediately while preserving unsettled optimistic mutations in visible collection state. This improves optimistic write reconciliation and stabilizes change events for subscriptions and live queries.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ examples/react-native/shopping-list/ios/
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
tsconfig.vitest-temp.json

# Agent workflow scratch files
.superpowers/sdd/
551 changes: 551 additions & 0 deletions docs/rfcs/2026-06-25-mutation-log-reconciliation.md

Large diffs are not rendered by default.

Loading
Loading