Skip to content

Implement outbound webhook delivery with retries and dead-letter handling - #317

Merged
Lakes41 merged 1 commit into
Adamantine-guild:mainfrom
bridgetthnkechi87-cloud:feature/outbound-webhook-delivery
Jul 29, 2026
Merged

Implement outbound webhook delivery with retries and dead-letter handling#317
Lakes41 merged 1 commit into
Adamantine-guild:mainfrom
bridgetthnkechi87-cloud:feature/outbound-webhook-delivery

Conversation

@bridgetthnkechi87-cloud

Copy link
Copy Markdown
Contributor

Closes #295

Summary

  • Added outbound webhook event types and dispatch support in packages/webhook-utils
  • Reused the existing HMAC signing/verification flow for symmetric webhook signatures
  • Added retry handling with exponential backoff and jitter
  • Added an in-memory dead-letter store for exhausted webhook deliveries
  • Added a subscriber registry loaded from environment configuration
  • Documented outbound event schema, signing contract, retry behavior, and configuration
  • Added tests for signing/verification symmetry, retries, dead-letter handling, registry loading, and no hard-coded secrets

Testing

  • pnpm --filter @guildpass/webhook-utils build
  • pnpm --filter @guildpass/webhook-utils typecheck
  • pnpm --filter @guildpass/webhook-utils test
  • pnpm --filter @guildpass/webhook-utils lint

Notes

pnpm --filter @guildpass/webhook-utils lint passes with 0 errors and 1 existing warning in packages/webhook-utils/examples/express.ts.

@Lakes41
Lakes41 merged commit 9cd30c8 into Adamantine-guild:main Jul 29, 2026
1 check passed
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.

Implement outbound webhook delivery with retries and dead-letter handling using packages/webhook-utils

2 participants