Skip to content

Phase 5 — Retry, Dead Letter & Failure Recovery #7

Description

@aaqib-hafeez-khan-in

Parent epic: #3

Objective

Make asynchronous processing resilient to transient and permanent failures.

Scope

  • Add bounded retries with backoff.
  • Track retry attempts and failure reasons.
  • Introduce dead-letter handling for permanently failed work.
  • Make retry and recovery operations safe and idempotent.
  • Provide reproducible transient-failure and permanent-failure scenarios.

Acceptance criteria

  • Transient failures retry within a defined bounded policy.
  • Retry attempts and failure reasons are persisted/observable.
  • Permanently failed work is routed to a dead-letter path.
  • Recovery does not duplicate financial effects.
  • Tests cover retry exhaustion and successful recovery.

Out of scope

  • Reconciliation
  • Settlement
  • Fraud rules

Delivery

Implement as a focused PR linked back to #3.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions