Conversation
# Conflicts: # README.md # src/channel/src/catch-up.test.ts # src/channel/src/catch-up.ts # src/channel/src/durable-receive.ts
Haakam21
added a commit
that referenced
this pull request
Aug 23, 2026
Combines PR #8 (durable ingress edge cases) into PR #10 so both land as a single change. Conflict in src/channel/src/ingress.ts resolved toward this branch's transitionFailedAgentMailIngress helper, which already consolidates the poison-message failure transition that origin/luanda still open-coded at both call sites. The helper's callers supply the distinct terminal log text and lastError, so the "abandoned deferred turns" and "failed dispatch attempts" paths keep their separate messages. The helper omitted the failedAt stamp that the open-coded blocks passed to journal.fail, which durable-receive.ts maps to completedAt for failed rows. Added it back so the consolidated path matches the two direct journal.fail call sites in this file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Consolidated into #10. All six commits from The only conflict was in Closing in favour of #10. Leaving the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Harden durable AgentMail ingress across deferred media ownership, capacity coordination, tombstone retention, catch-up recovery, reply reconciliation, and reconnect behavior. Admit sender-clock-skewed mail while bounding retention at the shared durable boundary; self-heal cursor baselines without regressing their high-water marks and prevent malformed timestamps from being re-listed forever. Preserve core empty-payload suppression, base unknown-send 404 recovery on the outbound attempt, and reclaim deferred media after account shutdown settles. Validation: all 200 tests, build, manifest check, and host validation with AgentMail CLI 0.7.14 pass.