Skip to content

feat(backend): implement webhook registration, delivery, and retry handling#440

Open
amina69 wants to merge 1 commit into
StayLitCodes:mainfrom
amina69:feat/delivery-system
Open

feat(backend): implement webhook registration, delivery, and retry handling#440
amina69 wants to merge 1 commit into
StayLitCodes:mainfrom
amina69:feat/delivery-system

Conversation

@amina69

@amina69 amina69 commented Jun 28, 2026

Copy link
Copy Markdown

Summary

This PR adds a complete backend webhook system for user-managed webhooks, including registration, updates, deletion, delivery tracking, retry scheduling, and test ping support.

What changed

  • Added webhook registration and management endpoints
  • Implemented HMAC-SHA256 signing with the X-Vaultix-Signature header
  • Added webhook delivery persistence and delivery history retrieval
  • Implemented retry logic with exponential backoff and retry windows
  • Disabled webhooks after repeated failures
  • Added HTTPS URL validation for production and test ping support
  • Added unit tests for webhook service behavior

Notes

  • The webhook service now auto-generates a signing secret when one is not provided.
  • Webhooks are limited to 10 per user, with a maximum of 8 subscribed events per webhook.

Verification

  • TypeScript diagnostics for the changed webhook files report no errors.

closes #417

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@amina69 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Cedarich

Copy link
Copy Markdown
Contributor

@amina69

@KuchiMercy

Copy link
Copy Markdown
Contributor

@amina69 Kindly resolve conflicts

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.

feat(backend): Build webhook delivery system with retry logic

3 participants