Add REGO debugger to Mindev. #8159
Annotations
10 errors and 1 warning
golangci-lint:
internal/engine/eval/rego/debug.go#L64
cyclomatic complexity 46 of func `(*Evaluator).Debug` is high (> 15) (gocyclo)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L66
unused-parameter: parameter 'pol' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L67
unused-parameter: parameter 'entity' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L68
unused-parameter: parameter 'res' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L129
G104: Errors unhandled. (gosec)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L133
G104: Errors unhandled. (gosec)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L137
G104: Errors unhandled. (gosec)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L307
G115: integer overflow conversion uint64 -> int (gosec)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L329
G115: integer overflow conversion uint64 -> int (gosec)
|
golangci-lint:
internal/engine/eval/rego/debug.go#L386
printf: non-constant format string in call to fmt.Fprintf (govet)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading