Skip to content

fix: detect machine update failures#4921

Draft
rianmcguirefly wants to merge 2 commits into
masterfrom
fix-deploy-revert-detection-w-version
Draft

fix: detect machine update failures#4921
rianmcguirefly wants to merge 2 commits into
masterfrom
fix-deploy-revert-detection-w-version

Conversation

@rianmcguirefly
Copy link
Copy Markdown
Member

Change Summary

What and Why:

Previously, when we gave up on an update and reverted a machine to its previous version (eg. if pulling the image from the registry failed), flyctl saw the machine in the "started" state (the old version still running) and treated the deploy as successful. Health checks would pass against the old image, so users had no indication their new code wasn't deployed.

Affects both flyctl deploy (in-place updates) and standalone flyctl machine update.

How:

Wait on the new version we're deploying, and confirm the machine version is what we expected after wait succeeds.

Related to:


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

@rianmcguirefly rianmcguirefly changed the title Fix deploy revert detection w version fix: detect machine update failures May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant