Skip to content

PMM-12384 Backup artifact metrics #3970

PMM-12384 Backup artifact metrics

PMM-12384 Backup artifact metrics #3970

Triggered via pull request August 23, 2023 12:06
Status Failure
Total duration 9m 44s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
21s
Merge Gatekeeper
Slack Notification success
0s
Slack Notification success
Slack Notification failure
7s
Slack Notification failure
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Checks: managed/services/backup/metrics.go#L78
append to slice `serviceIDs` with non-zero initialized length (makezero)
Checks: managed/services/management/ia/rules_service.go#L377
`if req.TemplateName != ""` has complex nested blocks (complexity: 7) (nestif)
Checks: agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
Checks: agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
Checks: managed/cmd/pmm-managed/main.go#L84
SA1019: "github.com/percona/pmm/managed/services/config" is deprecated: please don't extend this package, it will be removed soon https://jira.percona.com/browse/PMM-11155 (staticcheck)
Checks: managed/services/backup/pitr_timerange_service.go#L254
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
Checks: managed/services/dbaas/kubernetes/kubernetes.go#L829
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
Checks: managed/services/dbaas/kubernetes/kubernetes.go#L880
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
Checks: managed/services/dbaas/kubernetes/client/client.go#L751
SA1019: wait.PollImmediateUntil is deprecated: This method does not return errors from context, use PollUntilContextCancel. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
Checks: managed/services/dbaas/kubernetes/client/client.go#L787
SA1019: wait.PollImmediateUntil is deprecated: This method does not return errors from context, use PollUntilContextCancel. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)