super-productivity/docs/sync-and-op-log/background-info
Johannes Millan 7227749ec4 test(sync): add tests for bulk dispatch edge cases
Add comprehensive tests for operation applier testing gaps:

- Partial archive failure: verifies that when archive handling fails
  midway through a batch, previously processed ops are reported
  as successful while remaining ops are not applied
- Effects isolation: confirms that only bulkApplyOperations action
  is dispatched (not individual action types), which is the key
  architectural benefit preventing effects from firing on remote ops
- Multiple archive-affecting ops: ensures remoteArchiveDataApplied
  is dispatched exactly once when batch contains multiple
  archive-affecting operations

Total: 4 new test cases, 24 tests now passing
2025-12-27 11:31:51 +01:00
..
operation-log-best-practises2.md test(sync): add tests for bulk dispatch edge cases 2025-12-27 11:31:51 +01:00
operation-log-sync-best-practices.md test(sync): add tests for bulk dispatch edge cases 2025-12-27 11:31:51 +01:00
synthesized-delta-sync-analysis.md test(sync): add tests for bulk dispatch edge cases 2025-12-27 11:31:51 +01:00
synthesized-delta-vs-oplog.md test(sync): add tests for bulk dispatch edge cases 2025-12-27 11:31:51 +01:00