## TL;DR

For "fly deploy hangs ~5-10% of the time on v0.1.52 (stalls at release_command)": what fixed it A change in v0.1.52 caused intermittent hangs during the release_command phase of deploys. They reverted the suspected change and closed the issue in July 2023. The fix is to upgrade to v0.1.53, where the change was reverted. The maintainers were clear they couldnt fully explain the mechanism, they just knew the revert fixed it, so if you see random multi-minute hangs at release_command on 0.1.52, bump the version.

```text
fly deploy hangs ~5-10% of the time on v0.1.52 (stalls at release_command)
```

## When to use

You are seeing this: What was going on After updating flyctl to v0.1.52, fly deploy started hanging 5-10% of the time. Use this skill when you run into "fly deploy hangs ~5-10% of the time on v0.1.52 (stalls at release_command)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: v0.1.52, v0.1.53, 0.1.52. If you are on something much newer or older, the details may have shifted.

## Steps

1. What was going on
After updating flyctl to v0.1.52, fly deploy started hanging 5-10% of the time. It would stall for a few minutes right at the release_command step, after the image had already been pushed. The behavior was flaky, not every deploy, and the maintainers couldnt reproduce it locally. They reverted the suspected change and closed the issue in July 2023.

2. What fixed it
A change in v0.1.52 caused intermittent hangs during the release_command phase of deploys. The fix is to upgrade to v0.1.53, where the change was reverted. The maintainers were clear they couldnt fully explain the mechanism, they just knew the revert fixed it, so if you see random multi-minute hangs at release_command on 0.1.52, bump the version.
