megachangelog
Feature

Workflows - Rollback support now available

Workflows now supports saga-style rollbacks with compensating logic for each step, executing in reverse order if failures occur. This enables safer multi-step operations across external systems, with dedicated retry and timeout configuration for rollback handlers, plus analytics events for easier debugging.

Workflows now supports saga-style rollbacks, allowing you to add compensating logic to each step.do() in case of downstream failures. If the instance fails, the rollback handlers will execute in reverse step-start order.

This is useful for multi-step operations that touch external systems, such as inventory reservations, payment authorization, ticket creation, or infrastructure provisioning. Instead of writing all cleanup logic in a top-level catch, you can keep each compensating action next to the step it undoes.

Rollback handlers support their own retry and timeout configuration, and Workflows now exposes rollback outcomes in instance status responses. Workflows analytics also emits rollback lifecycle events, making it easier to distinguish a forward execution failure from a rollback failure when debugging production workflows.

  • JavaScript

    await step.do(  "provision resource",  async () => {    const resource = await provisionResource();    return { resourceId: resource.id };  },  {    rollback: async ({ output }) => {      const { resourceId } = output;      await deleteResource(resourceId);    },    rollbackConfig: {      retries: { limit: 3, delay: "15 seconds", backoff: "linear" },      timeout: "2 minutes",    },  },);
  • TypeScript

    await step.do(  "provision resource",  async () => {    const resource = await provisionResource();    return { resourceId: resource.id };  },  {    rollback: async ({ output }) => {      const { resourceId } = output as { resourceId: string };      await deleteResource(resourceId);    },    rollbackConfig: {      retries: { limit: 3, delay: "15 seconds", backoff: "linear" },      timeout: "2 minutes",    },  },);

Refer to rollback options to learn more.

workflowsfeaturereliabilityapisaga

Source: original entry ↗

More from Cloudflare

Follow Cloudflare to get its new changes in your feed and email digest.

Improvement2026.8.2100.0

Cloudflare One Client for macOS 2026.8.2100.0

GA release for macOS Cloudflare One Client with improved split tunnel handling that no longer briefly blocks traffic during reconnects, support for non-RFC 1918 local IPv4 networks, faster connects with lower memory use, and numerous reliability fixes across DNS, reauthentication, and client stability.

macosvpnreliabilityperformancedns
Improvement2026.8.2100.0

Cloudflare One Client for Windows 2026.8.2100.0

This GA release improves split tunnel reliability, adds support for non-RFC 1918 local networks, optimizes connection performance with faster reconnections and lower memory usage, and includes numerous bug fixes for DNS, registration, and network handling. The client now features a service recovery mechanism that automatically restarts on system unlock and better handles large hosts files without blocking traffic.

windowsvpnclienttunneldns
Improvement2026.8.2100.0

Cloudflare One Client for Linux 2026.8.2100.0

New GA release for Linux with improved split tunnel handling that no longer briefly blocks traffic during reconnects, support for non-RFC 1918 local IPv4 networks, faster tunnel reconnections, and lower memory usage. Includes numerous stability and reliability fixes for DNS, reconnection behavior, and crash issues.

linuxvpnclientperformancestability
See all Cloudflare changes →