-
Notifications
You must be signed in to change notification settings - Fork 432
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
Bump lint tools versions #4616
base: main
Are you sure you want to change the base?
Bump lint tools versions #4616
Conversation
This unblocks #4615 |
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, just note the first comment.
@@ -1,5 +1,4 @@ | |||
//go:build arm64 | |||
// +build arm64 |
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.
I don't think we have syscall tests in the e2es. We do have them in integration, but integration only runs in amd64. I understand that revive considers this redundant but this is a sensitive change.
So I think we should:
- Test syscalls manually in this PR in an arm64 machine
- Add a mirror integration test job that runs on an arm64 runner. I have opened Mirror integration tests on ARM64 #4621 for this.
@@ -23,25 +23,25 @@ enableAllRules = true | |||
[rule.call-to-gc] | |||
Disabled = false | |||
[rule.confusing-naming] | |||
Disabled = true | |||
Disabled = true # TODO: consider enabling this | |||
[rule.comment-spacings] | |||
Disabled = false | |||
[rule.confusing-results] |
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.
You've disabled this in containerd.go
, near where I am refactoring this right now. It would be useful to know what this option entails so I can tackle it at the same time.
1. Explain what the PR does
fd50c23 chore(lint): bump errcheck to 1.9.0
57bf903 chore(lint): bump staticcheck to 2025.1
368273c chore(lint): consider to enable revive rules
2a5419f chore(lint): apply revive modifies-value-receiver rule
2dfc114 chore(lint): apply revive control-nesting rule
d0d95d2 chore(lint): apply revive redundant-build-tag rule
f788752 chore(lint): apply revive superfluous-else rule
a08433f chore(lint): apply revive use-errors-new rule
2dda968 chore(lint): bump revive to 1.7.0
2. Explain how to test it
3. Other comments