1
Webhook delivery ID (dedup key)
Source: getsentry/sentry#126707 · opened by @sswrk
Problem Statement Sentry integrations retry webhooks on server errors or on timeouts. However, it might happen that the destination has actually processed the webhook and handled it even though Sentry marked it as failed (e.g. the destination server is having a spike in response times, Sentry request times out after 1 second but the webhook was handled). I learned that Sentry does not attach any stable ID for webhook delivery dedup (Request-Id is different on every delivery attempt of the same event). Because of this limitation, it's not always possible to build idempotent solutions. While it's not a problem for "issue created" event (we can dedup by event type and issue ID), it is a problem for "issue resolved" because it can be unresolved and solved by the same actor. Solution Brainstorm Inspiration from other services delivering webhooks: • In Stripe, each event has an unique ID, it's included in the webhook body. • In GitHub, w…
No pledges yet. Be the first to back this.
Comments
Similar requests
Cron issues not triggering issue webhooks
0 votes · 0 comments
Show email delivery status for pending member invites
0 votes · 0 comments
Support flexible email and webhook alert destinations
0 votes · 0 comments
Include all tags in issue webhook payloads
0 votes · 0 comments
Include firstSeen in error event webhook payload
0 votes · 0 comments
No comments yet.