banger/internal
Thales Maciel 60294e8c90
Fix VM lifecycle issues behind verify.sh
Make the Firecracker and bangerd processes outlive short-lived CLI request contexts so vm create no longer kills the VMM or daemon as soon as the RPC returns.

Fix fresh-VM SSH by flattening the seeded /root work disk when the copied home tree lands under a nested root/ directory, and write a guest sshd override to keep root pubkey auth explicit while debugging.

Harden teardown and smoke diagnostics: verify.sh now reports early Firecracker exit and delete failures directly, while dm snapshot cleanup tolerates already-gone handles and retries busy mapper removal long enough for Firecracker to release the device.

Validation: go test ./..., make build, bash -n verify.sh, direct SSH against a fresh VM, and a live ./verify.sh run that now completes with [verify] ok.
2026-03-17 14:43:09 -03:00
..
api Reject invalid VM CPU and memory values 2026-03-16 16:28:17 -03:00
cli Fix VM lifecycle issues behind verify.sh 2026-03-17 14:43:09 -03:00
config Add structured daemon lifecycle logs 2026-03-16 16:16:28 -03:00
daemon Fix VM lifecycle issues behind verify.sh 2026-03-17 14:43:09 -03:00
firecracker Fix VM lifecycle issues behind verify.sh 2026-03-17 14:43:09 -03:00
model Add structured daemon lifecycle logs 2026-03-16 16:16:28 -03:00
paths Make runtime defaults portable 2026-03-16 15:30:08 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
runtimebundle Clarify local runtime bundle bootstrap 2026-03-16 18:28:40 -03:00
store Add regression coverage for VM failure paths 2026-03-16 15:46:54 -03:00
system Add regression coverage for VM failure paths 2026-03-16 15:46:54 -03:00