chore: upgrade Go from 1.24.4 to 1.26.4 to fix 32 stdlib vulnerabilities#1679
chore: upgrade Go from 1.24.4 to 1.26.4 to fix 32 stdlib vulnerabilities#1679rohilsurana wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Ready to act? Review this PR in Change Stack to turn feedback into patch suggestions you can inspect and refine. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (16)
✅ Files skipped from review due to trivial changes (12)
📝 WalkthroughSummary by CodeRabbit
WalkthroughGo toolchain version is updated from 1.24.x/1.24.0 to 1.26.4 in go.mod, the development Docker builder image, and all GitHub Actions workflows; the golangci-lint action version is also bumped. Additionally, code imports move from ChangesGo Toolchain Update
Stdlib migration (slices, ioutil -> os)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Coverage Report for CI Build 27037929088Coverage remained the same at 43.221%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/lint.yml (1)
11-23: ⚡ Quick winConsider adding explicit permissions for security hardening.
The static analysis tool flagged that this job uses default permissions. Following the principle of least privilege, consider adding an explicit permissions block.
🔒 Proposed permissions block
jobs: golangci: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read steps:
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 1bb2685a-92e4-4fb2-a37d-5a293b88b431
📒 Files selected for processing (1)
.github/workflows/lint.yml
Summary
govulncheckioutil.ReadFile/ioutil.WriteFilewithos.ReadFile/os.WriteFile(3 files)golang.org/x/exp/slicesto stdlibslicespackage (13 files)Changes
go.modgo 1.24.0→go 1.26.4Dockerfile.devgolang:1.24.4-alpine3.21→golang:1.26.4-alpine3.23.github/workflows/release.ymlgo-version: "1.26.4"(3 instances).github/workflows/main.ymlgo-version: "1.26.4"(1 instance).github/workflows/test.ymlgo-version: "1.26.4"(3 instances).github/workflows/lint.ymlgo-version: "1.26.4"+ golangci-lint v2.12.2config/init.goioutil.WriteFile→os.WriteFileinternal/store/blob/blob.goioutil.ReadFile→os.ReadFilepkg/file/file.goioutil.ReadFile→os.ReadFilegolang.org/x/exp/slices→ stdlibslicesStdlib vulns fixed (32)
crypto/tls,crypto/x509,net/http,net/url,net/mail,net/textproto,html/template,os,os/exec,database/sql,encoding/asn1,encoding/pem,net/http/httputil,netTest plan
go build ./...— passgo vet ./...— passgolangci-lint run ./...— 0 issuesgo test ./core/... ./internal/api/... ./billing/... ./pkg/... ./cmd/...— all passgolang:1.26.4-alpine3.23