Skip to content

Add retry exhaustion logging for indexer DLQ transitions#254

Open
EmeditWeb wants to merge 1 commit intoaccesslayerorg:mainfrom
EmeditWeb:codespace-glorious-enigma-vjwxvw5rv9fwrj4
Open

Add retry exhaustion logging for indexer DLQ transitions#254
EmeditWeb wants to merge 1 commit intoaccesslayerorg:mainfrom
EmeditWeb:codespace-glorious-enigma-vjwxvw5rv9fwrj4

Conversation

@EmeditWeb
Copy link
Copy Markdown

Close #229

Summary

When an indexer job exhausts its retry budget and is moved to the DLQ, emit a warning log with the job type, retry context, sanitized payload, failure reason, and error details.

What changed

  • src/utils/indexer-dlq.utils.ts
    • Added a call to logRetryExhaustion(...) inside moveToDLQ
  • docs/indexer/DLQ_WORKFLOW.md
    • Documented the new warning log for retry exhaustion
  • src/utils/test/indexer-dlq.utils.test.ts
    • Added a unit test to assert that logRetryExhaustion is called with the expected parameters

Testing

  • Run the relevant unit test(s):
    • pnpm test src/utils/test/indexer-dlq.utils.test.ts
  • Confirm moveToDLQ triggers the warning log helper before creating the DLQ record

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 28, 2026

@EmeditWeb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add indexer job retry exhaustion log helper

1 participant