Skip to content

Concepts

A Workflow definition is a catalog resource. Instance and step state live in local SQLite. When run is replayed, step.do callbacks that already committed are skipped; uncommitted callbacks may run again (at-least-once until commit).

Side effects on KV / R2 / external HTTP do not roll back with a Workflow snapshot. Make external writes idempotent.

Cross-region placement and Workflow observability in a Cloudflare dashboard are not provided.

Workflows class / step.do / instance handle match Cloudflare. Bounded parallel step.do (default at most 4) is implemented behavior.

Compatibility

TopicCloudflareopen-compute
APIWorkflowsSame: class / step.do / instance handle
ExecutionCross-regionLocal SQLite on the node running ocd
CallbacksAt-least-once until commit; completed callbacks skip on replay
External side effectsDo not roll back with the snapshot