Skip to content

gbn: set resend timeout dynamically #366

gbn: set resend timeout dynamically

gbn: set resend timeout dynamically #366

Triggered via pull request November 9, 2023 10:47
Status Failure
Total duration 7m 36s
Artifacts 1

main.yml

on: pull_request
Matrix: run unit tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
lint code: gbn/gbn_client.go#L98
declarations should never be cuddled (wsl)
lint code: gbn/gbn_conn.go#L417
return statements should not be cuddled if block has more than two lines (wsl)
lint code: gbn/gbn_conn.go#L457
only cuddled expressions if assigning variable or using from line above (wsl)
lint code: gbn/gbn_server.go#L82
declarations should never be cuddled (wsl)
lint code: gbn/queue.go#L138
assignments should only be cuddled with other assignments (wsl)
lint code: gbn/queue.go#L140
return statements should not be cuddled if block has more than two lines (wsl)
lint code: gbn/gbn_conn.go#L409
calculated cyclomatic complexity for function resendQueue is 11, max is 10 (cyclop)
lint code: gbn/gbn_conn.go#L456
mnd: Magic number: 7, in <argument> detected (gomnd)
lint code: gbn/gbn_conn.go#L818
mnd: Magic number: 2, in <argument> detected (gomnd)
lint code: gbn/gbn_conn.go#L466
break with no blank line before (nlreturn)
run itests
Process completed with exit code 2.
run unit tests (unit)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run unit tests (unit-race)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build package and wasm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run itests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
logs-itest Expired
22 Bytes