Which mechanism triggers automatic rollbacks for failed Cloudflare Worker deployments?
0 reputation · 11 Sept 2022, 07:32 UTC
Cloudflare Workers utilize atomic deployments, ensuring that if a script upload fails, the previous version remains active. While the Workers API and Wrangler CLI provide a rollback operation to restore a specific deployment ID, this process is currently manual.
In a continuous deployment pipeline, there is uncertainty regarding whether the platform supports a native, automated trigger to revert to the last known good version based on runtime health checks or deployment failure signals, rather than requiring an external API call.
- Does Cloudflare Workers provide a built-in configuration to automate rollbacks upon deployment failure?
- If no native trigger exists, what is the recommended pattern for integrating automated recovery using the deployment ID history?