Skip to content

Snapshot tmp_pack files accumulate and fill disk when used in VSCode #15416

Closed as not planned

Description

@Mguelon

Description

Bug: OpenCode snapshots fill up disk with uncleared tmp_pack_* files

Environment:

  • OS: Ubuntu
  • Used via: VSCode extension

What happened:
OpenCode filled 876GB of 914GB disk with tmp_pack_* files in:
~/.local/share/opencode/snapshot/

Expected behavior:
Temporary pack files should be cleaned up after snapshot operations complete.

Fix needed:
Clean up tmp_pack_* files after use or add a size limit to the snapshot directory.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on Feb 28, 2026
  2. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor

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

    If your issue is the same, please consider adding a thumbs up or additional context to one of the above rather than opening a new report.

  3. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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 workingperfIndicates a performance issue or need for optimizationwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions