How long does it take for autoscaling to take effect?

Changing autoscaling doesn’t deploy more than 3 instances. It has been marked in_progress in release list for more than one hour:

❯ flyctl releases list
VERSION STABLE TYPE    STATUS      DESCRIPTION                 USER  DATE                 
v88     true   scale   in_progress Update autoscaling config         1h7m ago             
v87     false  scale   failed      Scale VM count: ["app, 2"]        1h20m ago            
v86     false  scale   cancelled   Update autoscaling config         1h41m ago            
v85     false  scale   cancelled   Update autoscaling config         1h58m ago            
v84     true   scale   cancelled   Update autoscaling config         2h22m ago            
v83     false  scale   failed      Scale VM count: ["app, 4"]        2h23m ago            
v82     true   scale   cancelled   Update autoscaling config         2h27m ago            
v81     true   scale   succeeded   Scale VM count: ["app, 4"]        2h29m ago            
v80     false  scale   failed      Scale VM count: ["app, 1"]        2h30m ago            
v79     true   release succeeded   Deploy image                      2h55m ago

But flyctl status shows “deployment is running”.

Deployment Status
  ID          = <>         
  Version     = v88                                          
  Status      = running                                      
  Description = Deployment is running                        
  Instances   = 4 desired, 3 placed, 3 healthy, 0 unhealthy

Have set flyctl autoscale balanced min=4 max=20 but deployments seem to be stuck at 3. Earlier, the description was showing “Deployment is running pending automatic promotion”.

There is also inconsistency with what flyctl logs show and what fyctl status shows (this seems to be stuck.)

UPDATE - “in_progress” for 16+ hours.

❯ flyctl releases list
VERSION STABLE TYPE    STATUS      DESCRIPTION                USER      DATE                 
v95     true   scale   in_progress Update autoscaling config            16h37m ago           
v94     true   scale   succeeded   Scale VM count: ["app, 2"]           16h38m ago

How many / which regions are enabled for this app?

20 regions.

Region Pool: ams atl cdg dfw ewr fra gru hkg iad lax lhr maa nrt ord scl sea sin sjc syd yyz

Backup Region:
bhs mia mia vin vin vin vin

(as shown by flyctl regions list)

And is this still stuck on the same problem? Could you also do a fly scale show and fly autoscale show so we can see the current settings?

❯ flyctl scale show
VM Resources for <app-id>
        VM Size: shared-cpu-1x
      VM Memory: 256 MB
          Count: 4
 Max Per Region: main_process=1 app=0
❯ flyctl autoscale show
     Scale Mode: Balanced
      Min Count: 4
      Max Count: 20

Release list still shows in_progress:

❯ flyctl releases list
VERSION STABLE TYPE    STATUS      DESCRIPTION                USER  DATE                 
v95     true   scale   in_progress Update autoscaling config        2021-11-27T17:26:48Z 
v94     true   scale   succeeded   Scale VM count: ["app, 2"]       2021-11-27T17:26:03Z

flyctl status only shows 3 instances running in maa.

Edit:
Unable to disable it either.

❯ flyctl autoscale disable
     Scale Mode: Disabled
❯ flyctl autoscale show
     Scale Mode: Balanced
      Min Count: 4
      Max Count: 20

flyctl release list shows no changes.