#784 HIGH: Event subscription silently overwrites existing subscription

closed high Created 2026-01-02 03:32 · Updated 2026-01-02 06:26

Description

Edit
create_event_subscription INSERT uses ON CONFLICT DO UPDATE, silently replacing existing subscription. If workflow A subscribes to event X, then workflow B subscribes to same event before A receives it, A's subscription is deleted. Location: migrations/01KCFHDFDPZ4MJM8H87RM56BVW:435-458. Fix: Use ON CONFLICT DO NOTHING.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...