carlos / platform Public

audit-aws-timeouts

Human

Puts deadlines on AWS/S3 calls. The shared AWS config (internal/rootaws) and the release S3 store (internal/release/store.go:861) set no timeout, and the SDK only bounds dial and TLS. About 20 host-agent loops run each pass on context.Background(), so one stalled S3 response parks a loop until the agent restarts. The fix is per-operation deadlines (not one short client timeout, which would cut off large transfers) and one loop helper that gives every pass a deadline and the agent's context. Production-storage and census-touching: Astra reviews the branch and the census card. From the Go audit, discussion #1123.

Commits 12
Discussions 1 1 open
Tasks 5/5 done

Activity