Skip to content

feat: store hygiene - orphan cache pruning, description search, installed version - #36

Merged
MotherSphere merged 1 commit into
mainfrom
feat/store-hygiene
Jul 20, 2026
Merged

MotherSphere merged 1 commit into
mainfrom
feat/store-hygiene

Conversation

@MotherSphere

@MotherSphere MotherSphere commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Changes

  1. Orphaned caches are pruned. The docs and icon caches of repositories that left the catalog piled up forever. Every successful catalog fetch now prunes the cache directories whose repository is no longer listed, and only then: a cache fallback after a transient error never prunes anything. On purpose, uninstalling an app that is still listed keeps its caches (they render the catalog card, and pruning the icon would make the card disappear), but it drops the cached release notes, which described the removed version.
  2. Search covers the description. The filter only matched the repository name, so "music" did not find Grape. It now also matches the manifest's display name and the description.
  3. The installed version is shown. It was recorded at install time but displayed nowhere. The detail footer now shows it.

Testing

Build, clippy with zero warnings and the fmt gate OK, 91 tests pass, boot smoke test without errors.

…lled version

- Doc/icon caches of repos that LEFT the catalog accumulated forever
  (nothing ever deleted them). Each successful catalog fetch now prunes
  cache directories whose repo is no longer listed - and only then: a
  cache fallback after a transient failure must never purge anything.
  Uninstalling a still-listed app deliberately keeps its caches (they
  render the catalog entry); it now drops the app's cached release
  notes, which described the removed version.
- Search matched the repo name only: 'music' could not find Grape
  ('Lecteur musique...'). The filter now also matches the manifest
  display name and the description.
- The installed version was recorded at install time but shown nowhere:
  the detail footer now displays it.
@MotherSphere
MotherSphere merged commit 3de8cd5 into main Jul 20, 2026
3 checks passed
@MotherSphere
MotherSphere deleted the feat/store-hygiene branch July 20, 2026 16:53
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