github / github/app

Embed (automatic) cleanup options to remove old sessions

Aperta
#1,903 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, github
Ambito
desktop, devtools
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.