Introduce some interactivity to artifact cache expiry
- Dominant language
- Python
- Stars
- 140
- Forks
- 45
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
[See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/490)
In GitLab by [[Gitlab user @tlater]](https://gitlab.com/tlater) on Jul 23, 2018, 10:17
## Background
[//]: # (Provide a background or the root/source that justifies this task or action.)
Currently, when a build pipeline does not fit inside the artifact cache quota, buildstream will unconditionally give up. This is alright, but perhaps annoying to the user.
## Task description
In interactive mode, buildstream should prompt the user, allowing them to temporarily increase the disk size if they want to - this should have three options:
- Abort the build, keeping all artifacts (default)
- Abort the build, purging some artifacts used in this build
- Continue building, ignoring artifact cache quota for this build
## Acceptance Criteria
We have a nicer UI for running out of cache space.
[//]: # (Acceptance criteria should follow the S.M.A.R.T. principle https://en.wikipedia.org/wiki/SMART_criteria )
----
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by tracing artifact-cache quota handling and the interactive-mode flow, then implement and verify the three specified choices when the cache quota is exceeded; done means interactive builds provide the described cache-space behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100