2026-05-09 09:47:42 +02:00
|
|
|
# Plan Log
|
|
|
|
|
|
|
|
|
|
## 2026-05-09
|
2026-05-09 13:25:59 +02:00
|
|
|
- Implemented Network Resilience (Task 1/4 from next.md).
|
|
|
|
|
- Added exponential backoff logic (5s to 15m) to IMAP and JMAP sync loops.
|
|
|
|
|
- Added permanent error detection (auth/credentials) to stop sync loops gracefully.
|
|
|
|
|
- Improved "Pull to Refresh" in email list to trigger full account sync and bypass backoff.
|
|
|
|
|
- Verified with integration tests.
|
|
|
|
|
|
2026-05-09 09:47:42 +02:00
|
|
|
- Started work on Sync Reliability (Task 1/5 from next.md).
|
|
|
|
|
- Added `verifySyncReliability` to `EmailRepository` interface and models.
|
|
|
|
|
- Implemented `verifySyncReliability` in `EmailRepositoryImpl` for IMAP and JMAP.
|
|
|
|
|
- Added `SyncHealth` table to database (Schema v19).
|
|
|
|
|
- Created `ReliabilityRunner` for periodic verification.
|
|
|
|
|
- Integrated sync health indicators in `AccountListScreen` UI.
|
|
|
|
|
- Added manual "Verify sync health" action.
|
|
|
|
|
- Verified with new integration tests in `test/integration/sync_reliability_test.dart`.
|
|
|
|
|
- All integration tests (IMAP and JMAP) passing.
|
|
|
|
|
- Fixed several compilation and analysis issues.
|