banger/internal
Thales Maciel ccba07ec68
Propagate RPC cancellation to daemon requests
Stop long-running daemon operations from running under context.Background by\nthreading a request-scoped context from handleConn into dispatch. The daemon\nnow cancels in-flight handlers when the client socket goes away, and the RPC\nclient closes its Unix connection when the caller context is canceled so that\ninterrupts actually reach the daemon boundary.\n\nAdd regression coverage for both sides of the path: canceled dispatch calls,\nclient disconnects during handleConn, watcher EOF cancellation, and context\ncancellation without an RPC deadline.\n\nValidated with GOCACHE=/tmp/banger-gocache go test ./... and\nGOCACHE=/tmp/banger-gocache make build.
2026-03-16 18:28:33 -03:00
..
api Reject invalid VM CPU and memory values 2026-03-16 16:28:17 -03:00
cli Reject invalid VM CPU and memory values 2026-03-16 16:28:17 -03:00
config Add structured daemon lifecycle logs 2026-03-16 16:16:28 -03:00
daemon Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
firecracker Add structured daemon lifecycle logs 2026-03-16 16:16:28 -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 Make runtime defaults portable 2026-03-16 15:30:08 -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