Skip to content

feat: implemented fallback mechanism for when CNI does not provide an… #20296

feat: implemented fallback mechanism for when CNI does not provide an…

feat: implemented fallback mechanism for when CNI does not provide an… #20296

Triggered via pull request June 5, 2026 22:12
Status Failure
Total duration 7m 41s
Artifacts 1

golangci.yaml

on: pull_request
Generate BPF Handling Code
57s
Generate BPF Handling Code
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 notice
Lint (ubuntu-latest)
issues found
Lint (ubuntu-latest): cni/network/network_linux_test.go#L282
string `20.240.0.4/24` has 3 occurrences, make it a constant (goconst)
Lint (windows-latest): network/policy/policy_windows.go#L338
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
Lint (windows-latest): network/network_windows_test.go#L611
require-error: for error assertions use require (testifylint)
Lint (windows-latest): network/network_windows_test.go#L583
require-error: for error assertions use require (testifylint)
Lint (windows-latest): network/network_windows.go#L284
ST1005: error strings should not be capitalized (staticcheck)
Lint (windows-latest): network/policy/policy_windows.go#L327
File is not properly formatted (gofumpt)
Lint (windows-latest): network/network_windows_test.go#L593
importShadow: shadow of imported from 'github.com/stretchr/testify/assert' package 'assert' (gocritic)
Lint (windows-latest): network/network_windows_test.go#L565
importShadow: shadow of imported from 'github.com/stretchr/testify/assert' package 'assert' (gocritic)
Lint (windows-latest): cni/network/network_windows_test.go#L1113
string `10.240.0.4/24` has 3 occurrences, make it a constant (goconst)
Lint (windows-latest): cni/network/network_windows_test.go#L1032
string `20.240.0.4/24` has 3 occurrences, make it a constant (goconst)
Lint (windows-latest): network/network_windows.go#L279
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"PrimaryInterfaceIdentifier %q is not a valid IP or CIDR\", primaryInterfaceIdentifier)" (err113)
Lint (windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
generated-bpf-program-code
73.3 KB
sha256:c191391334d3fc6d2b10b0854dbd84ef699389635d3224c35da3cd5bc0da215e