A retried webhook delivery runs its binding twice #472

Closed
opened 2026-10-27 13:36:28 +00:00 by sam · 0 comments
Owner

Problem

binding_dispatches is unique on (binding, capture), but a sender's retry of the same delivery is recorded as a new capture, so the bound workflow runs again.

Done when

[ ] A redelivery of an event already captured from the same source dispatches no second run.
[ ] The capture still records that the retry arrived.

Close reason

Captures carry the sender's delivery ID; binding_dispatches is unique per (binding, delivery), so a retry is recorded but refused, including a concurrent one. Regression test TestRedeliveryDispatchesOnce.


Imported from beads archie-core-t2db.46 · GitHub #1242 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05

## Problem binding_dispatches is unique on (binding, capture), but a sender's retry of the same delivery is recorded as a new capture, so the bound workflow runs again. ## Done when [ ] A redelivery of an event already captured from the same source dispatches no second run. [ ] The capture still records that the retry arrived. ### Close reason Captures carry the sender's delivery ID; binding_dispatches is unique per (binding, delivery), so a retry is recorded but refused, including a concurrent one. Regression test TestRedeliveryDispatchesOnce. --- _Imported from beads `archie-core-t2db.46` · GitHub #1242 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highbug labels 2026-10-27 13:36:28 +00:00
sam self-assigned this 2026-10-27 13:36:28 +00:00
sam closed this issue 2026-10-27 13:36:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#472