Cloudflare Workflows now generates visual step diagrams in the dashboard. Since workflows are written as TypeScript code (not declarative YAML/JSON), the team built an AST-based pipeline to statically derive the execution graph. After bundling and minification, the code is parsed using oxc-parser from the JavaScript Oxidation

13m read timeFrom blog.cloudflare.com
Post cover image
Table of contents
Dynamic workflow executionParsing the codeRendering the diagramWhat’s next

Sort: