mirror of
https://github.com/block/buzz.git
synced 2026-11-04 08:21:48 +00:00
The SEC-006 event-path tests seeded rows through the legacy create_workflow helper, which leaves definition_event_id NULL. Run creation now fails closed on NULL-revision rows, so the positive arms (owner-authorized workflows must fire) broke. Seed through upsert_workflow — the production insert path — so fixtures carry a bound signed revision like every real workflow row. Co-authored-by: Wakko <0999168a3b1a4dabdf398cf43ba2893bb29b74dc06d0b31c2d3b51dbebea1612@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <loganj@squareup.com>