Capy: say when a Setup snapshot's gstack copy is stale

Aperta
#4,338 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, typescript
Ambito
devtools

Direzione di ricerca

The suggestion is a doctor row or an install --check note that reports the age of the gstack commit baked into a Capy Setup snapshot. Start in docs/capy-install.md to see how the snapshot is described, then find where the existing doctor and install checks are implemented. Done means the check reports the snapshot's gstack commit age and says to rebuild past a threshold; the threshold and wording are not settled in the issue.

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

Descrizione

enhancement S3

What happened

docs/capy-install.md recommends baking gstack into a Capy Setup snapshot. A snapshot keeps the gstack copy it was built with. The session check fast-forwards when it's behind, but every fresh machine pays that cost and nothing tells the owner the snapshot itself should be rebuilt.

What we did meanwhile

A script, run on a machine freshly booted from the snapshot, that files a "Rebuild the Setup snapshot" issue when the snapshot's gstack copy misses a commit older than 7 days.

Suggestion

A doctor row (or an install --check note) that reports the snapshot's gstack commit age and says rebuild the snapshot past a threshold.

Filed from Groom Club's Captains (checked against gstack 1.99.2.0, 4414f4cc). crew/docs/captain.md calls a rule that lives only in a crew's file a gap in gstack, so we're sending each of ours here, one issue per gap.

Lingua principale
TypeScript
Stelle
143k
Fork
21k
Merge medio
5h 25m
PR unite (30g)
791

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di garrytan/gstack

Tutte le issue di garrytan/gstack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.