Commit b90162b
fix(deploy): set max_unavailable=1 so Fly can free volume on deploy
`strategy = "immediate"` alone wasn't enough — flyctl's default
`max_unavailable = 0.33` still forces create-before-destroy, which
trips over the single-volume constraint with the same error
("creating a new machine in group 'app' requires an unattached
'opensentry_data' volume").
Setting `max_unavailable = 1` lets Fly stop the existing machine
first, freeing the volume so the new machine can attach to it.
This is the documented path for single-machine + persistent-volume
apps; the only alternative is migrating storage off the volume.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b2c3671 commit b90162b
1 file changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments