Skip to content

Refactor the recommender to allow for integration tests - With envtest #386

Refactor the recommender to allow for integration tests - With envtest

Refactor the recommender to allow for integration tests - With envtest #386

Triggered via pull request January 3, 2026 12:25
Status Failure
Total duration 2m 45s
Artifacts

vpa-golangci-lint.yaml

on: pull_request
Run golangci-lint
2m 42s
Run golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Run golangci-lint
issues found
Run golangci-lint: vertical-pod-autoscaler/integration/utils.go#L67
func makeVPACP is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/integration/recommender_test.go#L194
Error return value of `(k8s.io/client-go/kubernetes/typed/core/v1.NamespaceInterface).Delete` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/integration/recommender_test.go#L123
Error return value of `(k8s.io/client-go/kubernetes/typed/core/v1.NamespaceInterface).Delete` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/integration/recommender_test.go#L50
Error return value of `(k8s.io/client-go/kubernetes/typed/core/v1.NamespaceInterface).Delete` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/integration/main_test.go#L54
Error return value of `testEnv.Stop` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/integration/main_test.go#L51
Error return value of `os.Remove` is not checked (errcheck)