feat(webhook): signed delivery with retries and dead-letter queue - #561
Open
ZacLou wants to merge 1 commit into
Open
feat(webhook): signed delivery with retries and dead-letter queue#561ZacLou wants to merge 1 commit into
ZacLou wants to merge 1 commit into
Conversation
…ableRoute-Org#552) - Add HMAC-SHA256 signing (X-Signature header + timestamp) to every webhook payload - Deliver events with bounded retries and exponential backoff on 5xx/timeout - Dead-letter exhausted deliveries with failure reason and replay support - Backfill secrets for webhooks loaded from pre-signing snapshots - Add DLQ list (GET /webhooks/dlq) and replay (POST /webhooks/dlq/:id/replay) endpoints - Add comprehensive tests for signing, verification, delivery, and DLQ behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements signed webhook delivery with bounded retries and a dead-letter queue, as requested in #552.
Changes
X-Signature: t=<unix>,v0=<hex>using a per-webhook secretGET /api/v1/webhooks/dlqlists dead-lettered entries;POST /api/v1/webhooks/dlq/:id/replayretries a deliverySecurity
isSafeWebhookUrl) already existed and is preservedFixes #552.