Should I clean past instances of an app?

Hi,

While trying to figure out why my healthchecks were failing (I found why :wink:), I ran into the command fly status all while scanning the documentation and got:

Instances
ID              PROCESS VERSION REGION  DESIRED STATUS          HEALTH CHECKS                   RESTARTS        CREATED              
5141aea2        app     14 ⇡    fra     run     running         2 total, 1 passing, 1 critical  0               4m35s ago           
51ddb24c        app     13      fra     stop    complete        2 total, 1 passing, 1 critical  0               9m33s ago           
27bf18f0        app     12      fra     stop    complete        2 total, 1 passing, 1 critical  0               22m30s ago          
e9c0f535        app     11      fra     run     running         2 total, 2 passing              0               2022-09-15T21:08:57Z
01ede9cd        app     10      fra     stop    complete        2 total, 1 passing, 1 critical  0               2h45m ago           
409ec552        app     5       fra     stop    failed          2 total                         2               2022-09-15T16:21:32Z
4b7b376a        app     3       fra     stop    failed          2 total                         2               2022-09-15T15:22:17Z

I have several questions:

  1. Should I be concerned that v11 is running?
  2. Can I clean the old deployment? At least the v3 and v5 that failed? Should I?

I verified in nomad that the alloc with v11 has been destroyed as expected. That output is nothing to be concerned about. We might have had an operational issue or something like that, which prevented our graphql backend from capturing the final state of that alloc when it was destroyed.

The actual nomad allocs (i.e., the virtual machines) associated with those older version are all destroyed. We keep a historical record of them in our graphql backend, which is what you are seeing with that command. I don’t think there is a way to delete those records (except for deleting the app) and you should not need to.