Duplicate work on retry
A timeout triggers a retry and the customer is charged twice, because the step was never idempotent.
A demo runs once. A workflow runs ten thousand times, on bad input, while a third-party API is down. This page is about the engineering that separates the two: idempotency, retries, visibility and an owner for every failure.
The reliability patterns here run on this site's own lead pipeline.
A timeout triggers a retry and the customer is charged twice, because the step was never idempotent.
Three of five steps succeed and the system reports success, so the record is now wrong in a way nobody is looking for.
An error log that says what broke but not which customer, order or payload it broke for.
The person who built it left, the workflow still runs, and nobody knows what it is allowed to touch.
Each stage consumes an event and emits the next, so the workflow is a sequence of small, testable units rather than one long function.
Every write is keyed so a retry cannot duplicate it. This is the single most important property of a production workflow.
Transient failures retry; persistent ones stop, land in a dead-letter store and alert a person.
Per-step success rate, duration and error class, with the payload reference attached.
A workflow change is a deployable version, so a bad release is reverted rather than patched live.
The charge is attempted with an idempotency key tied to the invoice, so a duplicate attempt is rejected by the processor.
The failure is classified: insufficient funds, expired card, or processor outage. Each has a different correct response.
Soft failures schedule a retry with backoff; hard failures stop retrying and trigger a customer-facing dunning message.
After the policy limit, a task is created for a person with the full attempt history attached.
The ledger is reconciled against the processor's records, so the local state cannot drift from reality.
Monitored: success rate per step, mean time to recovery, and manual interventions per week. A workflow that needs daily human repair is not automated, it is assisted.
Form and assessment submissions are validated server-side, rate limited, deduplicated, written to a database with consent recorded per purpose, then announced by email with three attempts and a per-attempt audit row. When a notification fails, the enquiry is still stored and the failure is logged. That is the pattern in production.
See the enquiry journeyStatus: our-project
Anything with a usable API or webhook. Where a platform has none, we say so and discuss the trade-off of an export-based approach rather than pretending it is equivalent.
Transient failures retry with backoff; persistent ones stop, are stored with the payload, and raise an alert. The workflow never reports success for work it did not do.
Yes. Per-step logs with timestamps, duration, outcome and the record affected, in a view written for an operator rather than an engineer.
Against realistic data in a separate environment, then a limited rollout. Replays of real historical events are the only way to be confident about edge cases.
We do, under an agreed support arrangement, or we hand over with documentation and a runbook. Either way a named owner is part of the design.
The free assessment takes a few minutes and reports an illustrative range with its assumptions stated.