Skip to content

add await_consensus_block_proposal task #7

add await_consensus_block_proposal task

add await_consensus_block_proposal task #7

Triggered via push December 4, 2023 17:42
Status Failure
Total duration 28s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: pkg/coordinator/web/utils/templateFucs.go#L67
duration.Abs undefined (type time.Duration has no field or method Abs) (typecheck)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L177
Error return value is not checked (errcheck)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L63
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L67
return statements should not be cuddled if block has more than two lines (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L94
only one cuddle assignment allowed before go statement (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L95
return statements should not be cuddled if block has more than two lines (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L103
if statements should only be cuddled with assignments (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L119
ranges should only be cuddled with assignments used in the iteration (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L124
return statements should not be cuddled if block has more than two lines (wsl)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L129
expressions should not be cuddled with declarations or returns (wsl)
lint: pkg/coordinator/buildinfo/buildinfo.go#L11
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L21
var-naming: struct field lastEventId should be lastEventID (revive)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L62
var-naming: func parameter lastEventId should be lastEventID (revive)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L72
var-naming: func parameter lastEventId should be lastEventID (revive)
lint: pkg/coordinator/clients/consensus/rpc/eventstream/eventstream.go#L78
var-naming: func parameter lastEventId should be lastEventID (revive)