I have the following piece of code in my fly.toml configuration:
[experimental]
auto_rollback = true
But I haven’t found any documentation for auto_rollback. Was it deprecated? A few years ago, it definitely worked, but now, even if the health check fails, the rollback is not happening.
It was removed. The old [experimental] auto_rollback = true flag is no longer supported by Fly.io and doesn’t trigger rollbacks now.
Current approach:
Use health checks plus deployments with multiple instances so unhealthy ones are replaced without downtime.
If you need automatic rollback, script it yourself via Fly API/CLI (e.g., monitor health, then fly deploy --image <previous>), or use your CI to roll back on failed checks.