Sync fuzz findings, measured 2026-09: open failure classes by harm, frequency and release status

Author: johannesjoCreated Sep 30, 2026Updated Oct 1, 2026

Summary

A seeded multi-device sync fuzz harness (branch claude/sync-fuzz-harness) found the classes below on master. Each class has pinned traces that fail 3 of 3 replays.

  • The harness runs 3 simulated devices on the real reducers, op capture, download, upload, conflict resolution, hydration and compaction.
  • The server is a port of SuperSync's conflict.ts, with a parity test against the real one.
  • This issue lists every class. Each harmful class has its own issue.

Open classes, by harm

# Class Issue Severity and harm Frequency Released?
1 Two devices reorder the same list, or a reorder crosses a delete #10377 High. Sync stops on every attempt; the stopped device receives nothing more 11 of 20 all-intents seeds Yes, code reading
2 The losing device keeps its rejected edit #10260 (comment) High. Permanent silent divergence: the edit exists on one device only 15–21 of 90 seeds per field Yes, code reading
3 Whole-entity LWW erases the other device's concurrent change #10379 High. Silent data loss: habit counts, note locks, done status, tracked time 8–22 of 90 per field; time lost in 61 of 90, all mechanisms Yes, code reading
4 Auto-add to Today blocks the time merge #10378 High. Tracked time lost on default settings Part of the 61 of 90 Master residual; v19.1.0 loses time in more cases, code reading
5 Delete vs remote edit brings the entity back broken #10380 Medium. Rare. Note: invalid state that repair can't fix. Task: extra fields, time lost on the deleting device 1–3 of 90 Yes, code reading
6 A restart or a new device applies the history differently #10381 Medium. Mostly list order. Rarely a later title and tracked time vanish on restart and on new devices, so devices diverge for good List order: up to 11 of 90. Title or time: 1–2 of 90 Yes, code reading

Severity scale used here: High = sync stops, or user data is lost or diverges for good on default settings, in a sizeable share of seeds. Medium = rare, or mostly list order. Low = order or metadata only.

Low severity, tracked here only

  • List order diverges for good: two devices each add a habit, and each lists its own new habit before the other's (pin "two devices adding a habit end with different habit orders"). Frequency not separated. #8462 reports list order differing between devices, from a different cause.
  • Work start and end times differ between devices after concurrent tracking: the per-day s/e of timeTracking.project.<id>.<day> and timeTracking.tag.TODAY.<day> resolve by LWW on the context-day entry ([TIME_TRACKING] LWW Update), and the devices do not converge. 2 of 90 seeds, not pinned.

Resolved or kept since the measurement

  • Reorder vs a concurrent edit of a listed entity: fixed by #10364. Its 4 pins become regression pins.
  • Server-rejected time delta crossing a rename (tracked time lost, rename reverted): fixed by #10340. Its 3 pins become regression pins.
  • Today or tag order vs pin/unpin: stops by design (#10364's admission matrix, "Kept stop"). The less destructive fallback is proposed in #10342. Not re-filed.
  • Pinning a note already in Today added it twice to todayOrder (2 of 90 seeds): fixed by #10364, whose note.reducer.ts prepends only an absent note. Dropped.

Severity (per docs/sync-and-op-log/sync-severity-triage.md)

  • Rule 1: master ships to Play internal, Snap edge and supersync:latest. Class 4 is a gap in a master-only fix (#10252), and that does not lower its severity; v19.1.0 loses the same time anyway.
  • Rule 2: "Released: yes" means the code path is in v19.1.0 by git show v19.1.0:<file> and git merge-base --is-ancestor. That is code reading, not a reproduction: the harness can't isolate devices on v19.1.0, whose op-log store still opens the database directly in some methods.
  • Rule 4: searches in user wording (lost, reverted, reset, not syncing) found no report that clearly matches a class. Silent loss is under-reported, so this is not evidence of absence.
  • Rule 5: each class has a real-path reproduction in the harness, but the harness is not the app. A fix still needs an E2E reproduction first.

How it was measured

  • 90 seeds: three intent mixes (all intents, no reorders, tasks only), 30 seeds each, 30 random steps on 3 devices. Master ad158bee88, 2026-09-29, before #10364 and #10340.
  • Class 1: 20 seeds of the all-intents mix.
  • A seed counts once per failure signature, so the classes overlap.

To re-run:

  • Pins: npm run test:file src/app/op-log/testing/integration/sync-fuzz/sync-fuzz-pinned.integration.spec.ts.
  • Random seeds (nightly or manual): npm run test:file src/app/op-log/testing/integration/sync-fuzz/sync-fuzz-seeds.benchmark.ts.

What the harness can't show

  • UI, dialogs and user choices.
  • File-based providers, multi-tab, encryption, real network failures, and WebSocket or immediate-upload timing.
  • Full-state flows (SYNC_IMPORT, REPAIR, backup import).
  • Sections, boards, issue providers, subtasks, tag deletion and planner moves.

Source: super-productivity/super-productivity