Skip to content

CI: apply changes from latest modernize v0.39.0#6498

Merged
cce merged 4 commits into
algorand:masterfrom
cce:upgraded-modernize
Nov 14, 2025
Merged

CI: apply changes from latest modernize v0.39.0#6498
cce merged 4 commits into
algorand:masterfrom
cce:upgraded-modernize

Conversation

@cce

@cce cce commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

Summary

The latest version of modernize in golang.org/x/tools v0.39.0 provides some new checks that breaks the codegen_verification CI step without this PR. Uses algorand/msgp#35 to make modernize and linters happy with generated code too.

Test Plan

Comment-only changes

@codecov

codecov Bot commented Nov 14, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.40%. Comparing base (e1ff8a1) to head (3b49040).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6498      +/-   ##
==========================================
- Coverage   47.59%   47.40%   -0.19%     
==========================================
  Files         666      659       -7     
  Lines       88508    88423      -85     
==========================================
- Hits        42123    41920     -203     
- Misses      43618    43725     +107     
- Partials     2767     2778      +11     

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

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

Looks fine. I'd vote for not locking modernize until/unless updates get really annoying. I'd rather get updates this way than a bunch of annoying PRs by others who use it.

@cce cce merged commit 99c6b19 into algorand:master Nov 14, 2025
39 of 40 checks passed
@cce cce deleted the upgraded-modernize branch November 14, 2025 17:50
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.

3 participants