Skip to content

[#1142] Make webhook delivery durable and replay-safe - #1165

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
arisu6804:feat/issue-1142-webhook-delivery
Aug 27, 2026
Merged

[#1142] Make webhook delivery durable and replay-safe#1165
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
arisu6804:feat/issue-1142-webhook-delivery

Conversation

@arisu6804

Copy link
Copy Markdown

Summary

  • add durable tenant/event-keyed delivery records with payload fingerprints
  • add atomic claim, lease renewal, completion, retry backoff, and dead-letter transitions
  • prevent duplicate and conflicting enqueues across worker restarts
  • sanitize terminal errors and expose lifecycle statistics
  • cover duplicate, timeout, restart, concurrency, malformed payload, and lease cases

Acceptance criteria

  • one event key has at most one successful delivery
  • concurrent workers cannot claim the same active lease
  • restart recovery reclaims expired processing work
  • duplicate, timeout, restart, concurrency, and malformed payload paths are tested

Validation

  • git diff --check
  • focused Vitest execution is unavailable because dependencies cannot be installed within the available disk space

Closes #1142

@arisu6804
arisu6804 force-pushed the feat/issue-1142-webhook-delivery branch from 982677e to 6414266 Compare August 27, 2026 15:22
@arisu6804
arisu6804 force-pushed the feat/issue-1142-webhook-delivery branch from 6414266 to 564334f Compare August 27, 2026 15:22
@greatest0fallt1me
greatest0fallt1me merged commit a4a9e94 into CalloraOrg:main Aug 27, 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.

[GrantFox][High] Make webhook delivery replay-safe

2 participants