Example applications
- Update a progress UI while a mission runs.
- Start a downstream job only after a terminal event.
- Route an approval-needed event to an internal review queue.
- Reconcile a delivery after a network timeout without repeating the effect.
- Populate a warehouse from immutable event IDs and ordered sequences.
Delivery rules
- Verify a webhook over the exact raw body before parsing JSON.
- Reject stale timestamps and invalid signatures.
- Persist the event before returning 2xx.
- Deduplicate by immutable event ID.
- Process run events by sequence rather than arrival order.
- Resume SSE with the last event ID.
- Treat EOF before terminal as incomplete.
Signed webhook tutorial
Implement verification, persistence, replay, and cleanup.
Event troubleshooting
Diagnose signatures, ordering, duplicate delivery, and stream gaps.