← Back to Pull requests

fix(build): build releases with the CI Go toolchain, now 1.27.3 #910

Merged
ArangoGutierrez merged 2 files (161 lines) on Oct 25, 2026 12:46 UTC
View on GitHub
ArangoGutierrez ArangoGutierrez commented on Oct 25, 2026 11:29 UTC
Author

Problem

Releases are built with Go 1.26.0, because release.yaml installs Go from the go line in go.mod, which is the minimum language version. The v0.5.0 binaries embed go1.26.0, and govulncheck -mode=binary finds 46 standard-library vulnerabilities in them. One of them is GO-2026-6809, the crypto/x509 intermediate-CA block shipped in go1.27.3 / go1.26.10. CI and the container image build with the Dockerfile's go1.27.2, which also predates that fix.

Change

  • Dockerfile: golang:1.27.3-bookworm.

  • release.yaml: takes the Go version from hack/golang-version.sh, as golang.yaml already does, and the step fails if the version is empty.
  • Testing

  • The new step, run as written in the workflow file, outputs 1.27.3 on this branch and 1.27.2 against main's Dockerfile. It exits 1 with ::error:: when the FROM golang line is missing.

  • goreleaser build --snapshot with that version: both binaries embed go1.27.3, and GO-2026-6809 no longer appears. Binary mode still reports GO-2026-5932 (x/crypto/openpgp, no fix available). holodeck doesn't import that package, and source-mode govulncheck finds 0 vulnerabilities affecting holodeck's code.

  • docker build: both the image's Go and /go/bin/holodeck report go1.27.3.

  • actionlint: 0 findings.
  • Diff: 161 lines (+120 / -41) across 2 files Reviewer: None requested Review duration: 76m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.47) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.47 · 161 lines diff across 2 files
    0.47
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.304
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #910"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    ArangoGutierrez ArangoGutierrez
    Labels
    risk: low confidence: 44.2% 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: 46.9% (MEDIUM) · Higher = larger blast radius
    46.9%
    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: 44.2% · Lower = rushed or shallow review
    44.2%
    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: 26.2% · Safe to merge
    26.2%