Skip to content

Bug 2050525 - Don't add fetch_link_preview failures to DLQ - #85

Merged
fterdal merged 1 commit into
mainfrom
bug-2050525-link-preview-dlq
Jun 29, 2026
Merged

Bug 2050525 - Don't add fetch_link_preview failures to DLQ#85
fterdal merged 1 commit into
mainfrom
bug-2050525-link-preview-dlq

Conversation

@fterdal

@fterdal fterdal commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Add a dead_letter opt-out flag to BaseTaskWithRetry and set it to False on fetch_link_preview: the failure is still logged and reaches Sentry via the Celery integration, but no DLQ row is created.

This should cut down on unnecessary DLQ noise. As of right now, 100% of the rows in the DLQ are related to fetch_link_preview (e.g. 403 Forbidden or 402 Payment Required). Since they can't be retried, there's no need to add them to the DLQ.

…able

Add a `dead_letter` opt-out flag to BaseTaskWithRetry and set it to False
on fetch_link_preview: the failure is still logged and reaches Sentry via
the Celery integration, but no DLQ row is created.
@fterdal fterdal changed the title WIP: Bug 2050525 - Don't add fetch_link_preview failures to DLQ Bug 2050525 - Don't add fetch_link_preview failures to DLQ Jun 25, 2026
@fterdal
fterdal marked this pull request as ready for review June 25, 2026 18:10
@fterdal
fterdal requested a review from a team as a code owner June 25, 2026 18:10
@fterdal
fterdal merged commit f2e0925 into main Jun 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants