Skip to content

graphdb batch writer resiliency #1336

graphdb batch writer resiliency

graphdb batch writer resiliency #1336

Triggered via pull request November 28, 2024 14:14
Status Failure
Total duration 8m 30s
Artifacts

linter.yml

on: pull_request

Annotations

10 errors and 1 warning
linter: pkg/kubehound/storage/graphdb/janusgraph_edge_writer.go#L78
cognitive complexity 43 of func `(*JanusGraphEdgeWriter).startBackgroundWriter` is high (> 30) (gocognit)
linter: pkg/kubehound/storage/graphdb/janusgraph_vertex_writer.go#L89
cognitive complexity 43 of func `(*JanusGraphVertexWriter).startBackgroundWriter` is high (> 30) (gocognit)
linter: pkg/kubehound/storage/graphdb/janusgraph_edge_writer.go#L97
`if err != nil` has complex nested blocks (complexity: 9) (nestif)
linter: pkg/kubehound/storage/graphdb/janusgraph_vertex_writer.go#L108
`if err != nil` has complex nested blocks (complexity: 9) (nestif)
linter: pkg/kubehound/storage/graphdb/errors.go#L7
the error type name `errBatchWriter` should conform to the `xxxError` format (errname)
linter: pkg/kubehound/storage/graphdb/janusgraph_edge_writer.go#L86
return with no blank line before (nlreturn)
linter: pkg/kubehound/storage/graphdb/janusgraph_edge_writer.go#L92
return with no blank line before (nlreturn)
linter: pkg/kubehound/storage/graphdb/janusgraph_edge_writer.go#L121
continue with no blank line before (nlreturn)
linter: pkg/kubehound/storage/graphdb/janusgraph_vertex_writer.go#L97
return with no blank line before (nlreturn)
linter: pkg/kubehound/storage/graphdb/janusgraph_vertex_writer.go#L132
continue with no blank line before (nlreturn)
linter
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeHound/KubeHound. Supported file pattern: go.sum