Why do edits made on the train never show up on my laptop?
Read src/sync/client.rs0.2s✓
The client sends each op once and drops it if the socket is down. There is no retry or local buffer.
Sync drops edits when the network flaps. Queue them offline and replay on reconnect.
Grep retry|backoff src/sync0.1s✓
41:pub struct SyncQueue {
58: pending: VecDeque<Op>,
112: fn flush(&mut self) -> Result<()> {
131: self.retry.backoff(attempt)
204:const MAX_BATCH: usize = 64;
$ cargo test -p sync4.1s✓
Pending ops now persist to disk and replay on reconnect. All 42 sync tests pass. Running the full workspace suite before I open the PR.
✦ Worked for 2m 47s
✦ cargo test --workspace· 1m 12s✕