Visualizing Cloudflare Workflows with Static Diagrams
🔍 Cloudflare has added complete visual diagrams to the Cloudflare Workflows dashboard so developers can better inspect and debug code-first workflows. Because Workflows are dynamic code — with Promises, await, loops and nested functions — Cloudflare parses the bundled script at deploy time into an AST, using oxc-parser and a Rust Worker compiled to WebAssembly to translate nodes into a graph. The renderer maps step and function relationships, tracks parallelism and ordering with starts and resolves indices, and exposes a concise set of node types to support debugging and future real-time tracing features.
