// AI Platform Drift
Cloudflare Workers grace period extended to 20 minutes during runtime updates
Cloudflare developer changelog · published 2026-10-18 22:57 UTC
WHAT CHANGEDCloudflare Workers grace period during runtime updates increased from 30 seconds to 20 minutes, effective 12 October 2026. This applies to pending requests and connections on processes running the previous runtime version before they are terminated.
WHY IT MATTERSLong-running HTTP requests, streamed AI responses, and WebSocket sessions that previously had 30 seconds to complete during runtime updates now have up to 20 minutes. Requests exceeding this window are still terminated, but the expanded window reduces interruption frequency for streaming workloads.
WHAT TO DOReview Workers handling streamed AI responses or WebSocket sessions. Confirm reconnection logic and state recovery handle interruptions beyond 20 minutes, as the grace period is a maximum and connections can still terminate earlier.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Workers - More time for requests to finish during Workers runtime updates +https://developers.cloudflare.com/changelog/post/2026-10-12-longer-runtime-update-grace-period/ +Mon, 12 Oct 2026 00:00:00 GMT + +Pending requests and connections to Workers now have a grace period of up to 20 minutes during Workers runtime updates. Previously, the grace period was up to 30 seconds. +This gives long-running HTTP requests, streamed AI responses, and live WebSocket sessions more time to continue before an update interrupts them. + +New incoming HTTP requests go to the updated version of the Workers runtime once it is ready. Processes running the previous version stop accepting these requests and drain existing work. The grace period applies to each process running the previous version. When it ends, unfinished requests and open connections on that process are terminated. +You should design your application to reconnect WebSockets, safely retry interrupted requests, and recover saved state after a restart. WebSockets can disconnect before the grace period ends, including connections using the WebSocket Hibernation API. +For more information, refer to Workers runtime updates.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Grace period for in-flight requests during runtime updates increased 40x, materially affecting application design and reliability. |
| signals | grace period increased from 30 seconds to 20 minutes · future date (2026-10-12) · runtime behavior change affecting request handling · impacts long-running requests and WebSocket sessions · deployment/execution change |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |