Skip to content

v0.2.0: Durable webhook failure and replay lab

Latest

Choose a tag to compare

@JhinxDev JhinxDev released this 03 Oct 13:30

Version 0.2.0 adds a reproducible local failure/replay lab to the original webhook mapping example.

  • Durable SQLite event and delivery records with explicit acknowledgement semantics.
  • Duplicate and concurrent delivery handling, with one synthetic fulfillment row.
  • Four process-exit checkpoints and deterministic restart/replay assertions.
  • Fixed fixture inputs, expected/actual output and documented failure windows.
  • 29 tests, original HTTP demo and replay lab verified on Windows and Ubuntu in release-commit CI.

Source commit: cf96f2b61c2733352b34705f4f5dcdca93ebda71.

Requires Node >=24.15.0, writable local storage and child-process permission. The original HTTP tests need loopback access. No third-party runtime dependencies, accounts or API keys.

Extract the ZIP and run:

npm ci --ignore-scripts
npm run check
npm test
npm run demo
npm run lab

This is a synthetic personal project developed with AI assistance. The one-effect guarantee covers the tested local SQLite transaction only. It does not establish exactly-once external API effects, production Stripe readiness or paid-client experience. Read docs/replay-lab.md for remaining failure windows. Licence status remains UNLICENSED.

The attached source ZIP, SHA256 file and per-file manifest identify the exact release. ZIP SHA256:

44fc16b4a0ab106e876462a8aa76d00312730d865b03829b3081ad4bb6ae947e

The v0.1.0 release remains available unchanged.