Introducing Dynamic Workflows: durable execution that follows the tenant
May 1, 2026Dan Lapid, Luís Duarte

Summary
Introduced Dynamic Workflows, a library that enables a single Worker (Worker Loader) to route `create()` calls to different tenant-specific code and dispatch `run(event, step)` back to that same code when the workflow executes. This is built on top of Dynamic Workers and Durable Object Facets, extending the dynamic primitive to durable execution. The library handles the envelope-and-unwrap glue between static bindings and dynamic tenant code, allowing for per-tenant workflows with full durable execution capabilities.