Workflow V2 Multi-Node Architecture Hardening Roadmap
v2The Workflow V2 Multi-Node Architecture Hardening Roadmap is a structured plan to harden multi-node execution for the durable-workflow/workflow package (v2), the standalone durable-workflow/server, and any host embedding the package or communicating via HTTP.
The roadmap addresses four primary architectural risks:
- Coupling: Preventing the coupling of control-plane and execution-plane responsibilities within generic application nodes.
- Scheduler Correctness: Ensuring correctness is based on durable dispatch state rather than shared cache or database polling.
- Mixed-Version Safety: Establishing explicit routing and rollout contracts for version compatibility.
- Unified Language: Standardizing the product language for duplicate execution, retries, lease expiry, and idempotency across the package, server, SDK, CLI, cloud, and Waterline.
Note on Architecture: This roadmap is incremental. It does not aim to adopt Temporal, rebuild the engine in a single step, eliminate SQL persistence, or treat shared cache with identical nodes as the final architecture.