Repository navigation
Closed
1 / 11 of 1 issue completed
Copy link
Labels
P1High priorityarea: resiliencyRetries, dead-lettering, circuit breakingin-progressClaimed by an agentphase-0: coreCore abstractions, pipeline, generator, testing
Description
Implement the single failure pipeline (design §5, D10) with executable D24 capability integration from #74.
Scope
- Typed classification rules are extracted into Configure typed exception rules for failure classification #80 and compose through IFailureClassifier. Preserve permanent deserialization/envelope/unknown-contract defaults.
- Immediate retries in-process with jittered backoff.
- Delayed redelivery: native within MaxRedeliveryDelay, otherwise a scheduled copy within MaxDeliveryDelay, otherwise an available durable outbox scheduling executor. Complete the original only after the fallback is durable.
- Dead-lettering: native DeadLetter only when it preserves Relayer error metadata; otherwise an explicitly configured usable dead-letter endpoint. Complete the original only after the copy succeeds.
- Validate the longest configured redelivery and dead-letter requirements at startup. No fallback passes unless its executor exists. Fail with transport, consumer/source, capability and remedy; no per-message capability discovery.
- Error metadata: original message ID, attempt count, first/last failure time, consumer, host, and exception type/message/stack for every attempt.
- Buffer and discard sends from failed attempts, so retries do not duplicate side effects.
Acceptance criteria
- Tests cover retries, native paths, exact delay boundaries, scheduled-copy/outbox/dead-letter fallbacks, and startup failures when neither native support nor an executor exists.
- Poison messages never stall a consumer. Settlement follows durable handling; partial fallback failure must not complete the original.
- Preserve AOT and allocation requirements. Reuse the startup validator shipped in Validate endpoint capabilities and ordering at startup #77 and receive/disposition SPI in feat: add native receive SPI #72.
Dependencies: #5 supplies send execution; #80 supplies typed classifier composition. #62 shipped in #72. #74 is consolidated here so capability validation ships with execution rather than as a waiting issue.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
P1High priorityarea: resiliencyRetries, dead-lettering, circuit breakingin-progressClaimed by an agentphase-0: coreCore abstractions, pipeline, generator, testing
Activity
thomhurst commentedon Nov 1, 2026
Audited origin/main at 54ffc92: #4 / #68 supplies consume dispatch and a durable failure callback, but the retry/redelivery/dead-letter pipeline remains unimplemented. Replaced the shipped #4 prerequisite with the remaining send pipeline #5 and native receive/disposition seam #62, and added native blocked_by links for both. Existing scope and acceptance remain.
fix: buffer disposal sends until attempt cleanup completes (#9)
Execute consumer retries and durable failure handling (#88)