Files
buzz/migrations/0034_workflow_run_definition_event_id.sql
Logan Johnson 08020bebca feat(workflows): bind owner triggers to exact signed revisions
Reconcile the complete Node A observable behavior onto current main without carrying its historical merge topology.

Co-authored-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <loganj@squareup.com>
2026-08-26 16:33:10 -04:00

6 lines
306 B
SQL

-- Bind each new workflow run to the exact signed definition it executes.
-- Existing rows remain NULL and all resume/execution paths fail them closed.
ALTER TABLE workflow_runs
ADD COLUMN definition_event_id BYTEA
CHECK (definition_event_id IS NULL OR octet_length(definition_event_id) = 32);