Limit and retry the module download in the Docker build #354

Merged
clawbot merged 1 commits from issue-351-bound-module-download into next 2026-10-13 21:11:12 +02:00
1 Commits
Author SHA1 Message Date
sneak d2108fbac4 Limit and retry the module download in the Docker build (closes #351)
check / check (push) Waiting to run
Each `go mod download` in the Dockerfile now runs under a five-minute
time limit and is tried up to three times. Without a limit, a stalled
connection to the module proxy held the step, and every build on the
host sharing it, until the kernel dropped the connection. Five minutes
is well above the three minutes a working download can take on a busy
build host. When all three attempts fail, the step prints "module
download failed" and exits 1, so the build stops there instead of
failing as a test or lint failure. A test checks every download step
for the limit, the retries, the message and the final `exit 1`.

Model: opus-5-5
2026-10-13 18:24:31 +00:00