Skip to content

feat(webhooks): add outgoing webhook dispatcher with retries and HMAC signing#859

Open
Alimzy wants to merge 7 commits into
Fracverse:masterfrom
Alimzy:feature/webhook-dispatcher
Open

feat(webhooks): add outgoing webhook dispatcher with retries and HMAC signing#859
Alimzy wants to merge 7 commits into
Fracverse:masterfrom
Alimzy:feature/webhook-dispatcher

Conversation

@Alimzy

@Alimzy Alimzy commented Jun 25, 2026

Copy link
Copy Markdown

Adds webhook persistence and dispatch flow for plan lifecycle events:
plan.created
plan.pinged
plan.claimable
Adds PostgreSQL schema:
webhook_endpoints
webhook_dispatches
Implements background dispatcher with:
retry loop up to 5 attempts
exponential backoff
HMAC-SHA256 payload signing via X-Signature
status persistence for success/failure and next attempt scheduling
Wires dispatcher startup in main.rs
Enqueues webhook events from:
api.rs
inactivity_watchdog.rs
Closes #826

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Alimzy 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

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
un cargo fmt --all -- --check

and clippy

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
Run cargo fmt --all -- --check

and clippy

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
Run cargo fmt --all -- --check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
Run cargo fmt --all -- --check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
Pls fix conflict

@ONEONUORA

Copy link
Copy Markdown
Contributor

Run cargo fmt --all -- --check
error: unexpected closing delimiter: }
--> /home/runner/work/InheritX/InheritX/backend/src/api.rs:419:1
|
221 | ) -> impl IntoResponse {
| - this opening brace...
...
418 | }
| - ...matches this closing brace
419 | }
| ^ unexpected closing delimiter

Error writing files: failed to resolve mod api: cannot parse /home/runner/work/InheritX/InheritX/backend/src/api.rs
Error: Process completed with exit code 1.

@Alimzy

@Alimzy Alimzy force-pushed the feature/webhook-dispatcher branch from 0ffad58 to 4f707a3 Compare June 26, 2026 15:44
@ONEONUORA

Copy link
Copy Markdown
Contributor

Run cargo fmt --all -- --check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Alimzy
Update on this Pr
you will be unassign in 6hrs

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.

[Backend] Feature: Outgoing Webhook Dispatcher System

2 participants