Skip to content

fix(cloud-mail): preserve retries after delivery failure#879

Open
TZZheng wants to merge 1 commit into
Lingtai-AI:mainfrom
TZZheng:fix/issue-644-cloud-mail-watermark-telegrambot
Open

fix(cloud-mail): preserve retries after delivery failure#879
TZZheng wants to merge 1 commit into
Lingtai-AI:mainfrom
TZZheng:fix/issue-644-cloud-mail-watermark-telegrambot

Conversation

@TZZheng

@TZZheng TZZheng commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • advance the Cloud Mail watermark only through a contiguous prefix of safely consumed rows
  • stop at the first allowed message whose LICC delivery fails so that message remains retryable
  • keep filtered rows safe to consume and add mixed-batch failure/retry coverage

Validation

  • PYTHONPATH=src python -m pytest -q tests/test_cloud_mail_addon.py21 passed
  • git diff --check canonical/main...HEAD — passed
  • independent read-only review — PASS, no blockers

Risk

The change is limited to Cloud Mail polling. IMAP cursor semantics are intentionally out of scope. Repeated polls can retry a failed allowed message without allowing later rows to hide it.

Fixes #644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reliability: Cloud Mail watermark skips wake retry after LICC delivery failure

1 participant