Skip to content

[Queue] Implement Dead Letter Queue for Permanently Failed Jobs #901

Description

@Eniola3321

Labels: bullmq reliability monitoring swagger
Priority: medium

Summary

Move permanently failed jobs into a dead letter queue for investigation and recovery.

Description

Jobs that fail after all retry attempts should remain available for manual investigation instead of being silently removed.

Tasks
Configure removeOnFail: false.
Create dead-letter queue.
Move permanently failed jobs into the queue.
Store failure information.
Add admin inspection functionality.
Add retry/replay functionality where appropriate.
Swagger / API Integration
Document GET /admin/queues/dead-letter.
Add admin authentication.
Document job filtering.
Document job response schema.
Document retry/replay endpoint if implemented.
Acceptance Criteria
Permanently failed jobs are retained.
Administrators can inspect failed jobs.
Unauthorized users cannot access dead-letter data.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions