Skip to content

build(go): upgrade to Go 1.25.4 - #1910

Merged
Wwwsylvia merged 3 commits into
oras-project:mainfrom
adriansali:adriansali/stdlib
Dec 10, 2025
Merged

Wwwsylvia merged 3 commits into
oras-project:mainfrom
adriansali:adriansali/stdlib

Conversation

@adriansali

@adriansali adriansali commented Nov 20, 2025 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Update Go to 1.25.4 to address CVEs in 1.25.0

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1909

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?

@Wwwsylvia

Copy link
Copy Markdown
Member

@adriansali Thanks for the PR, could you follow the instruction to fix the DCO?

@wangxiaoxuan273

Copy link
Copy Markdown
Contributor

Just use the -s flag when committing would fix the DCO. git commit -s.

@adriansali

Copy link
Copy Markdown
Contributor Author

Thanks both! Will try to address this later today. Let me know if there is any particular testing you would like me to do as well.

@codecov

codecov Bot commented Nov 26, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.33%. Comparing base (220e446) to head (0972c00).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1910   +/-   ##
=======================================
  Coverage   87.33%   87.33%           
=======================================
  Files         143      143           
  Lines        5535     5535           
=======================================
  Hits         4834     4834           
  Misses        415      415           
  Partials      286      286           

☔ View full report in Codecov by Sentry.
📢 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.

Signed-off-by: Adrian Sali <[email protected]>
@adriansali adriansali changed the title Update Go to 1.25.4 build(go): upgrade to Go 1.25.4 Nov 27, 2025
@shizhMSFT
shizhMSFT requested a review from Copilot November 30, 2025 06:04

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.

Pull request overview

This PR upgrades the Go version from 1.25.0 to 1.25.4 to address multiple CVEs in the Go standard library. However, there is a critical issue: Go version 1.25.x does not appear to exist in the standard Go release history. The Go versioning scheme typically follows 1.22, 1.23, 1.24, etc., and as of January 2025, Go 1.25 had not been released. This version number should be verified and corrected to a valid Go version (likely 1.23.4 or similar).

Key Changes

  • Updated Go version from 1.25.0 to 1.25.4 in go.mod files
  • Updated Go version in test/e2e workspace configuration
  • Updated Go version in GitHub release workflow

Reviewed changes

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

File Description
go.mod Updates Go directive from 1.25.0 to 1.25.4
test/e2e/go.mod Updates Go directive from 1.25.0 to 1.25.4 for e2e test module
test/e2e/go.work Updates Go directive from 1.25.0 to 1.25.4 for e2e workspace
.github/workflows/release-github.yml Updates go-version in setup-go action from 1.25.0 to 1.25.4

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

@TerryHowe TerryHowe 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

@shizhMSFT shizhMSFT 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

@Wwwsylvia
Wwwsylvia merged commit b0912a1 into oras-project:main Dec 10, 2025
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.

Multiple CVEs related to stdlib version 1.25.0

6 participants