Skip to main content

max / goingson

sync: set ChangeEntry.extra for the synckit forward-compat field synckit-client ChangeEntry gained a serde(flatten) `extra` field (audit Phase 1 forward-compat fix). Set it to default at the three construction sites. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-03 00:50 UTC
Commit: b45802a1f5ab0e3bc2e41c560f7c8a9acd8a6b61
Parent: 9bf412b
3 files changed, +3 insertions, -0 deletions
@@ -178,6 +178,7 @@ async fn read_local_pending(pool: &SqlitePool, device_id: Uuid) -> Result<Vec<Ch
178 178 timestamp: ts,
179 179 hlc,
180 180 data: json_data,
181 + extra: Default::default(),
181 182 })
182 183 })
183 184 .collect();
@@ -75,6 +75,7 @@ pub async fn push_changes(
75 75 timestamp: ts,
76 76 hlc,
77 77 data: json_data,
78 + extra: Default::default(),
78 79 })
79 80 })
80 81 .collect();
@@ -47,6 +47,7 @@ use sqlx::SqlitePool;
47 47 timestamp: chrono::Utc::now(),
48 48 hlc: Default::default(),
49 49 data,
50 + extra: Default::default(),
50 51 }
51 52 }
52 53