`auto_rollback` in fly.toml - Documentation is missing

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.

Thanks

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.

Remove the flag from fly.toml to avoid confusion.

2 Likes

Thanks for your quick response.

Is there a quick way to deploy the last healthy version?
(Without the need to list all the previous images and copy-paste IDs)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.