fix: retry POP3/IMAP, DNS 8.8.8.8 fallback, debug counter, notification backoff

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/5ad49738-4b0b-4ed7-8686-07adb0ba9e5d

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-03 22:06:12 +00:00
committed by GitHub
parent eea50f5d74
commit 92f60c6052
10 changed files with 1045 additions and 169 deletions
+27
View File
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- version list -->
## [Unreleased]
### Fixed
- **POP3/IMAP connectivity**: Added retry logic (up to 3 attempts, 5 s delay) for
transient errors (`-ERR EOF`, timeout, connection-reset) in both POP3 and IMAP
fetch paths. Most `-ERR EOF` and "timed out" failures now self-heal without
surfacing as errors.
- **DNS fallback to 8.8.8.8**: When both the system resolver and the in-process
DNS cache fail (e.g. transient resolver outage), mail-processor now sends a raw
UDP A-record query directly to Google's public resolver (8.8.8.8:53). The
result is cached in the same way as system-resolver results. No new runtime
dependencies.
- **Debug-logging auto-disable**: Counter now counts 5 runs *from when the checkbox
was last ticked*, not in a rolling 24-hour window. New `debug_logging_run_count`
column (migration `0003`) is reset to 0 each time `debug_logging` is enabled via
the API, so users always get exactly 5 debugged runs per enable.
- **Notification backoff**: Error notifications (both connection-level failures and
per-email forwarding failures) are now sent only once per consecutive failure
streak. A `error_notification_sent` flag (migration `0003`) tracks whether the
current streak has already been notified. When the account recovers the flag is
cleared and a single recovery notification is sent; the next failure streak will
then fire a fresh alert.
## v0.10.1 (2026-05-03)
### Bug Fixes