github / github/app

Embed (automatic) cleanup options to remove old sessions

Offen
#1,903 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature summary

Cleanup old worktrees and storage

### What problem are you trying to solve?

My machine was running out of storage and I suspected that worktrees of my AI tools could be a part of the issue. So I checked the `.copilot` folder and indeed: 200 GB of storage used!!!

Image

### Proposed solution

Enable proper data cleanup on old sessions, especially the ones that where completed with a merged pr, as those are the most likely to never be needed.

### Workflow impact

Make my machine usable again!

### Installation context

_No response_

### Additional context

Claude Code handles this perfectly for me with this (just discovered) setting:

Image

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No files, tests, or entry points are named. Start by locating where sessions, worktrees, and .copilot storage are managed, then define cleanup behavior for old sessions, especially those associated with merged pull requests. Done should include a usable cleanup option that prevents old worktrees and session data from consuming excessive storage.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, github
Bereich
desktop, devtools
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.