mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
Integrate durable workflow agent delivery
Preserve current-main threaded workflow replies while binding owner-signed doorbells to durable, exclusive agent deliveries with lease-safe finalization. Co-authored-by: Larry <larry@buzz.local> Signed-off-by: Logan Johnson <loganj@squareup.com>
This commit is contained in:
@@ -368,6 +368,9 @@ CREATE TABLE workflows (
|
||||
channel_id UUID,
|
||||
definition JSONB NOT NULL,
|
||||
definition_hash BYTEA NOT NULL,
|
||||
-- Exact owner-signed kind:30620 revision that materialized this row.
|
||||
-- Nullable only for pre-0032 rows; workflow doorbells fail closed until re-saved.
|
||||
definition_event_id BYTEA,
|
||||
status workflow_status NOT NULL DEFAULT 'active',
|
||||
enabled BOOLEAN NOT NULL DEFAULT TRUE,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
|
||||
Reference in New Issue
Block a user