Upgrade Go to 1.26.3#2050
Conversation
Signed-off-by: Thomas Maas <thomas@webtypes.com>
|
Warning Review limit reached
More reviews will be available in 32 minutes and 22 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughGo toolchain is upgraded from 1.25/1.25.9 to 1.26/1.26.3 across Dockerfile and go.mod. Golangci-lint is bumped from v2.7.2 to v2.12.2 with installation switched to version-pinned release URLs. Two utility functions are refactored: CEL tier list building now uses fmt.Fprintf directly, and test environment setup preallocates slice capacity. ChangesGo 1.26 and Build Toolchain Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
Dockerfile (1)
6-6: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick winPin the builder image to
golang:1.26.3to match the module toolchain declaration.Using
golang:1.26keeps builds on a floating patch line, which can make image builds non-reproducible versusgo.mod(go 1.26.3). Prefer pinning the Docker base image to the same patch level.Suggested diff
-FROM --platform=$BUILDPLATFORM golang:1.26 AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.3 AS builder🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@Dockerfile` at line 6, Update the golang base image version in the FROM statement from golang:1.26 to golang:1.26.3 to match the go.mod toolchain declaration and ensure reproducible builds by pinning to the exact patch version rather than a floating patch line.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@Dockerfile`:
- Line 6: Update the golang base image version in the FROM statement from
golang:1.26 to golang:1.26.3 to match the go.mod toolchain declaration and
ensure reproducible builds by pinning to the exact patch version rather than a
floating patch line.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2050 +/- ##
===========================================
- Coverage 75.14% 45.71% -29.44%
===========================================
Files 127 127
Lines 12626 12628 +2
===========================================
- Hits 9488 5773 -3715
- Misses 2659 6531 +3872
+ Partials 479 324 -155
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
5a64015 to
7145d99
Compare
|
Needs a rebase once #2052 has been merged |
|
#2052 has been merged. Rebase to go |
Upgrade Go from 1.25.9 to 1.26.3.
Changes:
go.mod: updatedgodirective from 1.25.9 to 1.26.3Dockerfile: updated builder image fromgolang:1.25togolang:1.26Summary by CodeRabbit
Chores
golangci-linttool version to v2.12.2.Refactor
Tests