Skip to content

WorkflowStorage

WorkflowStorage is the durable persistence contract used by WorkflowRuntime. It owns atomic run/history/command transitions and the lease contract. It does not own workflow-domain branching.

Implementations:

  • InMemoryWorkflowStorage for tests and the inspector lab
  • SupabaseWorkflowStorage for PostgreSQL

The graph InMemoryStorage / SupabaseStorage pair that stored workflow_instances is the legacy adapter.

See Also