Skip to content

feat(plugins): Windows eBPF Plugin for retina #4390

feat(plugins): Windows eBPF Plugin for retina

feat(plugins): Windows eBPF Plugin for retina #4390

Triggered via pull request December 21, 2024 00:25
Status Failure
Total duration 5m 44s
Artifacts

golangci-lint.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L140
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L18
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L82
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/dropreasons_windows.go#L74
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L17
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Lint (windows, amd64): pkg/plugin/ebpfwindows/eventsmap_windows.go#L16
var-declaration: should drop = nil from declaration of var eventsCallback; it is the zero value (revive)
Lint (windows, amd64): pkg/plugin/ebpfwindows/metricsmap_windows.go#L75
var-declaration: should drop = nil from declaration of var enumCallBack; it is the zero value (revive)
Lint (windows, amd64): pkg/plugin/ebpfwindows/metricsmap_windows.go#L66
var-naming: var retinaEbpfApi should be retinaEbpfAPI (revive)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L231
Magic number: 80, in <argument> detected (mnd)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L232
Magic number: 1024, in <argument> detected (mnd)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L140
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L18
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L82
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/metricsmap_windows.go#L66
var-naming: var retinaEbpfApi should be retinaEbpfAPI (revive)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L17
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Lint (windows, arm64): pkg/plugin/ebpfwindows/eventsmap_windows.go#L16
var-declaration: should drop = nil from declaration of var eventsCallback; it is the zero value (revive)
Lint (windows, arm64): pkg/plugin/ebpfwindows/metricsmap_windows.go#L75
var-declaration: should drop = nil from declaration of var enumCallBack; it is the zero value (revive)
Lint (windows, arm64): pkg/plugin/ebpfwindows/dropreasons_windows.go#L74
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L231
Magic number: 80, in <argument> detected (mnd)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L232
Magic number: 1024, in <argument> detected (mnd)
Lint (windows, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (windows, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636