build(deps): bump actions/upload-artifact from 5 to 6 #54
Annotations
10 errors
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L218
ineffectual assignment to lastErr (ineffassign)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L1312
cyclomatic complexity 16 of func `isKPIDefinitionClassMissingErr` is high (> 15) (gocyclo)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L1097
cyclomatic complexity 18 of func `(*WeaviateKPIStore).keywordSearch` is high (> 15) (gocyclo)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L111
cyclomatic complexity 17 of func `(*WeaviateKPIStore).CreateOrUpdateKPI` is high (> 15) (gocyclo)
|
|
Lint (golangci-lint):
internal/weavstore/mira_rca_store.go#L546
paramTypeCombine: func(ctx context.Context, query string, mode string, limit, offset int) ([]*MIRARCATask, int64, error) could be replaced with func(ctx context.Context, query, mode string, limit, offset int) ([]*MIRARCATask, int64, error) (gocritic)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L1218
assignOp: replace `snippet = snippet + "..."` with `snippet += "..."` (gocritic)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L565
unnamedResult: consider giving a name to these results (gocritic)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L66
paramTypeCombine: func(client *wv.Client, logger *zap.Logger, vectorizerProvider string, vectorizerModel string, vectorizerUseGPU bool) *WeaviateKPIStore could be replaced with func(client *wv.Client, logger *zap.Logger, vectorizerProvider, vectorizerModel string, vectorizerUseGPU bool) *WeaviateKPIStore (gocritic)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L199
string `updated` has 3 occurrences, but such constant `statusUpdated` already exists (goconst)
|
|
Lint (golangci-lint):
internal/weavstore/kpi_store.go#L225
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"create conflict: update also failed: %v (create err: %v)\", lastErr, err)" (err113)
|
Loading