super-productivity/packages/sync-core/src
Johannes Millan 5e754d3552
fix(sync): prevent multi-entity conflict corruption (#8980)
* fix(sync): reject disjoint merges for multi-entity ops

Scope conflict field extraction and journal titles to the actual entity. Fall back to whole-op LWW whenever either side is multi-entity so sibling updates are never falsely reported as preserved.\n\nFixes #8944.

* fix(sync): harden multi-entity conflict resolution
2026-07-13 21:53:30 +02:00
..
encryption fix(sync): harden encryption batching and SuperSync abort timer 2026-05-13 17:26:55 +02:00
apply.types.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
compression.ts refactor(sync-core): extract compression helpers 2026-05-11 21:41:02 +02:00
conflict-resolution.ts fix(sync): prevent multi-entity conflict corruption (#8980) 2026-07-13 21:53:30 +02:00
download-planning.ts refactor(sync): extract snapshot hydration planning 2026-05-12 00:52:50 +02:00
encryption.ts refactor(sync): post-extraction review cleanup of @sp/sync-core and @sp/sync-providers (#7595) 2026-05-14 13:06:08 +02:00
entity-frontier.ts refactor(sync): post-extraction review cleanup of @sp/sync-core and @sp/sync-providers (#7595) 2026-05-14 13:06:08 +02:00
entity-key.util.ts refactor(sync-core): prepare core boundary for providers 2026-05-12 16:37:12 +02:00
entity-registry.types.ts refactor(sync): post-extraction review cleanup of @sp/sync-core and @sp/sync-providers (#7595) 2026-05-14 13:06:08 +02:00
error.util.ts refactor(sync): extract sync file prefix helpers 2026-05-11 21:21:25 +02:00
full-state-op-types.ts refactor: remove dead SyncStateCorruptedError, compat exports, and 0 byte sync-providers barrel #8328 (#8396) 2026-06-15 14:16:14 +02:00
index.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
lww-update-action-types.ts refactor(sync-core): prepare core boundary for providers 2026-05-12 16:37:12 +02:00
operation.types.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
ports.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
remote-apply.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
replay-coordinator.ts fix(sync): harden op-log replay and recovery (#8978) 2026-07-13 20:03:42 +02:00
sync-file-prefix.ts refactor(sync): extract sync file prefix helpers 2026-05-11 21:21:25 +02:00
sync-import-filter.ts refactor(sync-core): extract sync import filter decision 2026-05-11 18:47:53 +02:00
sync-logger.ts refactor(sync): add sync-core boundary contracts 2026-05-11 10:09:15 +02:00
upload-planning.ts fix(sync): remediate sync-correctness review findings 2026-07-10 13:25:30 +02:00
vector-clock.ts refactor(sync-core): drop shared-schema vector-clock compat re-export anda app enum (#8441) 2026-06-17 16:21:26 +02:00
web-crypto-error.ts refactor(sync-core): extract encryption primitives 2026-05-13 17:26:55 +02:00