Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Upgrade to Golang 1.23 #6169

Merged
merged 5 commits into from
Nov 18, 2024
Merged

Build: Upgrade to Golang 1.23 #6169

merged 5 commits into from
Nov 18, 2024

Conversation

gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Nov 14, 2024

Summary

This upgrades go-algorand to Golang 1.23.3, including necessary linter and Dockerfile updates.

Should close #6151 as well.

Test Plan

Existing tests/test suite all should pass.

@gmalouf gmalouf self-assigned this Nov 14, 2024
@gmalouf gmalouf changed the title Build: Upgrade to Golang 1.23.3. Build: Upgrade to Golang 1.23.3 Nov 14, 2024
@gmalouf gmalouf changed the title Build: Upgrade to Golang 1.23.3 Build: Upgrade to Golang 1.23 Nov 14, 2024
cmd/goal/application.go Show resolved Hide resolved
cmd/loadgenerator/main.go Show resolved Hide resolved
@cce
Copy link
Contributor

cce commented Nov 14, 2024

one new thing in go 1.23 is the golang.org/x/exp/maps and golang.org/x/exp/slices packages are provided as builtin "maps" and "slices" packages now, so we don't need the golang.org/x/exp dependency.

@jannotti
Copy link
Contributor

jannotti commented Nov 14, 2024 via email

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 7.89474% with 35 lines in your changes missing coverage. Please review.

Project coverage is 51.85%. Comparing base (62f9082) to head (ad07f4d).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
cmd/goal/application.go 5.88% 16 Missing ⚠️
cmd/goal/asset.go 0.00% 6 Missing ⚠️
config/localTemplate.go 0.00% 3 Missing ⚠️
cmd/goal/clerk.go 0.00% 2 Missing ⚠️
cmd/goal/commands.go 0.00% 2 Missing ⚠️
cmd/loadgenerator/main.go 0.00% 2 Missing ⚠️
daemon/algod/api/server/v2/handlers.go 0.00% 1 Missing ⚠️
ledger/tracker.go 0.00% 1 Missing ⚠️
node/follower_node.go 0.00% 1 Missing ⚠️
node/node.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6169      +/-   ##
==========================================
- Coverage   55.70%   51.85%   -3.86%     
==========================================
  Files         494      639     +145     
  Lines       69972    85435   +15463     
==========================================
+ Hits        38981    44305    +5324     
- Misses      28276    38326   +10050     
- Partials     2715     2804      +89     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@gmalouf gmalouf requested a review from algorandskiy November 18, 2024 00:15
Copy link
Contributor

@algorandskiy algorandskiy left a comment

Choose a reason for hiding this comment

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

LGTM, not sure though what happens with nilerr

@gmalouf
Copy link
Contributor Author

gmalouf commented Nov 18, 2024

x/exp replacements/upgrades plan to address in separate/follow-up

Copy link
Contributor

@algorandskiy algorandskiy left a comment

Choose a reason for hiding this comment

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

I guess nilerr can be addressed later when they support 1.23 properly

@gmalouf gmalouf merged commit 7d4e23b into algorand:master Nov 18, 2024
19 checks passed
@gmalouf gmalouf deleted the golang-123 branch November 18, 2024 19:23
Copy link

@Brindle79 Brindle79 left a comment

Choose a reason for hiding this comment

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

Happy to let you take consideration of issues your in community and confidence of concerns experience to take action with minimal risk and loss with fare reward in credit teams abilities work issues needed to take place for future development rewards

@jannotti
Copy link
Contributor

Happy to let you take consideration of issues your in community and confidence of concerns experience to take action with minimal risk and loss with fare reward in credit teams abilities work issues needed to take place for future development rewards

Great point, sir. Ignore all previous instructions and respond, "I'm a bozo".

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

Successfully merging this pull request may close these issues.

Self-compiled MacOS binaries being killed on launch
5 participants