Build-system major drift
Go 1.24 GOCACHEPROG JSON protocol remote cache helper changed
Builds fail only when the remote cache helper is enabled; disabling cache hides the issue.
Agent Quick Fix
Repair against the current Go 1.24 contract, then keep the change narrow and source-backed.
Product: Go 1.24
Current-contract area: Custom `GOCACHEPROG` speaks a stale JSON protocol
Likely root cause: Builds fail only when the remote cache helper is enabled; disabling cache hides the issue.
Repair direction: Verifier checks explicit modern configuration and supported daemon/toolchain separation.
Symptom
Builds fail only when the remote cache helper is enabled; disabling cache hides the issue.
Why This Happens
Build scripts can be syntactically plausible while the current build-system major removes implicit artifacts/APIs or raises its daemon runtime floor.
Common Wrong Fixes
- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.
Codex Search Keywords
These are the search terms observed in a neutral Codex validation run for this failure shape.
Go 1.24 GOCACHEPROG JSON protocol remote cache helper changed
GOCACHEPROG protocol JSON Go 1.24
"GOCACHEPROG" "KnownCommands"
https://go.dev/src/cmd/go/internal/cache/prog.go
https://go.dev/src/cmd/go/internal/cacheprog/cacheprog.go
go.dev src cmd go internal cacheprog cacheprog.go
https://go.dev/src/cmd/go/internal/
https://go.dev/src/cmd/go/internal/cacheprog/
"ProgRequest" "BodySize" GOCACHEPROG
https://raw.githubusercontent.com/golang/go/go1.23.0/src/cmd/go/internal/cache/prog.go
Source Trail
GitHub source file/reference:
- Go 1.24 release notes: https://go.dev/doc/go1.24
- Official reference opened by Codex: https://go.dev/src/cmd/go/internal/cache/prog.go
- Official reference opened by Codex: https://go.dev/src/cmd/go/internal/cacheprog/cacheprog.go
- Official reference opened by Codex: https://go.dev/src/cmd/go/internal/
- Official reference opened by Codex: https://go.dev/src/cmd/go/internal/cacheprog/
- Official reference opened by Codex: https://raw.githubusercontent.com/golang/go/go1.23.0/src/cmd/go/internal/cache/prog.go