Software Engineering

Workflows, Workers - Workflow steps now expose retry attempt number via step context

Cloudflare Developer Platform Changelog · 2026-03-06

Cloudflare Workflows allows you to configure specific retry logic for each step in your workflow execution. Now, you can access which retry attempt is currently executing for calls to step.do() : await step . do ( "my-step" , async ( ctx ) = { // ctx.attempt is 1 on first try, 2 on first retry, etc. console . log (...

Feedback