mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-20 18:08:55 +00:00
Review hardening for the split-file snapshot delta split. - Classify a downloaded op as delta (replay) rather than covered (record-applied-only) whenever snapshot coverage can't be proven: no usable snapshot clock, or an op missing its own vector clock. Replay is idempotent (getAppliedOpIds/LWW), so the worst case is redundant work; recording an op as applied whose effect never reached state is the silent data-loss bug this path prevents. These branches are unreachable today (the file adapter always reports a non-empty snapshot clock with snapshotState) but stop a future provider/refactor from reintroducing the loss silently. - Add a unit test asserting a CONCURRENT delta op is replayed, not recorded applied; all five prior delta tests only exercised GREATER_THAN. Mutation-verified: dropping CONCURRENT from the filter fails exactly this test. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||