Skip to content

TT-10413 Poc/processors #183

TT-10413 Poc/processors

TT-10413 Poc/processors #183

Triggered via pull request August 1, 2024 15:23
Status Failure
Total duration 3m 2s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: trace/sprocessor/tyk_processor.go#L75
Error return value of `r.Shutdown` is not checked (errcheck)
lint: trace/sprocessor/tyk_processor.go#L121
Error return value of `r.exporter.ExportSpans` is not checked (errcheck)
lint: trace/sprocessor/tyk_processor.go#L139
Error return value of `r.exporter.ExportSpans` is not checked (errcheck)
lint: trace/sprocessor/tyk_processor.go#L147
Error return value of `r.RecordHit` is not checked (errcheck)
lint: trace/span_processor.go#L11
line is 135 characters (lll)
lint: trace/sprocessor/mpsc.go#L97
field `mu` is unused (unused)
lint: trace/sprocessor/tyk_processor.go#L52
only one cuddle assignment allowed before for statement (wsl)
lint: trace/sprocessor/tyk_processor.go#L70
return statements should not be cuddled if block has more than two lines (wsl)
lint: trace/sprocessor/tyk_processor.go#L78
return statements should not be cuddled if block has more than two lines (wsl)
lint: trace/sprocessor/tyk_processor.go#L102
only cuddled expressions if assigning variable or using from line above (wsl)
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/