mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
f5aeaa869c
Co-authored-by: Peter Wielander <peter.wielander@vercel.com>
473 B
473 B
@workflow/world-vercel
| @workflow/world-vercel |
|---|
| minor |
Implement World.createRunId to mint region-tagged ULIDs, preferring an explicit options.region from start(), then the VERCEL_REGION environment variable, and finally defaulting to iad1 so run IDs are always tagged with a concrete, routable region. The queue now routes each message to the region encoded in the payload's tagged run ID (or to an explicit opts.region override), instead of the previous hard-coded iad1.