Skip to content

Feature Request - Limit the Number of saved Checkpoints to minimize disk use #2206

@James-Cherished

Description

@James-Cherished

App Version

3.10.2

API Provider

OpenRouter

Model Used

Any

Actual vs. Expected Behavior

Option to Limit and Automatically Delete Old Checkpoints

The checkpoint feature is fantastic.
But over time, they can take up a lot of disk space.
The issue is that deleting a checkpoint also removes the task, which isn’t ideal when you just want to manage disk usage.

I suggest adding a configurable option to limit the number of saved checkpoints. Once the limit is hit (e.g., 10 checkpoints), the oldest ones are automatically deleted, while keeping the latest ones.
Basically a "checkpoint janitor" that keeps things tidy.

Additionally, it would be useful to have further options like:
Delete checkpoints older than X days
Delete checkpoints older than X hours

This would give us more flexibility to manage space without losing important task history.

Right now, those checkpoints remind me of some people who show up uninvited and decide to stay forever.
We really need to teach them how to leave early—before they overstay their welcome and take over the entire party space.

(Taken from #1223 to an issue for visibility)
Image


This feature is like Johnny Depp at a casting call... only the youngest, freshest checkpoints make the cut.
Anything over a few days old? Straight to the cutting room floor!

Detailed Steps to Reproduce

  1. Use Roo
  2. Have many checkpoints saved locally
  3. See available disk space reducing

Relevant API Request Output

Additional Context

No response

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.feature requestFeature request, not a bug

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions