Orchestration
Idempotent outbox and delivery
One duplicate is suppressed. Actual external effects require idempotency and unknown-outcome reconciliation; no exactly-once guarantee.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 6 activities and 5 transitions
Activities
- Start
start - Enqueue business event
outbox.enqueue - Same key, no duplicate
outbox.enqueue - Deliver once to fixture
outbox.dispatch - Inspect queue status
outbox.status - Return result
end
Transitions
- Start → Enqueue business event (on success)
- Enqueue business event → Same key, no duplicate (on success)
- Same key, no duplicate → Deliver once to fixture (on success)
- Deliver once to fixture → Inspect queue status (on success)
- Inspect queue status → Return result (on success)
Scroll sideways to see the whole flow.
List the 3 activities and 2 transitions
Activities
- Start
start - Simulated delivery
assign - Return result
end
Transitions
- Start → Simulated delivery (on success)
- Simulated delivery → Return result (on success)
Walkthrough
- Enqueue business eventOne duplicate is suppressed. Actual external effects require idempotency and unknown-outcome reconciliation; no exactly-once guarantee.
What you will practise
- Run the example in simulation and inspect recorded activity results.
- Distinguish simulation assertions from live service qualification.
Sample cases
1 case with 1 assertion, run with python -m server.integration examples --all in simulation.
Safe simulation
PassedOne duplicate is suppressed. Actual external effects require idempotency and unknown-outcome reconciliation; no exactly-once guarantee.
Expected result The process completes in simulation without connecting to external systems.
1/1 assertions
- Simulation completed
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- None beyond the base runtime.
- Simulation fixtures
- None: no activity in this template uses a connector.
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
9c4d24e25140c992099d2ab74ca33a670135a8db17976f2e971274b9d066bdf4- Closure SHA-256
3858189902577c2f55e30a6f09e6f5a96564a580302d59db990376d1e465e83c- Runtime
1.27.0- Results
- 1/1 cases, 1/1 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/v21_safe_outbox.jsonserver/integration/templates/v21_outbox_delivery.jsonserver/integration/templates/v21_safe_outbox.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example v21_safe_outbox PYTHONPATH=. python scripts/export_public_gallery.py --check