Skip to content

insights 0.6.2: the scan's cache cleans up after itself - #8

Merged
teocns merged 1 commit into
mainfrom
insights-0.6.2
Nov 11, 2026
Merged

teocns merged 1 commit into
mainfrom
insights-0.6.2

Conversation

@teocns

@teocns teocns commented Nov 11, 2026

Copy link
Copy Markdown
Member

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.

  • Before saving a new copy, the scan now deletes every cache file older than its 6-hour lifetime, plus half-written files from runs that stopped partway. Another version's copy that is still within its 6 hours, and files the cache didn't write, are left alone.
  • The skill and README now say the cache exists and that it can be deleted.

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.

…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
@teocns
teocns merged commit b5d59d6 into main Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant