jpochyla / jpochyla/psst

Cache folder takes a lot of space

Open
#445 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
9.5k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
psst on macOS takes a lot of disk space (11 GB) after a while (about 8 months with frequent use). The cache folder does not seem to get cleaned up.

To Reproduce
Use psst for a while and observe cache folder growing in size.

Expected behavior

  • psst should clean up unused cache
  • it would be nice if psst would limit the cache size (maybe via an option)
  • having a button to clean up the cache via settings would also be nice

Environment

  • OS: macOS Ventura 13.6.1
  • Version: a8922f6 (built on 2023-10-05 01:20:31.086787 +00:00)

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cache growth on macOS and locating the code that creates and maintains psst's cache folder. Determine how unused cache data is identified and whether the issue's cleanup, size-limit, or settings-control expectations fit the existing design. Done should include verified cache cleanup behavior and a test or reproducible check showing that long-term use no longer causes unbounded growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.