Skip to content

chore: upgrade golang to 1.26#344

Merged
BigVan merged 2 commits into
containerd:mainfrom
northtyphoon:update-golang
Feb 14, 2026
Merged

chore: upgrade golang to 1.26#344
BigVan merged 2 commits into
containerd:mainfrom
northtyphoon:update-golang

Conversation

@northtyphoon

@northtyphoon northtyphoon commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Update golang to 1.26 as 1.23 support has ended

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Signed-off-by: Bin Du <bindu@microsoft.com>
Signed-off-by: Bin Du <bindu@microsoft.com>

@estebanreyl estebanreyl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM but I am assuming we need to update the dependencies as well

Comment thread ci/e2e/go.mod
module github.com/containerd/accelerated-container-image/ci/e2e

go 1.23.0
go 1.26.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If the version is increasing, we should probably do a go mod tidy to upgrade the dependencies as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I ran the go mod tidy and go mod vendor. there is no change in go.sum

@BigVan BigVan added the ok-to-test Pull request is ok to run ci test label Feb 14, 2026
@BigVan

BigVan commented Feb 14, 2026

Copy link
Copy Markdown
Member

LGTM, thanks

@BigVan
BigVan merged commit 0c6357c into containerd:main Feb 14, 2026
10 of 11 checks passed
Comment thread docs/BUILDING.md
## Requirements

* Install Go >= 1.23.x
* Install Go >= 1.26.x

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why drop support for Go 1.25?

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.

FWIW, Flatcar packages this project but wasn't ready to take 1.26, so we just patched it to 1.25 and nothing bad happened.

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

Labels

ok-to-test Pull request is ok to run ci test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants