github / github/app

Embed (automatic) cleanup options to remove old sessions

Abierto
#1,903 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
git, github
Área
desktop, devtools
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.