The artifacts/extract directory is never cleaned
Summary
The artifacts/extract
directory is never cleaned after BuildStream terminates.
Steps to reproduce
bst build $somebst
bst checkout $somebst dir
What is the current bug behavior?
The artifacts/extract
directory has debris when BuildStream terminates.
What is the expected correct behavior?
The artifacts/extract
directory is empty when BuildStream terminates.
Possible fixes
- Clean directory at startup.
- Clean the directory whenever the cache size exceeded the quota.