-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
refactor(store): add missing error checks in store #17794
Conversation
To catch such issues worth to add |
Yes, we but have it, which is why it is weird: Line 17 in b0b43c9
|
Oops, missed that. Then, or this linter was added after that code (without error check), or passed intentionally - as by default executed "lint (short)" workflow which check only git diff, so in all next PR's this issue not spotted... |
Sure, but this is not that. The CI optimization has been added later, additionally any Makefile edit makes it run fully (which happened quite some time since as well). Running it locally does not catch anything either ( |
Yep, it is. But also strange - release branches ( |
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.
LGTM.
We do not lint on release branches once they have been cut. This means release/v0.51.x will be the first release branch with that linter enabled.
Possibly, if I remove an error check anywhere in the codebase, as well as in store, |
Description
A-7
Add missing errors checks in store.
I am curious why golangci-lint have not caught these.
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
make lint
andmake test
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