Skip to content

Add a test to reprocuce panic in clampResources #4801

Add a test to reprocuce panic in clampResources

Add a test to reprocuce panic in clampResources #4801

Triggered via pull request March 10, 2025 12:32
Status Failure
Total duration 2m 27s
Artifacts

lint.yml

on: pull_request
golangci-lint
2m 17s
golangci-lint
check go mod tidy
26s
check go mod tidy
check generated files
1m 56s
check generated files
check spelling with codespell
14s
check spelling with codespell
actionlint
22s
actionlint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: pkg/agent/core/goalcu.go#L41
calculateGoalCU - result 1 ([]go.uber.org/zap.Field) is never used (unparam)
golangci-lint: pkg/agent/core/state.go#L254
core.pluginRequested is missing field At (exhaustruct)
golangci-lint: pkg/agent/core/state.go#L796
ineffectual assignment to requestedUpscalingAffectedResult (ineffassign)
golangci-lint: pkg/agent/core/state.go#L866
commentedOutCode: may want to remove commented-out code (gocritic)
golangci-lint: pkg/agent/core/state.go#L869
commentedOutCode: may want to remove commented-out code (gocritic)
golangci-lint: pkg/agent/core/state_test.go#L236
core.Config is missing field DesiredResourcesHook (exhaustruct)
golangci-lint: pkg/agent/core/state_test.go#L329
core.Config is missing field DesiredResourcesHook (exhaustruct)
golangci-lint: pkg/agent/runner.go#L205
core.Config is missing field DesiredResourcesHook (exhaustruct)
golangci-lint: pkg/agent/runner_test.go#L8
File is not properly formatted (gci)
golangci-lint: pkg/agent/runner_test.go#L33
api.PluginResponse is missing field Migrate (exhaustruct)