Workflow SDK now supports inflight cancellation
Vercel's Workflow SDK 5 beta now lets you cancel in-flight operations across step boundaries—same AbortController API as fetch.

Why it matters
Workflow cancellation is a critical reliability primitive for production AI agents and multi-step pipelines. This feature reduces wasted compute on stalled operations and enables race-condition patterns (first-response-wins, timeout-based cancellation) that are table stakes for cost-efficient agentic systems.
The key facts
9 to knowVercel Workflow SDK 5 beta released
AbortController and AbortSignal API support added
Cancellation works across workflow and step boundaries
Signal remains durable across suspensions and deterministic replay
Supports timeout-based cancellation, parallel work cancellation, and first-response-wins patterns
Uses standard fetch-compatible AbortSignal interface
Workflow SDK 5 beta now supports AbortController and AbortSignal APIs
Enables use cases: race conditions, multi-step pipelines, parallel work cancellation
Feature available in @workflow beta
Go to the source
Vercel Blogvercel.com
Publisher excerpt: The Workflow SDK 5 beta now supports the standard and APIs across workflow and step boundaries.AbortControllerAbortSignal Create a controller inside a workflow, pass its signal into one or more steps, and cancel in-flight operations using the same API already uses.fetch That signal stays durable…