Summary
When a webhook callback URL returns a 500 error, the server should retry the delivery rather than treating it as a permanent failure. An integration test should confirm the retry fires and uses the correct backoff before the next attempt.
Scope
- Register a webhook with a mock callback URL that returns 500 on the first call and 200 on the second
- Simulate a trade event
- Assert the callback was called twice
- Assert the second call happened after the backoff delay
- Assert the webhook is not marked as failed after a successful retry
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
When a webhook callback URL returns a 500 error, the server should retry the delivery rather than treating it as a permanent failure. An integration test should confirm the retry fires and uses the correct backoff before the next attempt.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram