Babysit Fly deployment
Triggered when Fly machine churn detects a new image ref rolling out across an app. The agent lists the app's machines and confirms every machine moved to the new image and is in the started state. If any machine is stuck on the old image or in a failed state, it opens an incident immediately with the affected machine IDs. For successful rollouts it compares post-deploy error rate and latency against a 2-hour baseline using Fly Prometheus metrics plus any connected APM, and opens an incident when the new image is degraded. The incident names the app, image ref diff, failing metric, and the previous image ref to roll back to. No automatic rollback — use this when you want a human to make the call.
Install
Create this automation from the CLI, or pick it in the console under Automations → New → From template.
polylane automation from-template babysit-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.