spcl/serverless-benchmarks

Cleaning up inactive resources

开放

#209 创建于 2024年7月10日

 (2 条评论) (0 个反应) (0 位负责人)Python (99 个派生)auto 404
good first issue

仓库指标

星标
 (196 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南