What the engine is tested against

Claims about reliability are cheap. These are the failures we deliberately cause in the engine's test suite, what it must do in each, and how the last run went. The numbers come from the test reports, not from us.

10failure scenarios
117tests behind them
0failing in the last run
517tests in the whole suite

Last run 27 November 2026 on engine commit ff278ed7e1e7 with uncommitted changes. Whole suite: 0 failed, 20 skipped (tests that need a live database or a particular setting, run separately).

A call times out after it went through

6 of 6 passing

What goes wrongThe other system saved the invoice, but the answer never arrived. A blind retry creates a second one.

What the engine doesThe write stays “may or may not have happened”. Before any retry the engine looks it up by its key: found, it uses it; proven absent, it sends once; can't tell, it stops for a person.

The 6 tests
  • PassedAn automatic retry after a timeout adopts the invoice instead of sending it again
  • PassedWhen the lookup fails too the run stops for a person instead of guessing
  • PassedThe effect key placeholder is legal in the probe and nowhere else
  • PassedA timeout before the write landed is proven absent and sent exactly once more
  • PassedAn operator retry after a timeout adopts the invoice instead of sending it again
  • PassedThe four scenarios the home page shows behave as it says

The engine stops in the middle of a call

13 of 13 passing

What goes wrongA restart leaves a step that was talking to another system with no record of how it ended.

What the engine doesEvery write records its intent before it is sent. After a restart the engine reads the other system back instead of guessing, and a background sweep revisits anything still unresolved.

The 13 tests
  • PassedA found effect is adopted and never repeated
  • PassedGmail probe never concludes absence from a bounded scan
  • PassedWithout key propagation the probe cannot help and says so
  • PassedA miss soon after the write is not proof and nothing is resent
  • PassedA proven absent effect retries without a human gate
  • PassedA failed probe keeps the human gate
  • PassedGmail probe adopts a message it finds
  • PassedUnknown before the escalation window stays in flight and raises no task
  • PassedA miss inside the settle window is asked again not retried
  • PassedUnknown past the escalation window raises exactly one human task
  • PassedAbsent effect retries automatically through the sweep
  • PassedFound effect is adopted and the run resumes without a human
  • PassedA grace period not yet elapsed is ignored by sweep

The same webhook arrives twice

13 of 13 passing

What goes wrongSenders retry deliveries. Each copy could start its own run and repeat everything in it.

What the engine doesA delivery keyed by an idempotency header or an id in the payload starts at most one run. The repeat returns the original run and is recorded on it.

The 13 tests
  • PassedSame key with a different payload is rejected not silently dropped
  • PassedUnkeyed deliveries are independent runs
  • PassedReplay of a keyed delivery starts no second run
  • PassedConcurrent deliveries of the same key start exactly one run
  • PassedAn oversized delivery is refused and starts no run
  • PassedUnkeyed delivery on a plain endpoint starts its own run
  • PassedQuery parameter key still works
  • PassedEndpoint can refuse unkeyed deliveries
  • PassedKey from the body deduplicates without sender cooperation
  • PassedSame key with different content is a conflict
  • PassedCredential headers never reach the durable event payload
  • PassedIdempotency key header absorbs a retry
  • PassedBody key that resolves to nothing is rejected

A step is retried after it already succeeded

7 of 7 passing

What goes wrongA retry, a crash recovery or a person pressing retry runs an action that already happened.

What the engine doesThe recorded outcome is reused. The other system is not called again.

The 7 tests
  • PassedSucceeded effect is not re executed after crash recovery
  • PassedEffect records survive restart
  • PassedIn doubt non idempotent effect requires human before re execution
  • PassedSucceeded effect cannot be downgraded
  • PassedHappy path records succeeded effect
  • PassedEffect commands round trip through codec
  • PassedIn flight idempotent effect re executes without human gate

The other system cannot be checked

8 of 8 passing

What goes wrongSome systems offer no way to look an action up afterwards.

What the engine doesEach step reports how far its result can be verified. Where it cannot be, an uncertain outcome stops for a person — it is never reported as checked.

The 8 tests
  • PassedSql that names the effect key parameter is recognised
  • PassedGmail stamps the key into the message and reports mime header
  • PassedA mime header sender reports mime header
  • PassedA sender that drops the key is reported as none not as protected
  • PassedDatabase probe refuses to run when it cannot be trusted
  • PassedA key the provider honours turns an in doubt send into a safe retry
  • PassedEmail step hands the key to the sender and reports http header
  • PassedSheets append only writes the key column when the author opts in

The call succeeds but the result is wrong

11 of 11 passing

What goes wrongA 200 means the request was accepted, not that the invoice total is right.

What the engine doesBusiness checks (expect:) run before the run moves on. A failed check stops the run, is never retried, and is reported apart from an ordinary failure.

The 11 tests
  • PassedA holding postcondition lets the run advance
  • PassedBoth the short and long spellings parse
  • PassedA step with no expect block behaves exactly as before
  • PassedThe run does not advance past a step whose checks failed
  • PassedA failing postcondition is not retried
  • PassedThe timeline distinguishes a business failure from an ordinary step failure
  • PassedA failing postcondition fails the run even though the step succeeded
  • PassedA malformed expect block is refused at parse time not run time
  • PassedA shorthand check without a message still names what was asserted
  • PassedNumeric equality does not depend on which java box the value landed in
  • PassedAn unevaluable check counts as a failure rather than a pass

A step the engine cannot actually perform

9 of 9 passing

What goes wrongAn unconfigured or unimplemented step reports success having done nothing.

What the engine doesIt fails with a reason. Only explicitly simulated steps return fixed data, and they are marked as simulated.

The 9 tests
  • PassedLog channel notification succeeds because the run timeline is the delivery
  • PassedCompound child that cannot be executed fails its iteration instead of echoing
  • PassedNotification on an unsupported channel fails rather than claiming delivery
  • PassedDeclared simulation succeeds but is labelled as a fixture
  • PassedA simulated step records no external effect
  • PassedHttp call with no connector wired fails instead of echoing its declared output
  • PassedSimulated compound child runs and is labelled
  • PassedA simulated step is not handed to a wired connector
  • PassedDatabase step with no connector wired fails

The server restarts or fails over

18 of 18 passing

What goes wrongRuns in progress are lost, or two servers act on the same run.

What the engine doesState is rebuilt exactly from the durable log after a restart. A promoted standby fences out the old primary so only one acts.

The 18 tests
  • PassedCoordinator run over durable state machine survives reopen
  • PassedDirect command apply and replay restores state
  • PassedPromoted follower becomes primary and accepts writes
  • PassedEpochs must be strictly monotonic on primary
  • PassedPromote over http flips role and unblocks log endpoint
  • PassedFresh primary starts at epoch zero until bootstrapped
  • PassedPromotion survives reopen
  • PassedStale epoch entry from zombie primary is rejected
  • PassedPromotion is rejected on an already primary node
  • PassedFollower detects sequence gap instead of diverging
  • PassedFollower refuses local apply and only accepts replication
  • PassedFollower catches up after every apply
  • PassedFollower converges through full coordinator run
  • PassedFollower survives restart and resumes from persisted tip
  • PassedLagging follower gets snapshot required after compaction
  • PassedSnapshot rotates log and preserves rich state
  • PassedAuto snapshot fires at threshold
  • PassedCrash between snapshot write and rotation is safe

Two workspaces run the same workflow at once

13 of 13 passing

What goes wrongA missing filter shows or changes another customer's runs.

What the engine doesEvery run belongs to one workspace from the moment it starts. Another workspace's run reads as not existing.

The 13 tests
  • PassedRuns of the same workflow are owned by the tenant that started them
  • PassedListing is scoped and never bleeds across tenants
  • PassedA run id from another tenant reads as absent not forbidden
  • PassedA pre tenancy start instance replays into the legacy account rather than no account
  • PassedProduction refuses to load a trigger workflow with no declared owner
  • PassedAdmission refuses a blank tenant and the legacy tenant
  • PassedA private workflow cannot be started by another tenant
  • PassedTimeline of another tenants run is not readable
  • PassedIdentical step ids across tenants do not collide on effect keys
  • PassedPublishing a link to another accounts connection is refused
  • PassedStarting another accounts private workflow reads as absent
  • PassedAnother accounts private workflow reads as absent
  • PassedThe owner gets the definition without the webhook secret

A workflow changes while runs are in flight

19 of 19 passing

What goes wrongA run starts on one definition and finishes on another, so its record no longer matches what it did.

What the engine doesA published version is never changed. Every run keeps the version it started on.

The 19 tests
  • PassedEvery version survives a restart
  • PassedA name owned by another account is refused
  • PassedRepublishing an unedited secret keeps it
  • PassedRepublishing your own name makes the new definition current
  • PassedA webhook endpoint key listening elsewhere is refused
  • PassedA name that is not a safe slug is refused
  • PassedPublish registers owned compiled definition
  • PassedA condition draft with rules and branch edges compiles
  • PassedRepublishing a link without a connection keeps the stored one
  • PassedA link that names a connection points at it
  • PassedPublish keeps the display title separate from the identifier
  • PassedA secret marker cannot pull another accounts secret
  • PassedRepublishing never overwrites a version that runs may be on
  • PassedAn invalid draft registers nothing
  • PassedPublish without a title leaves it unset
  • PassedRepublishing with a new secret replaces it
  • PassedThe next version is always one nobody has seen
  • PassedA definition published before history existed is archived on boot
  • PassedPersisted yaml reloads to the same owned workflow

What this does not prove

These tests run the real engine against stand-ins for the systems it talks to, so a stand-in can be made to time out or fail on demand. They show what the engine decides; they do not measure any real system's uptime, and they are not an audit. How far a step can be checked still depends on the system it calls: each step reports that itself.

See it happen on the home page, where four of these runs are replayed, read why a timeout is not a failure, or see how data is protected.