Urgent.News

What's breaking now, across hundreds of outlets.

Tech

The Ledger Committed. Webhook Delivery Is Unconfirmed. What Should Retry?

This article is a contribution from the A2VANTA engineering team. You read a committed payout reservation in the ledger, but you cannot confirm webhook delivery. Retrying the payout command would ask the service to perform a financial operation. Retrying the notification would ask it to send a saved event. An integration needs to distinguish those requests before choosing its recovery action. In…

In the described system, a payout reservation and an intention to notify event are recorded in the ledger as journal entries. These entries are staged and flushed within the same database transaction before committing. An optional pending delivery can also be created and staged in the same transaction, but it does not depend on eventual delivery success.

The worker handles pending deliveries and attempts to send them to an endpoint. The worker reserves a due delivery using a lease token and commits started evidence before attempting to send the notification. If the sender fails to save the response outcome, the worker checks the current reservation token and commits the delivery outcome with completed evidence.

If the recipient accepts the request, the delivery is marked as delivered. If the recipient does not accept the request, the delivery may be retried. The system also allows for manual retries of failed deliveries by an authorized operator.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

The Complete Guide to SVG Icon Optimization for Web Performance

SVG icons have become the gold standard for web interfaces, offering crisp, infinitely scalable graphics that look sharp on any device.

  • SVG icons offer crisp, scalable graphics for web interfaces.
  • Poor optimization leads to large file sizes and slower rendering.
  • Tools like SVGO and SVGOMG automate SVG size reduction.

Propagating Deadlines from VIN Form Submit to NHTSA Proxy Without Orphaned Work

A free VIN form that abandons a slow decode still often leaves a DecodeVinValues call running behind the proxy. The user navigated away, a client timeout fired, or a newer submit superseded the old…

  • Mint deadline at VIN form submit time
  • Pass AbortSignal to Backend for Frontend
  • Abort on unmount, navigation, or superseding submit

More from Thursday 8 October →