Expand description
QAIL Flow Ledger.
PostgreSQL storage backend for qail-workflow.
This crate keeps application side effects in the app executor while backing
workflow state, leases, operation idempotency, side-effect replay, and
timeout discovery with PostgreSQL tables. All database operations are built
as QAIL AST commands and executed through qail-pg; the crate does not use
raw SQL execution paths.
Default tables:
qail_workflow_statesqail_workflow_leasesqail_workflow_operationsqail_workflow_side_effects
Structsยง
- PgWorkflow
Executor - Workflow executor wrapper that delegates business side effects and stores runtime guarantees in PostgreSQL.
- PgWorkflow
Store - PostgreSQL workflow storage using either a single
PgDriveror aPgPool. - PgWorkflow
Tables - Table names used by
crate::PgWorkflowStore.