Skip to content

Go 4147 divide any store indexes per space #4172

Go 4147 divide any store indexes per space

Go 4147 divide any store indexes per space #4172

Triggered via pull request September 27, 2024 12:29
Status Failure
Total duration 4m 48s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: core/block/editor/smartblock/smartblock.go#L1238
Error return value of `sb.objectStore.FetchRelationByLinks` is not checked (errcheck)
lint: core/indexer/indexer.go#L295
Error return value of `store.DeleteDetails` is not checked (errcheck)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L111
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
lint: core/indexer/fulltext.go#L213
`if ft != nil` has complex nested blocks (complexity: 6) (nestif)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L26
var `ctx` is unused (unused)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L32
const `spaceName` is unused (unused)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L110
func `generateObjectWithRandomID` is unused (unused)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L118
func `makeObjectWithName` is unused (unused)
lint: pkg/lib/localstore/objectstore/spaceobjects/fixture.go#L126
func `makeObjectWithNameAndDescription` is unused (unused)
lint: pkg/lib/localstore/objectstore/spaceobjects/store.go#L100
field `initErr` is unused (unused)