Skip to content

GO-3985 Try to add perf tests #4073

GO-3985 Try to add perf tests

GO-3985 Try to add perf tests #4073

Triggered via pull request September 18, 2024 16:23
Status Failure
Total duration 4m 32s
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#L53
exitAfterDefer: os.Exit will exit, and `defer os.RemoveAll(prep.Workspace)` will not run (gocritic)
lint: cmd/perfstand/internal/util.go#L264
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/perfstand/account_create/main.go#L111
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
lint: cmd/perfstand/internal/util.go#L299
`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#L89
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)
lint: cmd/perfstand/account_select/main.go#L90
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)
lint: cmd/perfstand/account_select/main.go#L91
composites: github.com/anyproto/anytype-heart/cmd/perfstand/internal.Command struct literal uses unkeyed fields (govet)
lint
issues found