super-productivity/packages/shared-schema/src
Johannes Millan 43b5808a3f fix(sync): harden vector clock sanitization and improve E2E test robustness
- Cap sanitizeVectorClock values at 100M instead of MAX_SAFE_INTEGER (prevents adversarial clock inflation)
- Add early-exit optimization in compareVectorClocks for CONCURRENT detection
- Add test.setTimeout(180000) to token-expiry and lastseq-preservation E2E tests
- Remove dead code (unreachable guard) in compaction E2E test
- Extract shared config helpers (navigateToMiscSettings, toggleSetting, etc.) into e2e/utils/config-helpers.ts
- Fix Client B cleanup in provider-switch test (move to finally block)
- Add clarifying comments for raw SQL schema coupling, CORS header, and mergeRemoteOpClocks caller contract
- Extract enforceStorageQuota helper in sync routes to reduce duplication
- Add conflictType to conflict detection for structured error handling
- Add MAX_CLEANUP_ITERATIONS guard to freeStorageForUpload
2026-02-12 16:27:56 +01:00
..
migrations fix(migrations): ensure unique IDs and prevent data loss in split operations 2026-01-20 17:07:23 +01:00
entity-types.ts fix(sync): multi-tab vector clock staleness + shared code extraction 2026-01-03 18:05:11 +01:00
index.ts fix(sync): prevent infinite LWW auto-resolve loop for TAG:TODAY 2026-01-30 18:24:29 +01:00
migrate.ts feat: update migration functions to support splitting operations into multiple results 2026-01-19 13:58:27 +07:00
migration.types.ts feat: update migration functions to support splitting operations into multiple results 2026-01-19 13:58:27 +07:00
schema-version.ts fix: update CURRENT_SCHEMA_VERSION to 2 for upcoming migration 2026-01-19 13:16:48 +07:00
vector-clock.ts fix(sync): harden vector clock sanitization and improve E2E test robustness 2026-02-12 16:27:56 +01:00