4 files changed,
+25
−0
.amadan/ci.d/10-gate
+1 −0
.amadan/ci.d/20-cross@5
+1 −0
.amadan/ci.d/30-minio-contract
+1 −0
.amadan/go-toolchain.sh
+22 −0
| index 540cf876e..19a206a80 100755 |
| --- a/.amadan/ci.d/10-gate |
| +++ b/.amadan/ci.d/10-gate |
| @@ -45,6 +45,7 @@ |
| # line, with the Makefile's note on why; they are still in force here, |
| # just not written down twice. |
| set -eu |
| +. .amadan/go-toolchain.sh |
| |
| # The build runs beside the tests rather than before them: neither needs |
| # the other, and the gate's wall clock is whichever finishes last. |
| index ee14fe7b4..b40d06de7 100755 |
| --- a/.amadan/ci.d/20-cross@5 |
| +++ b/.amadan/ci.d/20-cross@5 |
| @@ -23,6 +23,7 @@ |
| # itself in the shard that failed, instead of being the first line of a |
| # combined log. |
| set -eu |
| +. .amadan/go-toolchain.sh |
| |
| shard=${AMADAN_SHARD:?this step must be run by amadan CI, which sets AMADAN_SHARD} |
| shards=${AMADAN_SHARD_COUNT:?this step must be run by amadan CI, which sets AMADAN_SHARD_COUNT} |
| index 741acac64..1ee952d70 100755 |
| --- a/.amadan/ci.d/30-minio-contract |
| +++ b/.amadan/ci.d/30-minio-contract |
| @@ -32,6 +32,7 @@ |
| # loopback only, its data directory is the job's private /tmp tmpfs, and |
| # it dies with the job's PID namespace. Nothing persists on the box. |
| set -eu |
| +. .amadan/go-toolchain.sh |
| |
| # Fail on a missing tool by name rather than by a confusing error forty |
| # lines down. Both are present on the runner; this is here so that a |
| new file mode 100644 |
| index 000000000..e2f45b1aa |
| --- /dev/null |
| +++ b/.amadan/go-toolchain.sh |
| @@ -0,0 +1,22 @@ |
| +# Sourced by every .amadan/ci.d step: the Go toolchain CI builds and tests |
| +# with, pinned to what the release builds use rather than whatever the |
| +# runner has installed. |
| +# |
| +# go1.26.10, because Go 1.26.11's net/http deadlocks a server that writes |
| +# its response while another goroutine still reads the request body under |
| +# Expect: 100-continue (chunkWriter.writeHeader now takes the body's lock |
| +# through bodyRemains(), and body.Read holds it while blocked on the |
| +# network). The edge's reverse proxy does exactly that when an upstream |
| +# refuses early, and TestDemoAPIAliasStreaming's "early" cases hang on it. |
| +# Both CI runners moved to 1.26.11 on 2026-11-11 (carlos/platform #897); |
| +# releases are built on 1.26.10. |
| +# |
| +# A `toolchain go1.26.10` line in go.mod would not do this: the go command |
| +# only switches to a toolchain line NEWER than the local one. GOTOOLCHAIN |
| +# does downgrade. "+auto" still lets a go.mod that needs a newer Go fetch it. |
| +# |
| +# Re-check when Go ships a fix for the deadlock: move this to that version |
| +# (it also carries GO-2026-6859), with the early subtests as the witness. |
| +GOTOOLCHAIN=go1.26.10+auto |
| +export GOTOOLCHAIN |
| +go version |