compose/cmd
Guillaume Lours 6d3d68c1fa fix(display): stop ttyWriter.Done from hanging after context cancel
Fixes #14114: Done() blocked forever once the render goroutine had
already exited via ctx.Done() (e.g. after SIGTERM), since it sent on an
unbuffered channel with nobody left to receive.

Closing the channel instead of sending never blocks, but a bare close()
panics the moment ttyWriter runs a second Start/Done cycle on the same
shared bus - which already happens today (run's nested create/start,
publish's nested push, rm --stop's sequential stop then remove). Start
now hands out a fresh, once-only-closable signal each cycle instead of
a single shared channel, and run/publish stop opening a redundant
nested bracket around calls already inside one.

Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-08-25 11:38:50 +02:00
..
cmdtrace
compatibility
compose cli: display.Mode always resolves to the mode actually rendered 2026-08-20 15:10:15 +02:00
display fix(display): stop ttyWriter.Done from hanging after context cancel 2026-08-25 11:38:50 +02:00
formatter feat(ps): add ENGINE column gated on label presence 2026-08-17 10:34:46 +02:00
prompt
main.go