Skip to content

Bump to Go 1.26 - #361

Merged
kubernetes-prow[bot] merged 2 commits into
kubernetes:masterfrom
skitt:golang-1.26
Oct 23, 2026
Merged

kubernetes-prow[bot] merged 2 commits into
kubernetes:masterfrom
skitt:golang-1.26

Conversation

@skitt

@skitt skitt commented Oct 21, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

/kind cleanup
/kind dependency

What this PR does / why we need it:

This bumps Go (language level and GHA tooling) to 1.26 or later. 1.25 has reached EOL, all maintained branches of k/k use 1.26 or later, and apidiff requires 1.26.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

Release note:

NONE

@kubernetes-prow kubernetes-prow Bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Oct 21, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

@skitt: The label(s) kind/dependency cannot be applied, because the repository doesn't have them.

Details

In response to this:

What type of PR is this?

/kind cleanup
/kind dependency

What this PR does / why we need it:

This bumps Go (language level and GHA tooling) to 1.26 or later. 1.25 has reached EOL, all maintained branches of k/k use 1.26 or later, and apidiff requires 1.26.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

Release note:

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow
kubernetes-prow Bot requested review from deads2k and thockin October 21, 2026 10:42
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 21, 2026
@dims

dims commented Oct 21, 2026

Copy link
Copy Markdown
Member

/approve
/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 21, 2026
@dims

dims commented Oct 21, 2026

Copy link
Copy Markdown
Member

/hold

@kubernetes-prow kubernetes-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Oct 21, 2026
@dims

dims commented Oct 21, 2026

Copy link
Copy Markdown
Member

linter issue?

@skitt

skitt commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

linter issue?

Yup, we need a newer version of golangci-lint, I’ll fix that.

@pohly pohly 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.

/lgtm

skitt added 2 commits October 21, 2026 12:53
1.25 has reached EOL, and all maintained branches of k/k use 1.26 or
later. apidiff also now requires 1.26 or later.

golangci-lint is bumped to 2.9.0 which is the first version with
support for Go 1.26.

Signed-off-by: Stephen Kitt <[email protected]>
All maintained branches of k/k require 1.26 or later.

Signed-off-by: Stephen Kitt <[email protected]>
@kubernetes-prow kubernetes-prow Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 21, 2026
@kubernetes-prow kubernetes-prow Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 21, 2026
@skitt

skitt commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Sorry, I thought I’d do a go fix -inline (as was done in the 1.27 bump on k/k) but it’s complicated by the build tags, let’s revisit that later.

@dims

dims commented Oct 23, 2026

Copy link
Copy Markdown
Member

/approve
/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 23, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, pohly, skitt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@skitt

skitt commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

@dims you’ve still got a hold on this one, is that intentional?

@dims

dims commented Oct 23, 2026

Copy link
Copy Markdown
Member

/hold cancel

hold was for linter issue.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants