Skip to content

The artifacts/extract directory is never cleaned

Summary

The artifacts/extract directory is never cleaned after BuildStream terminates.

Steps to reproduce

  1. bst build $somebst
  2. 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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information