mirror of
https://github.com/block/buzz.git
synced 2026-11-27 11:41:21 +00:00
wip(workflows): bind runs to signed revisions
Checkpoint run-level revision persistence before wiring every execution and resume path. Co-authored-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> Signed-off-by: loganj <loganj@squareup.com>
This commit is contained in:
@@ -393,6 +393,9 @@ CREATE TABLE workflow_runs (
|
||||
community_id UUID NOT NULL REFERENCES communities(id),
|
||||
id UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
workflow_id UUID NOT NULL,
|
||||
definition_event_id BYTEA CHECK (
|
||||
definition_event_id IS NULL OR octet_length(definition_event_id) = 32
|
||||
),
|
||||
status run_status NOT NULL DEFAULT 'pending',
|
||||
trigger_event_id BYTEA,
|
||||
current_step INT NOT NULL DEFAULT 0,
|
||||
|
||||
Reference in New Issue
Block a user