← Back to Pull requests

chore: bump Go to 1.27 (toolchain go1.27.3) #169

Closed
unknown closed this pull request without merging on Oct 23, 2026 10:23 UTC
View on GitHub
unknown unknown commented on Oct 23, 2026 09:48 UTC
Author

🤖 Automated implementer agent — this comment was posted by the implementer bot from AI Factory, not by a human developer

Bump Go to 1.27 (toolchain go1.27.3)

Which patch and why


  • Latest Go 1.27 patch on go.dev/dl is go1.27.3 (2026-10-19, security fixes to crypto/x509; go1.26.10 shipped in parallel). 1.27.0–1.27.3 are all stable: true with no retraction/withdrawn note on go.dev/doc/devel/release.

  • On the CA certificate incident (~2026-10-21): I found no evidence of a retraction or affected 1.27.x release in go.dev, the Go milestone or Docker Hub. golang-announce/golang-dev could not be read, so that check is incomplete. 1.27.3 is the release carrying the x509 fix (the earliest patches, ≤1.27.2, predate it), so it is the correct pick. The golang:1.27.3-alpine3.24 image was rebuilt on 2026-10-22; the Dockerfile pins the digest of that current build (sha256:b8c9b82a…). Maintainer: if you have a specific advisory URL, please confirm 1.27.3 is the right one.
  • Convention: go directive vs toolchain


  • go 1.27.0 + toolchain go1.27.3 in all 8 modules and go.work. The go line is the minimum for SDK consumers (kept in the existing X.Y.0 style, not forcing a patch on them); the toolchain line pins dev/CI/release to the fixed patch and is ignored for dependents.

  • container/wait/testdata/http/go.mod (standalone, built in Docker): go 1.27, no toolchain.

  • Because the minimum is now 1.27, the CI matrix is [1.27.x] (older entries would just auto-switch toolchains); the Sonar condition in ci-test-go.yml was updated to 1.27.x.

  • No go1.25 build tags exist in the repo; none were touched (the wait/ backport is separate).
  • Other changes needed for Go 1.27


  • Dockerfile base: golang:1.27.3-alpine3.24 (digest pinned; 1.27 has no alpine3.22 image).

  • golangci-lint v2.12.2 → v2.15.0 (ci-lint-go.yml, commons-test.mk).

  • mockery v2.53.4 → v2.53.8: v2.53.4 fails under Go 1.27 (package "context" without types); generated output is unchanged.

  • Two lint findings from the new linter: removed deprecated no-op net.Dialer.DualStack (container/wait/http.go) and a redundant paren (container/wait/log_test.go).

  • README/CONTRIBUTING/RELEASING mention no Go version; release.yml etc. use go-version-file, so no change.
  • Local verification (go1.27.3)


    build, vet, golangci-lint (0 issues, all modules), make generate (no diff), go mod tidy (no diff), Docker build of the testdata image: OK. go test -race: client, container, image, legacyadapters, volume pass. config examples, context example and network TestNew/with-enable-ipv6 fail identically on unmodified main with Go 1.26.8 in this sandbox (no ~/.docker/config.json, no ip6tables) — environmental.

    Diff: 345 lines (+258 / -87) across 4 files Reviewer: robmry Review duration: 35m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 345 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.350
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #169"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.4% (MEDIUM) · Higher = larger blast radius
    42.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.7% · Safe to merge
    16.7%
    Repository