← Back to Pull requests

chore: align the Go toolchain with KEDA 2.21.0 #353

Closed
unknown closed this pull request without merging on Oct 23, 2026 12:36 UTC
View on GitHub
unknown unknown commented on Oct 22, 2026 19:52 UTC
Author

KEDA 2.21.0 builds with keda-tools 1.26.8, so this builds the operator image with the same tag. It also picks up the Go security fixes released since 1.26.2.

Renovate moved the workflows to Go 1.27 in #325. golangci-lint v2.13.2 can't read Go 1.27 export data, so Static Checks has been failing on every pull request since:

could not import sync/atomic (-: could not load export data: internal error in importing "sync/atomic" (cannot decode "sync/atomic", export data version 5 is greater than maximum supported version 4); please report an issue)

This moves the workflows back to Go 1.26 and stops Renovate from bumping the setup-go version. Like the go directive, it's synced from upstream KEDA by hack/relprep.sh. The existing golang-version rule doesn't cover it, because Renovate resolves setup-go versions from the actions/go-versions releases.

Merging this first lets the other pull requests for the 2.21.0 release pass Static Checks.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • Part of #349

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Chores
    Build, deployment, and test workflows now use Go 1.26.
    The container build now uses an updated Go tools image.
    Automated dependency updates are disabled for the Go versions action.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 189 lines (+141 / -48) across 2 files Reviewer: linkvt Review duration: 1004m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 189 lines diff across 2 files
    0.36
    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.314
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #353"
    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: 35.9% (MEDIUM) · Higher = larger blast radius
    35.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: 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: 14.2% · Safe to merge
    14.2%