feat: implement party acceptance flow and webhook retry mechanism#360
feat: implement party acceptance flow and webhook retry mechanism#360SharifIbrahimDev wants to merge 3 commits into
Conversation
|
@SharifIbrahimDev 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! 🚀 |
|
Hi maintainer, I've resolved the merge conflicts and pushed the updates. During the resolution, I noticed that I also fixed a minor TypeScript type inference error in Everything builds successfully ( |
🚀 Feature: Party Acceptance Flow & Webhook Retry Mechanism
📜 Description
This PR resolves two major issues in Vaultix:
🛠️ Changes Made
PENDINGtoACTIVEunless all invited parties explicitly have anACCEPTEDstatus.POST /escrows/:id/parties/:partyId/acceptandreject.WebhookDeliveryentity to track individual delivery attempts, logging response codes, error messages, and next retry times./admin/failed), manually trigger retries (/admin/deliveries/:id/retry), and check health stats (/health).@nestjs/scheduleto run a durable sweep for delayed/crashed deliveries.✅ Verification & Testing
EscrowService.fundconstraint.test/e2e/escrow.e2e-spec.ts.📌 Related Issues
Closes #58
Closes #197