Skip to content

GO-3985 Try to add perf tests #4062

GO-3985 Try to add perf tests

GO-3985 Try to add perf tests #4062

Triggered via pull request September 17, 2024 21:03
Status Failure
Total duration 4m 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cmd/perfstand/account_create/main.go#L116
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: cmd/perfstand/account_select/main.go#L45
exitAfterDefer: os.Exit will exit, and `defer os.RemoveAll(prep.workspace)` will not run (gocritic)
lint: cmd/perfstand/account_create/main.go#L111
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
lint: cmd/perfstand/account_select/main.go#L163
`if currentOperation != ""` has complex nested blocks (complexity: 5) (nestif)
lint: cmd/perfstand/account_create/main.go#L149
Consider pre-allocating `events` (prealloc)
lint: cmd/perfstand/account_select/main.go#L241
Consider pre-allocating `events` (prealloc)
lint: cmd/perfstand/account_select/main.go#L17
field `staging` is unused (unused)
lint: cmd/perfstand/account_select/main.go#L188
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)
lint: cmd/perfstand/account_select/main.go#L189
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)
lint: cmd/perfstand/account_select/main.go#L190
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)