Skip to content

Update to Go 1.24#226

Merged
bestbeforetoday merged 2 commits intohyperledger:mainfrom
bestbeforetoday:go1.24
Sep 6, 2025
Merged

Update to Go 1.24#226
bestbeforetoday merged 2 commits intohyperledger:mainfrom
bestbeforetoday:go1.24

Conversation

@bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Sep 4, 2025

Go 1.24 is now the oldest currently supported Go release.

  • Use specific Uber Mock version to avoid future breakages.
  • Update actions/setup-go from v5 to v6.
  • Update Fabric versions for testing to latest releases.
  • Update Go dependencies.
  • Remove deprecated dial options.

@bestbeforetoday bestbeforetoday marked this pull request as ready for review September 4, 2025 21:36
@bestbeforetoday bestbeforetoday force-pushed the go1.24 branch 4 times, most recently from cd8f0f3 to 30d72c9 Compare September 4, 2025 21:56
Go 1.24 is now the oldest currently supported Go release.

- Use specific Uber Mock version to avoid future breakages.
- Update actions/setup-go from v5 to v6.
- Update Fabric versions for testing to latest releases.
- Update Go dependencies.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
SamYuan1990
SamYuan1990 previously approved these changes Sep 5, 2025
Copy link
Contributor

@SamYuan1990 SamYuan1990 left a comment

Choose a reason for hiding this comment

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

The code looks good to me, but I noticed that there is a CI failure. @bestbeforetoday I just quest for access to see the error msg. what's that?

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday
Copy link
Member Author

bestbeforetoday commented Sep 5, 2025

@SamYuan1990 As far as I can tell, it is complaining about vulnerable transitive dependencies, all introduced from golang.org/x/tools. We are using the latest version of that library so there is no easy fix, other than explicitly updating all of those transitive dependency versions. This seems to be only used by test dependencies. Note that govulncheck shows no issues.

I had to ask LFDT staff for access to the Snyk results. It seems to have been recently added.

Copy link
Contributor

@SamYuan1990 SamYuan1990 left a comment

Choose a reason for hiding this comment

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

LGTM

@bestbeforetoday bestbeforetoday merged commit efd2f78 into hyperledger:main Sep 6, 2025
15 of 16 checks passed
@bestbeforetoday bestbeforetoday deleted the go1.24 branch September 6, 2025 09:20
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.

2 participants