PMM-7 Fix datarace #4399
Triggered via pull request
September 26, 2023 12:52
Status
Success
Total duration
23m 23s
Artifacts
–
main.yml
on: pull_request
Checks
12m 32s
Slack Notification success
8s
Slack Notification failure
0s
Annotations
10 errors
Checks:
managed/services/agents/log_level.go#L25
Comment should end in a period (godot)
|
Checks:
managed/services/agents/log_level.go#L29
Comment should end in a period (godot)
|
Checks:
managed/services/agents/grpc/agent_server.go#L43
Comment should end in a period (godot)
|
Checks:
managed/services/management/ia/rules_service.go#L377
`if req.TemplateName != ""` has complex nested blocks (complexity: 7) (nestif)
|
Checks:
agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
|
Checks:
agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
|
Checks:
managed/services/telemetry/telemetry.go#L172
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
Checks:
managed/utils/envvars/parser.go#L72
Function name: ParseEnvVars, Cyclomatic Complexity: 50, Halstead Volume: 4134.40, Maintainability Index: 18 (maintidx)
|
Checks:
managed/services/inventory/grpc/nodes_server.go#L114
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|
Checks:
managed/services/inventory/grpc/nodes_server.go#L120
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|