spcl / spcl/serverless-benchmarks

Cleaning up inactive resources

Open
#209 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Python
Stars
199
Forks
105
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the sebs resources command and trace how cached cloud resources and local containers are discovered and validated. Check how Azure CLI resources are handled after a crash. Done means stale containers are rejected with a warning and the command can clean up local and orphaned resources as described in the checklist.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.