2026-11-26 15:49 UTC

Jepsen finds serious workflow-safety bugs in Orkes Conductor; 5.5.6 patches key issues

state: corroboratedheat: mediumuncertainty: mediumrelevance: highjepsen durable-execution orchestration workflow-enginesAphyrOrkesNetflix

What is this?

Jepsen’s Kyle Kingsbury tested Orkes Conductor versions 5.3.2, 5.4.0 and 5.5.0 release candidates using fault-injected clusters with Postgres and Redis. The tests found concurrent execution of the same task, workflow stalls, client errors, and serious cases where acknowledged workflows were abandoned, disappeared, or were marked complete although their tasks never ran. Orkes funded the research under Jepsen’s ethics policy. According to the analysis, Orkes released version 5.5.6 with fixes for the three serious safety issues and several other findings; null workflow IDs and misleading client errors remained unresolved or under investigation.

Why it matters

The findings and reported fixes remain directly useful when selecting or upgrading workflow infrastructure: builders should verify versions, understand storage guarantees, and make task side effects safe under retries or concurrent execution.

Current assessment

Jepsen’s Kyle Kingsbury tested Orkes Conductor 5.3.2, 5.4.0 and 5.5.0 release candidates with fault-injected clusters using Postgres and Redis. The analysis found concurrent execution of the same task even in healthy clusters, stalls, and serious cases including acknowledged workflows being abandoned or disappearing, and workflows marked complete although their task never ran. Jepsen reports that Orkes 5.5.6 fixed three serious safety issues and other findings; null workflow IDs and misleading client errors remained unresolved or under investigation. Orkes funded the research under Jepsen’s ethics policy. The tests used a simple one-task workload and selected storage configurations, so they demonstrate bugs but not their frequency or presence in every production deployment. Builders should check their version and storage guarantees, design external side effects for retries and concurrency, and not assume a client error means a workflow was not created. A commenter’s report that an idempotency key was ignored is anecdotal and independently unverified. Engagement has cooled; it does not alter the technical assessment.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 914h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-19 13:00⭐ origin echo-reconstructedOriginal Jepsen analysis, authored by Kyle Kingsbury, published 2026-10-20, funded by Orkes Inc. under the Jepsen ethics policy. "We tested
Jepsen, LLC (Kyle Kingsbury / Aphyr) on blog (echo) · attributed from hn.story.50165904
—
10-20 13:14first on hacker news · published · +24.2hJepsen: Orkes Conductor 5.3.2
aphyr
—
10-20 13:14amplified on hacker news 👑hn.story.50165904
aphyr
peak 59 · 3 comments · 100% of case engagement
10-20 19:30our radar first saw it · +30.5hdiscovery anchor: hn.story.50165904—
pace: p66 vs 879 stories at the 720h mark (now 914h old) — ahead of trail-of-bits-agent-unintended-changes (1.1x), behind claude-code-rust-browser-engine-tab (1.0x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnJepsen: Orkes Conductor 5.3.2
Retrieved article excerpt

Open article · Retrieved 2026-10-20T21:31:09.768356+00:00

# 1 Background

A [workflow
orchestrator](https://github.com/resources/articles/what-is-workflow-orchestration) is a software system which executes computations made
up of small *tasks*. Tasks are connected in a *workflow*,
which routes the outputs of some tasks to the inputs of others,
determines which tasks may be scheduled and when, and so on. The
orchestrator manages workflows and specific executions of them, runs
their tasks, persists state, and tries to drive each execution to
completion.

[Conductor](https://orkes.io/platform) is a workflow
system [originally built
by Netflix](https://github.com/netflix/conductor) and open sourced in 2016.[1](https://jepsen.io/analyses/orkes-conductor-5.3.2#fn1) The
open source version, [Conductor OSS](https://github.com/conductor-oss/conductor), is
now maintained by the [Conductor OSS
Foundation](https://conductor-oss.org/). This foundation is led by [Orkes](https://orkes.io/blog/differences-between-conductor-oss-vs-orkes-conductor),
whose founders helped build Conductor at Netflix. Orkes also offers a [hosted version of Conductor](https://orkes.io/platform) with
additional features, called *Orkes Conductor*. This analysis
focuses on Orkes Conductor, which we call *Conductor* for
short.

In Conductor, a *workflow definition* is a JSON structure that
defines which tasks must be executed, their order, what their inputs and
outputs should be, and so on. Each workflow definition is identified by
a name and a version. For example, a workflow definition could specify
that to adopt a cat, one must first complete an application, then
schedule a vet visit, and receive vaccination records from the vet. A
workflow may also accept an input (say, the name of the cat) and produce
an output (like a certificate of adoption).

A workflow definition may be run many times—say, once for each cat to
be adopted. Each instance is called a *workflow execution*, but
we often call an execution a “workflow” for short. Each execution is
identified by a unique *workflow ID*. During an execution a task
may also be attempted multiple times (e.g. in case of failure), and each
attempt receives a unique *execution ID*.

Some tasks are built into Conductor. Some are *system tasks*,
like making HTTP requests or submitting events to a log like Kafka.
Others are called *operators*—these provide control flow like
conditionals, fork/join, loops, and so on. Operators may execute
ECMAScript code to perform user-defined logic. Finally there are
*worker tasks*, which are written by users to perform the
“business logic” of the system.

To start an execution of a workflow, one can make an API call to
Conductor, submit an event through a message broker, or use Conductor’s
built-in `cron`-style scheduler. Once acknowledged, Conductor
schedules the workflow’s tasks and attempts to drive it to
completion.

## 1.1 Architecture

Conductor [has
five major components](https://orkes.io/academy/learn/56cf6301-6257-4bf3-8df8-513cc752a47d). Conductor servers are stateless processes
which manage workflows and schedule execution. They provide an API and
user interface, interact with external services, and track state. The
definitions of workflows, the state of their executions and the results
of tasks are stored in a database like Postgres, Cassandra, or Redis.
Conductor also uses a queue—often Redis—to dispatch work to various
processes, and to store short-lived state. Finally, there are two pools
of stateless workers: standard workers which execute Conductor’s
built-in tasks, and custom workers, which are written by users using [SDKs for various
languages](https://github.com/conductor-oss#conductor-sdks). All workers [connect to a
Conductor server](https://orkes.io/content/conductor-architecture), poll the server for tasks, execute them, and send
results back to the server.

Each component may be scaled independently. Any number of servers and
workers can run concurrently, and nodes may be killed and restarted at
any time. In version 5.3.2, the database and queue were both required to
preserve all acknowledged writes. However, version 5.4.0 introduced a
new option which enabled the use of a lossy storage system for all
queues except for the main *decider queue*.

## 1.2 Guarantees

Conductor guarantees [“at
least once message delivery”](https://orkes.io/content/error-handling#message-delivery-guarantees), ensuring that all messages are
persistent and will be delivered to task workers one or more times.
Conductor also guarantees that workflows eventually terminate. “If a
workflow has started, it will run to completion as long as all its tasks
are completed.” This does not necessarily mean that workflows and tasks
execute successfully. [Tasks
can run out of retry attempts](https://orkes.io/content/developer-guides/task-and-workflow-status-in-conductor), fail with non-retryable errors, or be
explicitly canceled—and a similar state machine applies to workflow
executions. However, workflows should eventually converge on a [terminal
status](https://github.com/conductor-oss/conductor/blob/411a800f2f29af2bc3af112c3b1b0ecfc6582b46/common/src/main/java/com/netflix/conductor/common/run/Workflow.java#L34-L40): `COMPLETED`, `FAILED`,
`TIMED_OUT`, or `TERMINATED`.

When tasks are executed, each attempt receives a unique execution ID,
and also a unique *retry count*, which [indicates
the number of attempts already performed](https://orkes.io/content/sdks/golang#retry-count-and-logs).

Orkes says that for each workflow execution, each instance of a task
has at most one visible successful execution. Tasks may execute
successfully multiple times—for instance, if a Conductor server loses
its connection to the database just before persisting the completion of
the task execution. However, once the output of a successful task
becomes visible, no task, workflow, or API call will observe a different
output.[2](https://jepsen.io/analyses/orkes-conductor-5.3.2#fn2)

# 2 Test Design

To verify these properties, we built a [test harness](https://github.com/jepsen-io/conductor) for Orkes
Conductor using the [Jepsen
testing library](https://github.com/jepsen-io/jepsen) and the [Conductor Java SDK](https://github.com/conductor-oss/java-sdk)
at version 5.0.1. We used this harness to test Orkes Conductor 5.3.2,
5.4.0, and 5.5.0-rc1 and -rc2.

Orkes typically deploys Conductor in cloud environments with Postgres
(or a Postgres-compatible database, like their in-house [ParticleDB](https://particledb.ai/)) as the primary database,
and Redis (or a compatible service like [Valkey](https://aws.amazon.com/elasticache/what-is-valkey/)) as
the queue. To approximate these deployments, we set up clusters of ten
Debian machines, both in containers and as separate EC2 VMs: a single
Postgres node for the database, either a single Redis node or Redis
Cluster for the queue, and the remaining nodes split evenly between
Conductor servers, Conductor’s standard workers, and a [custom
worker](https://github.com/jepsen-io/conductor/tree/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/worker) we wrote using the Java SDK.

Our [test
workload](https://github.com/jepsen-io/conductor/blob/main/src/jepsen/conductor/workload.clj) defined a single workflow with one task, handled by our
custom worker. The task slept up to 30 seconds to simulate work being
done, then [returned
a randomly generated output](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/worker/src/jepsen/conductor/worker.clj#L104). It also [logged
its execution](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/worker/src/jepsen/conductor/worker.clj#L106-L114) with the test harness, so we could tell exactly which
tasks had run and when, along with their observed inputs and intended
outputs.

Our test proceeded in three phases. During the [main
phase](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/generator.clj#L276-L299), the test harness called [`startWorkflow()`](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/client.clj#L157-L170)
with unique inputs (to distinguish executions from one another), [kept
track](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/generator.clj#L36-L88) of which executions were in-progress and which were terminal,
and checked the status of specific executions using
`getWorkflow()`. To discover executions when the call to
`startWorkflow()` timed out or failed, we periodically called
[`getRunningWorkflow()`](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/client.clj#L185-L189)
to list all in-progress executions. During the main phase we also
injected [a
variety of faults](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/nemesis.clj), including pausing and killing processes, as well
as network partitions between Conductor servers and Postgres, Redis, and
worker nodes.

During the [recovery
phase](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/generator.clj#L301-L307), the test ended network partitions, restarted and unpaused
processes, etc., then let the cluster recover. To figure out when the
system had converged on a steady state, we polled the depth of
Conductor’s decider queue. When this queue reached zero, Conductor had
nothing more to do and the test moved to the final phase.

During the [final
phase](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/generator.clj#L309-L316), the test read the state of every workflow execution it had
ever seen. We then searched for [a
variety of unexpected behaviors](https://github.com/jepsen-io/conductor/blob/1e9860de4c3ae063dfcb1017a98b1f5c657e4302/src/jepsen/conductor/checker/workflow.clj#L985-L1029):

Backend Error:
:   Some request returned an unexpected backend error.

Concurrent Execution:
:   Two or more workers attempted to execute the same task in a single
    workflow execution at the same time.

Different Task Input:
:   Two views of the same task in the same workflow execution had different
    inputs, or a task’s input was inconsistent with the workflow’s input.

Different Workflow Input:
:   A single workflow execution had two different inputs.

Different Workflow Output:
:   A single workflow execution had two different outputs.

Duplicate Workflow ID:
:   Two calls to `startWorkflow` returned the same workflow
    execution ID.

G1a:
:   A `startWorkflow` request returned what appeared to be a
    definite failure, but a workflow with that requested input was later
    visible to some reader.

Impossible Output:
:   A workflow execution’s output was inconsistent with the outputs of its
    tasks.

Incomplete:
:   A workflow execution was not in state `COMPLETED` during the
    final phase.

Missing:
:   A read failed to observe a workflow execution after we knew it existed.

Never Started:
:   A workflow came into existence with no corresponding
    `startWorkflow` request.

Null Workflow ID:
:   A `startWorkflow` call returned `null`, rather
    than a workflow ID string.

Task Never Executed:
:   None of a workflow’s tasks were ever executed.

# 3 Results

## 3.1 Tasks Execute Concurrently (#1)

Under normal operation, healthy Conductor clusters occasionally
executed the same task for the same workflow execution on two workers
concurrently. This is not surprising, since [mutual exclusion
is impossible in asynchronous networks](https://inria.hal.science/hal-03347878/document). However, it is worth keeping
in mind that even very short-lived tasks may be executed at the same
time! In [this
test run](https://s3.amazonaws.com/jepsen.io/analyses/orkes-conductor-5.3.2/20260702T224204-concurrent-execution.zip), workflow
`3919784b-7691-11f1-a292-0016
aphyr593
🟧 echo.blog ⭐Original Jepsen analysis, authored by Kyle Kingsbury, published 2026-10-20, funded by Orkes Inc. under the Jepsen ethics policy. "We tested Jepsen, LLC (Kyle Kingsbury / Aphyr)——

Interpretation history

Decision trace