Files
vercel__workflow/.changeset/slot-event-ids.md
2026-08-11 09:06:53 -07:00

686 B

@workflow/world-postgres, @workflow/world-vercel, @workflow/world-local, @workflow/core, @workflow/world
@workflow/world-postgres @workflow/world-vercel @workflow/world-local @workflow/core @workflow/world
patch patch patch patch patch

Breaking: SpecVersion 6: Event IDs are now a dense per-run slot number, allocated by the world at publish time so a rejected write leaves no gap in the event log. A replay tells the world how many events it had read and gets back the ones it did not see, so an event that arrives from outside the replay and lands ahead of an event the replay wrote no longer fails the run with CORRUPTED_EVENT_LOG: it is held for whichever part of the workflow awaits it. A gap in the numbering fails the run instead of being replayed over.