mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-27 09:44:39 +00:00
When storage quota is exceeded, the server now iteratively deletes old restore points and operations until enough space is freed, keeping at least one restore point as minimum valid sync state. Changes: - Add freeStorageForUpload() method that loops until quota satisfied - Update deleteOldestRestorePointAndOps() to clear stale snapshot cache - Update /ops and /snapshot routes to use iterative cleanup - Add comprehensive tests for new cleanup behavior The error response now includes cleanupStats showing what was freed even when cleanup ultimately fails due to minimum data requirements. |
||
|---|---|---|
| .. | ||
| integration | ||
| api.routes.spec.ts | ||
| auth-flows.spec.ts | ||
| conflict-detection.spec.ts | ||
| email.spec.ts | ||
| gap-detection.spec.ts | ||
| registration-api.spec.ts | ||
| setup.ts | ||
| snapshot-skip-optimization.spec.ts | ||
| storage-quota-cleanup.spec.ts | ||
| sync-fixes.spec.ts | ||
| sync-operations.spec.ts | ||
| sync-types.spec.ts | ||
| sync.routes.spec.ts | ||
| sync.service.spec.ts | ||