← Back to Pull requests

OPS-3794: upgrade Go to 1.27.3 #170

Closed
unknown closed this pull request without merging on Oct 21, 2026 12:48 UTC
View on GitHub
unknown unknown commented on Oct 20, 2026 17:06 UTC
Author

Summary


Go 1.27.3 is a security release for CVE-2026-111943: crypto/x509 Verify now filters out chains through a small set of distrusted intermediate CAs. This is a protoc plugin library, so the go.mod and go.work minimums (go 1.25) are unchanged. The ci, main and release workflows (test matrix, lint, ko image build, release) move from Go 1.25 to 1.27.3.

References:

  • Go issue: https://go.dev/issue/82345

  • Announcement: https://groups.google.com/g/golang-announce/c/66pojueaQek/m/tmWX2Pq9AgAJ

  • Tracking: https://linear.app/ductone/issue/OPS-3794
  • Files changed


  • .github/workflows/ci.yaml

  • .github/workflows/main.yaml

  • .github/workflows/release.yaml
  • Validation


    GOTOOLCHAIN=go1.27.3: go build ./..., go vet ./... pass. go test ./pgdb/v1 fails in this sandbox because it tries to initialise a local Postgres ("This user must also own the server process"); it fails identically on Go 1.25.5, so it is environmental. go mod tidy in example/ only shows pre-existing drift, which I did not commit.

    Left for CI


    Full CI, which provides a database for the pgdb tests.

    Rollout / follow-up (manual steps at merge)


    Verdict: INERT: only GitHub workflow toolchains change; go.mod/go.work minimum (go 1.25) is unchanged and ductone/c1 builds the plugin with its own toolchain.
    Merge to main runs the ko image build and lint/tests (main.yaml); the PR checks (Build docker image, go-lint, go-test (1.27.3)) pass. Releases are tags: release.yaml fires on any tag and runs GoReleaser (latest v0.14.0). No ECR repo, no mutable tag. The main-branch Build docker image job does push ghcr.io/ductone/protoc-gen-pgdb:<short-sha> (ko, immutable SHA tag); nothing consumes it.
  • Optional: push the next tag only if you want release binaries built with Go 1.27.3; c1 (go.mod v0.14.0, library plus go tool) does not need it.

  • No ops change: the only ops hit is a comment in projects/app/50-25-app-regional-db-search-prep/main.go:96.
  • 🤖 Generated with Claude Code

    Diff: 256 lines (+192 / -64) across 3 files Reviewer: pquerna Review duration: 1182m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 256 lines diff across 3 files
    0.39
    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.332
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #170"
    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: 39.1% (MEDIUM) · Higher = larger blast radius
    39.1%
    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: 15.4% · Safe to merge
    15.4%