banger/internal
Thales Maciel a14a80fd6b
Harden VM delete cleanup and SQLite settings
Multi-VM delete exposed two separate regressions: NAT teardown was still running after stopped VMs had already dropped their tap metadata, and the store was relying on one-off SQLite pragmas instead of configuring every pooled connection.

Skip NAT cleanup when the runtime no longer has the network handles needed to identify rules, and move the SQLite profile into the DSN so WAL, busy timeouts, foreign keys, and the other connection-scoped settings apply consistently across the pool. Keep the write mutex in place for concurrent mutations, and update the daemon/store tests to use valid image fixtures now that foreign key enforcement is real.

Validated with go test ./... and make build.
2026-03-18 20:39:31 -03:00
..
api Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
cli Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
config Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
daemon Harden VM delete cleanup and SQLite settings 2026-03-18 20:39:31 -03:00
firecracker Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
guest Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
guestconfig Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
model Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
paths Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -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 Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
store Harden VM delete cleanup and SQLite settings 2026-03-18 20:39:31 -03:00
system Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
vsockping Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00