Skip to content

Old snapshot folders not deleted after the 7 day threshhold #10782

Closed
ariane-emory/opencode
#157

Description

@ariane-emory

Description

Old snapchat files are meant to be pruned after seven days.

The current implementation tracks git objects per project but lacks a mechanism to prune entire project directories based on the snapshot retention time. We ought add a comprehensive approach to identify and remove stale project directories that have exceeded the defined age limit.

Plugins

None

OpenCode version

1.1.36

Steps to reproduce

  1. Use open code for at least one week with snapshots enabled.
  2. Navigate to ~/.local/share/opencode/snapshot.
  3. Observe that folders with timestamps greater than one week in the past exist.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions