pa-05 — Execution

Prerequisites

  • Go ≥ 1.25 (stdlib only, offline).

One-shot

cd pa-05-delivery-semantics-saga && bash scripts/verify.sh

Per-language workflow (Go)

cd pa-05-delivery-semantics-saga/src/go
go test -race -count=1 ./...      # outbox at-least-once, saga compensation + resume
go run ./cmd/sagasim

Package map

FileWhat
delivery/outbox.goatomic state+event write, relay (at-least-once), idempotent sink, broken-dual-write contrast
delivery/saga.goorchestrated saga: forward steps + reverse compensation + RunFrom (crash resume)
cmd/sagasimoutbox vs broken dual write; saga happy-path + compensation

See GUIDE.md for the deep dive.