Skip to content

Schedule failed webhook retries#23

Closed
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/webhook-retry-schedule
Closed

Schedule failed webhook retries#23
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/webhook-retry-schedule

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • set next_attempt_at when outbound webhook delivery fails, so retry workers can pick it up later
  • clear next_attempt_at and stamp delivered_at when a delivery later succeeds
  • add an index on (status, next_attempt_at) for retry queue lookups

Validation

  • npx tsc --noEmit
  • libSQL in-memory check for failed insert, failed conflict update, and delivered cleanup behavior
  • git diff --check

@ralyodio ralyodio closed this Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants