-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ci: Update lint.yml and Makefile #13484
Conversation
ref: #13483 |
Do you think it will resolve golangci flakiness? 🤔 We actually have set 1.49 in the Makefile too for consistency with CI. If we update we need to bump the version there too. |
Before merging we should update this: https://github.com/cosmos/cosmos-sdk/blob/main/Makefile#L358 |
|
I'll get Makefile happy & the rest. I still think that the version in Makefile and in CI should not be pinned as that'd make this pr unnecessary. |
@alexanderbez basically those issues .... are from changes that @marbar3778 made, which removed those, as if we run with v1.49.0, they show as unnecessary. (the nolint statements on those lines) |
Let's see if it still flags those. |
oh, yes-- the scariest file in the sdk, fix_registration.go ..... |
@alexanderbez yup, there's a real deprecation issue in this file, and it should likely be refactored. Vinh on our team is pretty good with protobufs, you think I should ask him if he feels up to the task? I'm also concerned that if we do touch anything, there could be copious ripple effects, and we may actually wish to use the deprecated style. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13484 +/- ##
==========================================
+ Coverage 53.91% 54.75% +0.83%
==========================================
Files 643 685 +42
Lines 55466 58767 +3301
==========================================
+ Hits 29906 32178 +2272
- Misses 23156 23895 +739
- Partials 2404 2694 +290
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you
Description
Yep, I hit it too. I think it is the difference between 1.49.0 and 1.50.0 in lint.yml and Makefile.
Also runs
make format
NB: this PR touches what I consider to be the SDK's scariest file: the duct tape that holds together protocol buffers registrations, eg: fix_registration.go
Instead of attempting to fix any underlying issues, this just more effectively tells the linter not to mess about here.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change