Process supervision follow-ups: `resource rebind` as a new command, cascade, exit codes over 128, spawn's exit code on a crash
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start with issues #288, #261, and #262, which frame these follow-up questions. The issue names the supervisor shell wrapper and the spawn readiness wait, but does not identify source files or tests; first locate those entry points and inspect how resource binding and status are handled. Done means the maintainers resolve the listed design questions and the chosen behavior is implemented and covered by tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Open questions from #288 (for #261 and #262):
- New command:
newgit resource rebind <res> [instance]. Nothing could bind a failed resource again short ofremoveand a respawn, so #262's retry hint had nothing honest to point at.rebindbinds the resource again asspawndoes (ports, exports, render, prepare, autostart) and refuses while its process runs. Is a new command the right surface, or should this benewgit startretrying failed binds, ortracker use-style re-binding? rebinddoesn't cascade. Rebinding a resource doesn't rebind the resources that depend on it, so if its exports change, theirs go stale. Rebind dependents too, or at least list them?- Exit codes above 128 are read as signals. The supervisor wrapper is
sh, so a program that deliberately exits 137 shows askilled(SIGKILL). That's unavoidable with a shell wrapper; a small in-process supervisor would fix it. Worth it? spawnexits 0 when an autostarted process dies during the readiness wait. It printsnot ready, consistent with other readiness problems today. Should a crash at spawn be a non-zero exit, given agents read the exit code?- Status wording.
exited(1)/killed(SIGKILL)followblocked(deps); the issue proposedexited (1). Minor, but status is what agents parse.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Merge medio
- 7h 20m
- PR unite (30g)
- 80
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à 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Symlinks: a render writes through a link, a check-then-use race, and a bad link blocking checkoutAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/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 84/100
dekobon/big-code-analysis#1729 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
akitaonrails/ai-memory#1888 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
peteonrails/voxtype#941 ·
I maintainer di solito rispondono entro 4 giorni
-
bug priority:medium triage:maintainable
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ccusage/ccusage#2000 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno