Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache: add tracing to prune #5627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jsternberg
Copy link
Collaborator

Adds tracing to the cache manager prune operation. The attribute will show both explicit prunes from a user and background prunes initiated after solve requests are processed.

The prune code has also been refactored a bit to remove a recursive call to prune. It has now been unrolled and the functions have been renamed so prune stands for the entire prune process and pruneOnce is a single cycle. Previously, prune was a single cycle and pruneOnce would run the entire prune cycle with a set of options.

This also disabled the delve component of the hack/compose script. It appears to be broken at the moment.

Adds tracing to the cache manager prune operation. The attribute will
show both explicit prunes from a user and background prunes initiated
after solve requests are processed.

The prune code has also been refactored a bit to remove a recursive call
to prune. It has now been unrolled and the functions have been renamed
so `prune` stands for the entire prune process and `pruneOnce` is a
single cycle. Previously, `prune` was a single cycle and `pruneOnce`
would run the entire prune cycle with a set of options.

This also disabled the delve component of the `hack/compose` script. It
appears to be broken at the moment.

Signed-off-by: Jonathan A. Sternberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant