SeBS keeps a list of cached cloud resources. However, the cache entries can become stale and invalid - this primarily applies to local deployment, where containers will be easily removed. Right now, a cached but removed container will throw an exception and force users to manually fix cache entries. We should be able to do it automatically.
[ ] Detect old containers and reject them, issuing a warning.
[ ] Add option to sebs resources to clean up local containers.
[ ] Add option to sebs resources to look for and stop remove orphaned containers, e.g., Azure CLI after crash; a complete killswitch.
@manic012 Sure! I recommend to either add a query for stopped/active containers to detect orphans, or to implement functions that query cloud resources to show and/or delete deployed functions.
SeBS keeps a list of cached cloud resources. However, the cache entries can become stale and invalid - this primarily applies to local deployment, where containers will be easily removed. Right now, a cached but removed container will throw an exception and force users to manually fix cache entries. We should be able to do it automatically.
sebs resources
to clean up local containers.sebs resources
to look for and stop remove orphaned containers, e.g., Azure CLI after crash; a complete killswitch.