banger/internal
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
..
api Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
cli Add an experimental Alpine image flow 2026-03-21 20:25:55 -03:00
config Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
daemon Wait for real guest vsock health before opencode 2026-03-21 21:14:22 -03:00
firecracker Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guest Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
guestconfig Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
guestnet Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
imagepreset Add an experimental Alpine image flow 2026-03-21 20:25:55 -03:00
model Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
namegen Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
opencode Wait for real guest vsock health before opencode 2026-03-21 21:14:22 -03:00
paths Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
policy Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
store Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00
system Add an experimental Alpine image flow 2026-03-21 20:25:55 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
vsockagent Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
webui Remove runtime-bundle image dependencies 2026-03-21 18:34:53 -03:00