-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Problem Statement
Using Cloudflare Workflows wrapper with Sentry SDK: https://docs.sentry.io/platforms/javascript/guides/cloudflare/features/workflows/
Sentry requires the workflow instance ID to be a random UUID. But part of the point of using Workflows is that if we receive duplicate webhooks, we don't double-write. So in the case of Stripe, for instance, we want to use the Stripe event ID as the workflow instance ID.
Solution Brainstorm
We can probably turn the stripe event ID into a UUID in a deterministic and non-colliding way, but then our workflows are no longer easy to trace back to the stripe event that caused them (or searchable in the CF dashboard, etc)
Ideally we could use Stripe's event ID to set the already unique-requierd workflow ID rather than needing to convert it to a UUID for Sentry.
Appreciate everyone who looks into this! π
Metadata
Metadata
Assignees
Labels
Type
Projects
Status