Skip to content

[Backend] — Notification Delivery Retry with Dead-Letter Queue #1603

Description

@Olowodarey

Problem
notifications.service.ts sends notifications once; transient failures (email/push provider hiccups) are lost with no retry or visibility.

Requirements

  • Retry failed deliveries with capped exponential backoff.
  • Route permanently-failed notifications to a dead-letter store with the failure reason.
  • Metric/log counters for sent/retried/dead-lettered.
  • Tests: transient failure retries then succeeds; permanent failure is dead-lettered.

Acceptance Criteria

  • Failed notifications are retried and, if unrecoverable, captured for inspection. Covered by tests.

Files

  • backend/src/notifications/notifications.service.ts
  • backend/src/notifications/email.service.ts
  • backend/src/notifications/notifications.module.ts

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions