Webhook delivery guarantees

I have several questions about guarantees that are applied to delivery of GitHub webhook messages:

  • Will events be delivered in the order in which the events were generated?
  • What about retries of failed deliveries?

Will events be delivered in the order in which the events were generated?
They are https so this is technically not possible.

What about retries of failed deliveries?
There are no guarantees or assured delivery mechanism, you can list recent deliveries (success and failures)
Your processing logic must handle missing events or out of sequence events.
As it is not guaranteed, relying on webhooks alone for critical actions would be risky.
Some links with information below.
listing-recent-deliveries
best-practices-for-integrators

1 Like

Thank you for the reply.

They are https so this is technically not possible.
I see that it may lead to missed events but don’t understand how it’s related to delivered events order…

Hi, regardless of the ordering of any events when they leave GitHub (I cannot comment on any GitHub assurances on the matter of ordering, I sceptical they would be able to guarantee) ,
The https protocol used fr the webhook event delivery will not guarantee the sequencing/order of each webhook events arrival at the webhook listener.