The promise, and the fine print

Every durable workflow platform sells the same seductive promise: your work can wait, survive a crash, and pick up exactly where it left off. Inngest's account of October 9–11 is a reminder that the promise has fine print—and in October, some of that fine print got stuck in a state called Running.

Inngest described two incidents, not one long outage. The first began at 21:05 UTC on October 9, when a provider lost connectivity between one data centre and Inngest's other centres, plus outbound Internet access. Inngest said the provider's preliminary explanation was an error during a DDoS-protection configuration change, and that it was still waiting for the full report. Connectivity returned at 21:49. The second arrived the next day: at 14:00 and again at 15:30 on October 10, the company's two PgBouncer pools lost all connections to the primary database, and queue processing and run scheduling stalled for most accounts.

A mitigation restored processing, then introduced intermittent delays that persisted until cron scheduling was moved back at 04:17 UTC on October 11; gateway routing was improved the following day. Two events, two different failure mechanisms, two different recovery paths.

How a local failure travels

The October 9 architecture turned a local boundary failure into a travelling one. Inngest ran across three data centres: accounts could be processed in one place while their run state lived in another, and account configuration and the primary database sat behind still another provider. When the cross-centre path failed, affected workers could not fetch account details or save state. But the damage did not stop there. Repeatedly failing work built a backlog in a shared event-processing pipeline, delaying execution for accounts with no direct dependency on the isolated centre. Accounts on dedicated event pipelines were untouched.

That is the difference between a component's blast radius and the queue's blast radius: shared scheduling can widen a failure long after the original network dependency stops mattering to each delayed account.

The pool that ate its own connections

The next day exposed a different coupling. Inngest traced the pool collapse to short lookup deadlines interacting with client cancellation and PgBouncer. Some queries were still waiting for a pool connection when their callers timed out. The driver closed the client connection; later, PgBouncer ran the abandoned query and closed the database connection rather than returning it to the pool. Because replacement connections opened one at a time, destruction outpaced replenishment.

The collapses coincided with top- and bottom-of-hour cron traffic, which roughly tripled query volume, and a recently deployed set of lookups that began failing at scale. Restarting the poolers did not reliably break the cycle; a larger pool limit did not fix how slowly new connections could be opened.

The workaround with its own trapdoor

The workaround carried a new dependency. Moving services to poolers beside the database restored processing between 16:10 and 16:25 UTC. That route then traversed network-address-translation gateways that silently dropped some connections. A query on a dropped connection could wait up to 16 minutes before failing, with cron functions especially visible to users. Inngest moved cron scheduling back to the original poolers at 04:17 UTC on October 11 and improved gateway routing on October 12. A mitigation is itself a topology change: it can remove one bottleneck while adding a different, less visible timeout boundary.

The state machine's quiet failure

The state machine left the more consequential question. Inngest said internal failures consumed configured retries. When a step failed permanently because of an internal error, some runs remained Running rather than moving to Failed. That meant an onFailure handler did not run, and a parent waiting through step.invoke did not receive a failure. The company said those runs would not continue on their own; customers had to cancel or replay them. A healthy worker pool, in other words, did not mean every interrupted business process had reached a terminal state.

Resumption is not the same as exactly-once

This differs from ordinary workflow resumption. Inngest documents that completed step results can be reused when a function resumes, while steps are retried independently. But its incident note says customer replay starts the run again from the beginning, so previously completed steps can run again. That does not prove a payment, message or database write was duplicated. It does put the burden on the operator to inspect the trace and confirm that repeated effects are safe. Inngest's own idempotency guidance warns that an external service can accept an action before the workflow records its result; a retry can then make the same call again.

Durable checkpoints preserve progress inside the orchestration system. They do not by themselves make every external effect exactly once.

What Inngest says it fixed

Inngest said it had shipped several corrections: lookups no longer cancel queries still waiting for a pool connection; an internal permanent failure is marked failed; and if run state cannot be read at that moment, work stays queued and resumes when state becomes available. It also reported improved gateway routing and faster status-page updates. The larger architectural response—consolidating onto a single data centre—was still under way, with reliability work and published service SLOs planned through year-end. The report does not describe the finished topology or its independent disaster-recovery design.

Sources