banger/internal/daemon
Thales Maciel 092d848620
Wait for real guest vsock health before opencode
Make vm create wait for the guest-side vsock /healthz endpoint instead of only waiting for the host socket path, so the wait_vsock_agent stage reflects actual guest readiness.

Start banger-vsock-agent earlier in the Alpine OpenRC graph and report later /ports failures as guest-service waits rather than vsock-agent waits, which makes the progress output match what the guest is really doing.

Validate with go test ./..., a rebuilt managed alpine image, and a fresh vm create --image alpine --name alp --nat that now progresses through wait_vsock_agent -> wait_guest_ready -> wait_opencode -> ready.
2026-03-21 21:14:22 -03:00
..
capabilities.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
capabilities_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
daemon.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
daemon_test.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
dashboard.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
doctor.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
fastpath_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
image_build_ops.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
image_seed.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
imagebuild.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
imagebuild_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
images.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
logger.go Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
logger_test.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
nat.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
nat_test.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
opencode.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
ports.go Refine vm ports output 2026-03-19 18:21:04 -03:00
preflight.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
runtime_assets.go Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
snapshot.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
snapshot_test.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
tap_pool.go Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
vm.go Wait for real guest vsock health before opencode 2026-03-21 21:14:22 -03:00
vm_create_ops.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
vm_test.go Wait for real guest vsock health before opencode 2026-03-21 21:14:22 -03:00
web.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00