Skip to content

chore(deps): bump go directive to 1.26.4#1210

Open
bdsoha wants to merge 1 commit into
stackrox:mainfrom
bdsoha:fix/bump-vulnerable-deps-and-go
Open

chore(deps): bump go directive to 1.26.4#1210
bdsoha wants to merge 1 commit into
stackrox:mainfrom
bdsoha:fix/bump-vulnerable-deps-and-go

Conversation

@bdsoha

@bdsoha bdsoha commented Jun 25, 2026

Copy link
Copy Markdown

The go directive in go.mod is pinned to 1.26.1. That patch still carries the stdlib advisories that were fixed across 1.26.2–1.26.4.

build.yaml sets up Go with go-version-file: go.mod, so CI keeps building and testing on 1.26.1, and anyone building from source inherits the same floor. Bumping the directive to 1.26.4 pulls in the patched stdlib.

Module dependencies are already current on main, so this is toolchain-only — go mod tidy is otherwise a no-op.

Checked locally before opening:

  • go build ./... and go vet ./... pass
  • go test ./... passes
  • govulncheck ./... reports no vulnerabilities

go.mod was pinned to 1.26.1, which still ships the stdlib advisories
fixed across 1.26.2-1.26.4. build.yaml sets up Go with
go-version-file: go.mod, so CI and the from-source toolchain floor both
stay on the vulnerable patch.

Bumping to 1.26.4 pulls in the patched stdlib. Module deps are already
current on main, so this is toolchain-only; go mod tidy is otherwise a
no-op and govulncheck comes back clean.
@bdsoha bdsoha requested a review from rhybrillou as a code owner June 25, 2026 08:31
@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 5ac26344-dc75-462a-ac62-ab16a637ad82

📥 Commits

Reviewing files that changed from the base of the PR and between eab6d87 and 3809a84.

📒 Files selected for processing (1)
  • go.mod

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated the Go toolchain version used by the project to a newer patch release, with no changes to app behavior or dependencies.

Walkthrough

go.mod updates the go directive from 1.26.1 to 1.26.4.

Changes

Go toolchain update

Layer / File(s) Summary
Go directive update
go.mod
The module's Go version directive changes from 1.26.1 to 1.26.4.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: bumping the Go directive to 1.26.4.
Description check ✅ Passed The description is directly related to the change and explains the toolchain-only Go version bump.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 30.71%. Comparing base (dbd7529) to head (3809a84).
⚠️ Report is 318 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1210       +/-   ##
===========================================
- Coverage   62.36%   30.71%   -31.65%     
===========================================
  Files         197      239       +42     
  Lines        4854     6534     +1680     
===========================================
- Hits         3027     2007     -1020     
- Misses       1439     4351     +2912     
+ Partials      388      176      -212     
Flag Coverage Δ
unit 30.71% <ø> (-31.65%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant