Skip to content

fix: adds graph api to unload the ebpf hooks during unit test code co… #2

fix: adds graph api to unload the ebpf hooks during unit test code co…

fix: adds graph api to unload the ebpf hooks during unit test code co… #2

Triggered via push February 22, 2024 14:04
Status Failure
Total duration 59s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: pkg/hooks/structs/enums.go#L1
package-comments: should have a package comment (revive)
lint: pkg/hooks/structs/structs.go#L92
var-naming: don't use underscores in Go names; type Bpf_spin_lock should be BpfSpinLock (revive)
lint: pkg/hooks/structs/structs.go#L104
var-naming: struct field IpVersion should be IPVersion (revive)
lint: pkg/hooks/structs/enums.go#L12
exported: exported const EgressTraffic should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/hooks/structs/structs.go#L105
var-naming: struct field DestIp4 should be DestIP4 (revive)
lint: pkg/hooks/structs/structs.go#L106
var-naming: struct field DestIp6 should be DestIP6 (revive)
lint: pkg/hooks/structs/structs.go#L120
var-naming: struct field Ip6 should be IP6 (revive)
lint: pkg/hooks/structs/structs.go#L34
exported: comment on exported const EventBodyMaxSize should be of the form "EventBodyMaxSize ..." (revive)
lint: pkg/hooks/structs/structs.go#L51
exported: comment on exported type SocketDataEvent should be of the form "SocketDataEvent ..." (with optional leading article) (revive)
lint: pkg/platform/interface.go#L11
var-naming: interface method parameter lastSeenId should be lastSeenID (revive)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: pkg/hooks/settings/clock.go#L1
package-comments: should have a package comment (revive)
lint: pkg/hooks/settings/clock.go#L12
var-declaration: should drop = 0 from declaration of var realTimeOffset; it is the zero value (revive)
lint: pkg/models/postgres.go#L7
exported: comment on exported const ProtocolVersionNumber should be of the form "ProtocolVersionNumber ..." (revive)
lint: pkg/models/const.go#L9
exported: exported const NoSqlDB should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/models/mode.go#L14
exported: exported const MODE_RECORD should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/models/postgres.go#L9
exported: comment on exported type Backend should be of the form "Backend ..." (with optional leading article) (revive)
lint: pkg/models/http.go#L7
var-naming: type HttpReq should be HTTPReq (revive)
lint: pkg/models/testcase.go#L22
exported: exported const HTTP should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/models/testrun.go#L41
exported: exported const TestRunStatusRunning should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/models/mock.go#L51
exported: exported const FromServer should have comment (or a comment on this block) or be unexported (revive)