Skip to content

Addressing comment on PR #3480 #1205

Addressing comment on PR #3480

Addressing comment on PR #3480 #1205

Triggered via dynamic March 29, 2026 22:15
Status Success
Total duration 29m 10s
Artifacts

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

9 errors
copilot: pkg/cli/cmd/workload/validate_expansion_test.go#L172
empty: use assert.Empty (testifylint)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L308
calculated cyclomatic complexity for function parseTypedDefault is 11, max is 10 (cyclop)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L263
variable name 'ok' is too short for the scope of its usage (varnamelen)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L159
variable name 'ok' is too short for the scope of its usage (varnamelen)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L111
variable name 'v' is too short for the scope of its usage (varnamelen)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L107
avoid inline error handling using `if err := ...; err != nil`; use plain assignment `err := ...` (noinlineerr)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L215
`if match != nil && match[0] == val` has complex nested blocks (complexity: 5) (nestif)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L209
cognitive complexity 31 of func `expandStringValue` is high (> 30) (gocognit)
copilot: pkg/cli/cmd/workload/validate_expansion.go#L217
File is not properly formatted (gci)