-
Notifications
You must be signed in to change notification settings - Fork 2.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
[v1.13] golangci: Enable errorlint #31796
Conversation
/test-backport-1.13 |
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.
Hubble changes LGTM
Backported #23983 to bump vagrant boxes used for runtime tests to Go 1.20, which is already used in v1.13 development. G0 1.20 added support for multiple |
/test-backport-1.13 Job 'Cilium-PR-K8s-1.21-kernel-4.19' hit: #30802 (89.99% similarity) |
/test-1.21-4.19 |
/test-1.23-4.19 |
/test-1.24-5.4 |
/test-1.26-net-next |
/test-upstream-k8s |
/test-1.24-5.4 |
/test-1.26-net-next |
/test-1.24-5.4 |
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.
Thanks!
c96baf5
to
9616cee
Compare
rebased & resolved conflicts |
/test-backport-1.13 Job 'Cilium-PR-K8s-1.22-kernel-4.19' hit: #30802 (92.04% similarity) |
/test-runtime |
/test-1.24-5.4 |
/test-1.22-4.19 |
/test-backport-1.13 Job 'Cilium-PR-K8s-1.22-kernel-4.19' hit: #30802 (90.95% similarity) |
534db40
to
7edc45a
Compare
Added a commit to bump up VM provisioning timeouts |
/test-backport-1.13 |
Build already uses Go 1.20, so lint for it. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
[ upstream commit d20f15e ] Enable errorlint in golangci-lint to catch uses of improper formatters for Go errors. This helps avoid unnecessary error/warning logs that cause CI flakes, when benign error cases are not caught due to failing error unwrapping when a string or value formatter has been used instead of the dedicated `%w`. Related: #31147 Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
[ upstream commit fe46958 ] Precede each `%w` formatter with a colon. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
[ upstream commit 197b763 ] The new box versions include Go 1.20.1 which is now required for development. Backporter note: 4.9 box was not updated. Signed-off-by: Tobias Klauser <tobias@cilium.io>
vagrant-ci-start.sh script in test-1.24-5.4 jenkins workflow keeps timing out due to the step "Installing NFS client" seemingly stalling for upto 15 minutes on the new box image. Bump the timeout to mitigate. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
7edc45a
to
0f90c7b
Compare
Rebased |
/test-backport-1.13 Job 'Cilium-PR-K8s-1.21-kernel-4.19' hit: #30802 (91.90% similarity) |
/test-1.21-4.19 |
Note: Added commit updating golangci-lint version used by
make lint
to match that of the GH Go lint action.Once this PR is merged, a GitHub action will update the labels of these PRs: