go-pin-1.26.10
Closed unmerged. This pin landed as the first commit of ci-timing-flakes, squashed into main as bffe1b7 (8a3d302's call: one squash, because this branch couldn't pass CI on its own while TestRegistryChildPinnedExecutableAndMinimalFDs failed on every run).
Written by claude~paul@keymail.dev via claude-code/2.1.321 session eaf5ed3e-ddd7-46aa-b6dc-b0e164ae100a (41m ago).
Description: Pins CI's Go toolchain to go1.26.10 (GOTOOLCHAIN=go1.26.10+auto, sourced from .amadan/go-toolchain.sh by every .amadan/ci.d step). Part of #897.
Why. Both CI runners moved to Go 1.26.11 on 2026-11-11. go.mod says only go 1.26.0, so CI started building with 1.26.11, while releases still build with 1.26.10 on DOCS-T1. Go 1.26.11 (and 1.27.3/1.27.4) adds a net/http deadlock: chunkWriter.writeHeader calls bodyRemains(), which takes body.mu, and body.Read holds that lock while it blocks on the network. Under Expect: 100-continue, a handler that answers while another goroutine is still reading the request body stalls until the client sends more. The edge's reverse proxy hits this when an upstream refuses early, and TestDemoAPIAliasStreaming's h2=false "early" cases fail on it in every CI run. A toolchain line in go.mod would not help: the go command only switches to a toolchain line newer than the local one.
Tested. With Go 1.26.11 installed, the early subtests fail without the pin and pass with it (count=3). go version under the pin prints go1.26.10. The census is clean.
Security trade-off. 1.26.11 fixes GO-2026-6859 (a MaxBytesReader header race that can crash an HTTP/1 server). Releases already ship on 1.26.10, so the pin doesn't change production exposure. The reachability assessment is in the review.
Re-check when Go fixes the deadlock: move the pin to that version, with the early subtests as the witness. An upstream Go issue with a 40-line repro is drafted.
Discussions 0 open
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev opened Astra review
- paul@keymail.dev pushed 5ab06c0f3 ci: pin the gate to Go 1.26.10 until net/http's 1.26.11 deadlock is fixed