banger/internal/cli
Thales Maciel 3a92362829
Make TUI startup render immediately
The TUI felt hung because banger tui blocked on ensureDaemon before Bubble Tea started, then treated the initial vm and image fetch as one combined loading gate.

Start the program first, move daemon bootstrap into staged TUI commands, render the full layout with inline loading placeholders, and split vm list and image list startup so VMs can appear before images finish loading. Also record per-stage timings so the slow step is visible in the status line instead of hidden behind a generic loading state.

Verified with go test ./internal/cli, go test ./..., and make build.
2026-03-18 14:37:17 -03:00
..
banger.go Add concurrent multi-VM CLI actions 2026-03-18 14:04:16 -03:00
bangerd.go Add Go daemon-driven VM control plane 2026-03-16 12:52:54 -03:00
cli_test.go Add concurrent multi-VM CLI actions 2026-03-18 14:04:16 -03:00
tui.go Make TUI startup render immediately 2026-03-18 14:37:17 -03:00
tui_test.go Make TUI startup render immediately 2026-03-18 14:37:17 -03:00