Auto-rollback unhealthy Fly deploy
Triggered when a Fly app rolls out a new image ref across one or more machines. The agent confirms the rollout completed, then validates health from Fly Prometheus + connected APM. If machines are stuck or telemetry shows degradation, it requests a rolling update back to the previously running image. The rollback runs sequentially per machine.
Install
Create this automation from the CLI, or pick it in the console under Automations → New → From template.
polylane automation from-template auto-rollback-fly-deploymentTrigger
The event that starts this automation.
Fires when a Fly app rolls out a new image across one or more machines.
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 fly deploy event occurs, an agent runs the instructions above, investigating with your connected Fly.io 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.