banger/internal
Thales Maciel 9e98445fa2
Add visual VM resource bars to the TUI
The TUI should show VM capacity pressure at a glance instead of making users read raw numbers or drill into per-VM details.

Add a compact colored status row under the header that renders CPU, RAM, and disk usage as progress bars. CPU and RAM reflect reserved resources for running VMs, while disk reflects actual allocated overlay and work-disk bytes across all VMs against the filesystem backing banger state.

Add host resource and filesystem helpers in the system package and cover the new aggregation and rendering behavior with TUI and system tests. Verified with GOCACHE=/tmp/banger-gocache go test ./... and GOCACHE=/tmp/banger-gocache make build.
2026-03-18 18:05:09 -03:00
..
api Reject invalid VM CPU and memory values 2026-03-16 16:28:17 -03:00
cli Add visual VM resource bars to the TUI 2026-03-18 18:05:09 -03:00
config Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
daemon Add tmux resurrect defaults to rebuilt images 2026-03-18 17:44:12 -03:00
firecracker Fix VM startup regressions after shell-out cleanup 2026-03-18 12:18:34 -03:00
guest Move avoidable daemon shell-outs into Go 2026-03-17 17:13:07 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
model Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
paths Make runtime defaults portable 2026-03-16 15:30:08 -03:00
policy Move avoidable daemon shell-outs into Go 2026-03-17 17:13:07 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
runtimebundle Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
store Add regression coverage for VM failure paths 2026-03-16 15:46:54 -03:00
system Add visual VM resource bars to the TUI 2026-03-18 18:05:09 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00