github / github/app

Embed (automatic) cleanup options to remove old sessions

Ouverte
#1,903 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
git, github
Domaine
desktop, devtools
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.