Repository navigation
insights 0.6.2: the scan's cache cleans up after itself - #8
Merged
Merged
Conversation
…ch new build - each version wrote a new 1-2 GB pair under ~/.cache/setup-snapshot/portable/ and none was ever removed; the skill and README now name the cache Kit-Commit: d38da6b3ae4403532165440ddaf6f8e361d1ebd7 Kit-Only: plugins/insights
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scan keeps a speed-up cache in
~/.cache/setup-snapshot/portable/. Each version of the tool wrote its own 1-2 GB copy there and nothing ever deleted the old ones, so every release left another copy on each laptop.On a member's first run of 0.6.2, the copies left by earlier versions are removed.
Tested: a new case in the dev repo's test_cache.py (fails without the fix); the tool's full release check passes.