All problems

Webhook Retry Queue Acknowledges Failed Delivery

Level 2 · node · Reliability · Failed delivery incorrectly acknowledged

Scenario

An event delivery service must acknowledge a webhook queue item only when delivery succeeds. Its worker treats any HTTP response as successful and removes the item even when the receiver returns 503.

Requirements

Only 2xx responses count as successful delivery. Keep 4xx, 5xx, and missing responses pending; acknowledge successful responses.

Acceptance criteria

  • A 503 response is not acknowledged
  • A 400 response is not acknowledged
  • A 204 response is acknowledged
  • A missing response is not acknowledged