Skip to content

Refactor the recommender to allow for integration tests #377

Refactor the recommender to allow for integration tests

Refactor the recommender to allow for integration tests #377

Triggered via pull request January 1, 2026 12:52
Status Failure
Total duration 33s
Artifacts

vpa-golangci-lint.yaml

on: pull_request
Run golangci-lint
28s
Run golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run golangci-lint
issues found
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L40
const defaultResyncPeriod is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L39
const scaleCacheLoopPeriod is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L38
const scaleCacheEntryJitterFactor is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L37
const scaleCacheEntryFreshnessTime is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L36
const scaleCacheEntryLifetime is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/recommender/main.go#L35
const aggregateContainerStateGCInterval is unused (unused)
Run golangci-lint: vertical-pod-autoscaler/pkg/utils/metrics/resources/resources.go#L59
Error return value of `prometheus.Register` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/pkg/utils/metrics/quality/quality.go#L124
Error return value of `prometheus.Register` is not checked (errcheck)
Run golangci-lint: vertical-pod-autoscaler/pkg/utils/metrics/quality/quality.go#L123
Error return value of `prometheus.Register` is not checked (errcheck)