mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
Deliver the one-shot read result through a buffered channel so the reader can finish even after the caller returns on cancellation. Preserve read error behavior and cover both result paths with deterministic synctest regressions. Add CancellationSafeResultSend with typed context and channel matching, regression fixtures, suppression tests, and contributor documentation. Signed-off-by: David Gageot <david.gageot@docker.com>