-
Notifications
You must be signed in to change notification settings - Fork 36
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
Upgrade go to v1.23 #1664
Upgrade go to v1.23 #1664
Conversation
Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com>
f6c83fe
to
9a22853
Compare
Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com>
- G301 # Fixable | ||
- G302 # Fixable | ||
- G306 # Fixable | ||
- G204 |
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.
Why are we excluding G204
?
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.
G204 was included in exclude-rules list before, but on the current linter version we are getting too many new gosec errors, so decided to put them into one place- general config, not individually
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.
OK, add a todo and refer to the issue where we plan to fix these issues.
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.
Done
.golangci.yml
Outdated
- interfacer | ||
text: "`rawSrv` can be `github.com/networkservicemesh/sdk/pkg/networkservice/common/monitor.EventConsumer`" | ||
- revive | ||
# TODO - remove deprecated opentelemetry functions |
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.
Please add a ticket to refer here. Thanks.
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.
Done
Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com>
Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com>
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.
Looks acceptable.
@NikitaSkrynnik Could you also have a look?
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1664 Commit: cb2dbb0 Author: Vladislav Byrgazov Date: 2024-11-19 15:12:50 +0500 Message: - Upgrade go to v1.23 (#1664) * Upgrade go to v1.23 Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Update linter config Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Add todo to fix linters Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> * Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> --------- Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
Upgrade go version
Proof of concept of working CI: Ex4amp1e#2 (using updated workflows)
Issue link
networkservicemesh/deployments-k8s#12294
How Has This Been Tested?
Types of changes