Skip to content

build: bump Go to 1.27 - #1244

Merged
madhavilosetty-intel merged 1 commit into
mainfrom
chore/go-1.26-xcrypto-0.56
Sep 3, 2026
Merged

build: bump Go to 1.27#1244
madhavilosetty-intel merged 1 commit into
mainfrom
chore/go-1.26-xcrypto-0.56

Conversation

@madhavilosetty-intel

@madhavilosetty-intel madhavilosetty-intel commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps the module and CI to Go 1.27, aligning with the golang:1.27-alpine image the Docker build already uses. The golang.org/x/crypto 0.56.0 update comes along (it requires Go >= 1.26).

Changes

  • go.mod: go 1.25.0 -> 1.27.0 (and x/crypto v0.55.0 -> v0.56.0)
  • .github/workflows/ci.yml: test matrix 1.25.x -> 1.27.x
  • .github/workflows/release.yml: license-scan 1.25.1 -> 1.27.x
  • README.md / CLAUDE.md / copilot-instructions.md: Go note -> 1.27+

@madhavilosetty-intel
madhavilosetty-intel requested a review from a team as a code owner September 3, 2026 15:06
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.71%. Comparing base (a9001c9) to head (191967b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1244      +/-   ##
==========================================
+ Coverage   50.83%   56.71%   +5.87%     
==========================================
  Files         149      149              
  Lines       13874    12154    -1720     
==========================================
- Hits         7053     6893     -160     
+ Misses       6217     5260     -957     
+ Partials      604        1     -603     

☔ 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.

@madhavilosetty-intel madhavilosetty-intel changed the title fix(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.26) build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.26) Sep 3, 2026
@madhavilosetty-intel
madhavilosetty-intel force-pushed the chore/go-1.26-xcrypto-0.56 branch 2 times, most recently from d6df189 to f732ac8 Compare September 3, 2026 15:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The repo’s release workflow still pins Go 1.25.1 for the license-scan step, which will fail once go.mod requires Go 1.26.0.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the project’s minimum Go version and dependency graph to address security findings by upgrading golang.org/x/crypto, and aligns CI to build/test with the new Go baseline.

Changes:

  • Bump golang.org/x/crypto from v0.55.0 to v0.56.0 (and regenerate go.sum entries).
  • Raise go.mod module directive from go 1.25.0 to go 1.26.0.
  • Update CI workflow to install/use Go 1.26.x (formatting job and test matrix).
File summaries
File Description
go.mod Raises module Go version to 1.26.0 and bumps golang.org/x/crypto to v0.56.0.
go.sum Updates checksums to match the new golang.org/x/crypto v0.56.0 version.
.github/workflows/ci.yml Aligns CI setup-go usage and the test matrix to Go 1.26.x.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Changes are straightforward dependency/toolchain updates with CI/docs alignment, and the only feedback is a non-blocking maintainability improvement.

Review details
  • Files reviewed: 6/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/workflows/ci.yml Outdated
@madhavilosetty-intel madhavilosetty-intel changed the title build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.26) build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.27) Sep 3, 2026
@madhavilosetty-intel madhavilosetty-intel changed the title build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.27) build: adopt Go 1.27 Sep 3, 2026
Aligns the module directive and CI with the golang:1.27-alpine image the
Docker build already uses. Brings golang.org/x/crypto to 0.56.0 along,
which needs Go >= 1.26.
@madhavilosetty-intel madhavilosetty-intel changed the title build: adopt Go 1.27 build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.27) Sep 3, 2026
@madhavilosetty-intel madhavilosetty-intel changed the title build(deps): bump golang.org/x/crypto to 0.56.0 (adopt Go 1.27) build(deps): bump go version to go 1.27 Sep 3, 2026
@madhavilosetty-intel madhavilosetty-intel changed the title build(deps): bump go version to go 1.27 build: bump Go to 1.27 Sep 3, 2026
@madhavilosetty-intel
madhavilosetty-intel force-pushed the chore/go-1.26-xcrypto-0.56 branch 2 times, most recently from 961a5fb to 191967b Compare September 3, 2026 17:13
@madhavilosetty-intel
madhavilosetty-intel enabled auto-merge (squash) September 3, 2026 17:22
@madhavilosetty-intel
madhavilosetty-intel merged commit ff79777 into main Sep 3, 2026
21 checks passed
@madhavilosetty-intel
madhavilosetty-intel deleted the chore/go-1.26-xcrypto-0.56 branch September 3, 2026 17:25
@RosieAMT

RosieAMT commented Sep 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.40.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants