Skip to content

Upgrade Go version to 1.26.3#4519

Merged
efiacor merged 7 commits into
kptdev:mainfrom
alphanota:upgrade-go-1.26.3
May 21, 2026
Merged

Upgrade Go version to 1.26.3#4519
efiacor merged 7 commits into
kptdev:mainfrom
alphanota:upgrade-go-1.26.3

Conversation

@alphanota
Copy link
Copy Markdown
Contributor

@alphanota alphanota commented May 12, 2026

Upgrade Go version to 1.26.3 to address security vulnerabilities in the Go standard library.

I have used AI in the creation of this PR.

I have used the following AI tools:

  • Antigravity to automate the analysis, fork, clone, and upgrade process.

Upgrade Go version to 1.26.3 to address security vulnerabilities in the Go standard library.

Assisted-by: Jetski:gemini-next
Signed-off-by: Angel Montero <angelmontero@google.com>
Copilot AI review requested due to automatic review settings May 12, 2026 19:44
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 12, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit e01f653
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a0eb2ddcb0aeb0009b890e9
😎 Deploy Preview https://deploy-preview-4519--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot dosubot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 12, 2026
@alphanota alphanota marked this pull request as draft May 12, 2026 19:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s primary Go module (github.com/kptdev/kpt) to use Go 1.26.3, aligning the toolchain version implied by go.mod with the intent to pick up Go standard-library security fixes.

Changes:

  • Bumped the go directive in the root go.mod from 1.26.2 to 1.26.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread go.mod
alphanota added 4 commits May 12, 2026 23:11
Upgrade Go version in documentation/go.mod and healthcheck/go.mod to 1.26.3 to address security vulnerabilities.

Assisted-by: Jetski:gemini-next
Signed-off-by: Angel Montero <angelmontero@google.com>
Revert the Go version in documentation/go.mod to 1.25.10. This resolves the Netlify build failure while still securing the module with the latest Go 1.25 security patches.

Assisted-by: Jetski:gemini-next
Signed-off-by: Angel Montero <angelmontero@google.com>
Add GO_VERSION = "1.26.3" to documentation/netlify.toml to ensure the Netlify build environment installs and uses the correct Go version. Align documentation/go.mod back to Go 1.26.3 now that the build environment is properly configured.

Assisted-by: Jetski:gemini-next
Signed-off-by: Angel Montero <angelmontero@google.com>
Revert documentation/go.mod and documentation/netlify.toml back to their original state. Upgrading them is not required to fix the kpt CLI binary vulnerability, and they are causing compatibility issues with the Netlify build environment.

Assisted-by: Jetski:gemini-next
Signed-off-by: Angel Montero <angelmontero@google.com>
@alphanota alphanota marked this pull request as ready for review May 12, 2026 23:37
Copilot AI review requested due to automatic review settings May 12, 2026 23:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

Comment thread go.mod
@liamfallon
Copy link
Copy Markdown
Contributor

@alphanota would you mind addressing the copilot comments please?

Signed-off-by: Angel Montero <angelmontero@google.com>
@alphanota alphanota force-pushed the upgrade-go-1.26.3 branch from 78550b4 to e4963f9 Compare May 20, 2026 16:31
@alphanota
Copy link
Copy Markdown
Contributor Author

@liamfallon I resolved the comment, thanks!

Copy link
Copy Markdown
Contributor

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

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

@alphanota Thanks for the contribution!

@dosubot dosubot Bot added the lgtm label May 21, 2026
Revert go.sum change
Copilot AI review requested due to automatic review settings May 21, 2026 07:23
@efiacor efiacor merged commit a9cda59 into kptdev:main May 21, 2026
17 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.

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

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants