cleanup: name and remove landed instances
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 46/100
Direzione di ricerca
Start with the Cleanup section in docs/design/spec.md, especially “Landed instances are most of the disk,” then trace the existing newgit cleanup listing and remove behavior. The change needs to identify landed work, report disk use, and support opt-in removal while preserving unique branches and checkpoints; the issue also asks to collapse repeated install-store warnings to a count. Done means cleanup handles these cases as described, with tests covering the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Workspaces are disposable, but nothing disposes of them. On this project's development machine, 90 of 122 instances held 321 GB of target/, with the disk 98% full. Removing the 61 whose work had already landed (clean workspace, tip on main or a pushed branch, or the branch's PR merged) freed 150 GB. That took a hand-written audit script; newgit should do it.
Proposal:
- An instance has landed when its workspace has nothing uncommitted and its tip is on the default branch or a branch the remote has, or its branch's pull request merged.
newgit cleanuplists landed instances and what each holds on disk.newgit cleanup --landedremoves them asremovewould: branch kept when unique, checkpoints kept.- Opt-in, because newgit can't see what else is attached to a workspace (a T3 Code thread, an editor).
Related papercut seen during that cleanup: cleanup prints one enormous warning line listing ~60 instances for t3code-deps ("install store unavailable: no [identity] paths are present in the workspace yet"). It should collapse to a count.
Design text: docs/design/spec.md, Cleanup → "Landed instances are most of the disk".
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Merge medio
- 6h 21m
- PR unite (30g)
- 173
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Spheroman/newgit
-
Port allocation order within a resource is unspecifiedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Spheroman/newgit#59 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Spheroman/newgit
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
swc-project/swc-ai-issues#432 ·
-
SPLADE `/embed_sparse` output depends on the other inputs in the batch (candle BertModel / DistilBertModel)Forse già presa @0z5a l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
huggingface/text-embeddings-inference#979 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
servo/rust-smallvec#874 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni