feat(notifications): add retry with exponential backoff to send_webhook #155

Merged
fuzzy merged 1 commit from fix/0120-webhook-retry into main 2026-07-05 18:10:22 +00:00
Owner

What

Add retry logic to send_webhook: 3 attempts with 1s/2s/4s exponential backoff on HTTP 429 and 5xx responses.

Why

Transient webhook failures were previously silently lost after a single attempt.

Testing

  • 146 unit tests pass
  • Pre-commit hooks pass

Closes #120

## What Add retry logic to `send_webhook`: 3 attempts with 1s/2s/4s exponential backoff on HTTP 429 and 5xx responses. ## Why Transient webhook failures were previously silently lost after a single attempt. ## Testing - [x] 146 unit tests pass - [x] Pre-commit hooks pass Closes #120
feat(notifications): add retry with exponential backoff to send_webhook
All checks were successful
CI / test (pull_request) Successful in 54s
CI / lint (pull_request) Successful in 1m19s
29be714fef
Retries up to 3 times with 1s/2s/4s backoff on HTTP 429 and 5xx
responses, matching the pattern used in the LLM client.
Closes #120
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-05 18:09:22 +00:00
the.auditor left a comment

Automated Review — PR #155

Result: APPROVED


Clean addition — adds exponential backoff retry to send_webhook (3 attempts, 1s/2s/4s). Retries on 429, 5xx, and connection errors. Non-retryable 4xx fail immediately. Pattern matches the existing LLM client retry loop. Closes #120.

No suggestions.

## Automated Review — PR #155 **Result: APPROVED** --- Clean addition — adds exponential backoff retry to `send_webhook` (3 attempts, 1s/2s/4s). Retries on 429, 5xx, and connection errors. Non-retryable 4xx fail immediately. Pattern matches the existing LLM client retry loop. Closes #120. No suggestions.
fuzzy merged commit 29be714fef into main 2026-07-05 18:10:22 +00:00
fuzzy deleted branch fix/0120-webhook-retry 2026-07-05 18:10:23 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!155
No description provided.