Skip to content

ATP v3 refactor

ATP v3 refactor #198

Triggered via pull request October 5, 2023 17:17
Status Failure
Total duration 38s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 2 warnings
golangci-lint: atp/client.go#L323
Function 'executeReadLoop' has too many statements (41 > 40) (funlen)
golangci-lint: atp/server.go#L160
Function 'runATPReadLoop' has too many statements (50 > 40) (funlen)
golangci-lint: atp/protocol_test.go#L615
Function 'TestProtocol_Error_Client_WorkStart' is too long (63 > 60) (funlen)
golangci-lint: atp/client.go#L190
Comment should end in a period (godot)
golangci-lint: atp/client.go#L318
File is not `gofmt`-ed with `-s` (gofmt)
golangci-lint: atp/server.go#L119
`if wasError` has complex nested blocks (complexity: 6) (nestif)
golangci-lint: atp/server.go#L140
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: atp/server.go#L268
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: atp/server.go#L298
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: atp/server.go#L345
ineffectual assignment to err (ineffassign)
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go generate
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go test
Cannot open: File exists
go generate
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
go test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
test-results Expired
372 KB