Auto-rollback unhealthy Cloudflare deploy
Triggered when a Cloudflare deploy lands (Worker version, Pages deployment, or container rollout). The agent validates post-deploy health using Cloudflare telemetry plus any connected APM (Datadog, Honeycomb, Axiom, Sentry). When the run is noteworthy (error-rate spike, latency regression, or new error patterns), it requests an automatic rollback to the previously live version. Container deploys are intentionally skipped (no rollback API). High impact: enable on production resources only after vetting the thresholds with a couple of manual runs.
Install
Create this automation from the CLI, or pick it in the console under Automations → New → From template.
polylane automation from-template auto-rollback-cloudflare-deploymentTrigger
The event that starts this automation.
Fires when a Cloudflare deploy lands (Workers script update, Pages deployment, container rollout, or versioned Worker promotion).
Compatible providers
1Integrations this automation investigates and uses tools from. Connect them to unlock the full workflow.
Skills
3These skills are installed automatically when you create this automation.
Actions
1Platform-executed side effects the agent can request. These are applied when you create this automation.
Agent instructions
The prompt the agent follows on each execution. Customize it to fit your team's playbook.
Parallel passes
How it works
When a cloudflare deploy event occurs, an agent runs the instructions above, investigating with your connected Cloudflare tools, and sends results to your configured destinations.
Destinations
When you create this automation your email is added as a destination, so every run lands in your inbox. Add chat or webhook destinations afterward.