TUI: bash output does not stream while running, and cancel discards what it printed
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- cli, developer-experience
Direzione di ricerca
Start at the TUI bash tool execution and output rendering paths, then trace how cancellation produces the final result. Check existing tests for command output and cancellation behavior. Done means a running command displays a bounded stdout/stderr tail, and cancelling preserves captured output marked as partial while the model still receives the capped final result.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
- A running
bashcall shows only◐ Bash <cmd> · running…; nothing of its output appears until it ends. A slow build or test run looks hung. - Cancelling it (Esc/Ctrl+C) replaces the result with
[cancelled] cancelled during execution; what the command already printed is lost, though that is usually what tells you why you cancelled.
Repro
Use the bash tool to run exactly: for i in 1 2 3 4 5 6; do echo tick $i; sleep 1; done → no ticks while it runs; Ctrl+C at ~4 s → no ticks in the result. Observed running in tmux on main (40a2e78).
How others handle it
- Oh My Pi: the bash card streams a live tail (
⇣ last 3lines) with a timer, and spills oversized output to an artifact file. - Claude Code: shows the live tail of a running command; long commands can be moved to the background (Ctrl+B) and managed from the footer.
Suggested direction
Stream a bounded tail (last N lines) of stdout/stderr into the tool block while it runs (UI only; the model still gets the capped final result), and keep the captured partial output in the result on cancel, marked as partial.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
-
area: agent-loop area: ux enhancement priority: P1
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#196 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100