Skip to content

Optimize spiderpool leader lease election #1042

Optimize spiderpool leader lease election

Optimize spiderpool leader lease election #1042

Triggered via pull request September 18, 2024 08:30
Status Failure
Total duration 2m 28s
Artifacts 2

lint-golang.yaml

on: pull_request
Deduce required tests from code changes
4s
Deduce required tests from code changes
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
lint_SDK_and_build
non-boolean condition in if statement
lint_SDK_and_build
Process completed with exit code 2.
unittest
Process completed with exit code 1.
unittest
Process completed with exit code 2.
lint-golang: cmd/spiderpool-controller/cmd/runtime_status.go#L49
non-boolean condition in if statement (typecheck)
lint-golang: cmd/spiderpool-controller/main.go#L7
could not import github.com/spidernet-io/spiderpool/cmd/spiderpool-controller/cmd (-: # github.com/spidernet-io/spiderpool/cmd/spiderpool-controller/cmd
lint-golang: cmd/spiderpool-controller/cmd/runtime_status.go#L49
non-boolean condition in if statement) (typecheck)
lint-golang
issues found
lint-golang: cmd/spiderpool-controller/cmd/runtime_status.go#L49
non-boolean condition in if statement
lint-golang
Process completed with exit code 2.
lint-golang
Process completed with exit code 1.
Deduce required tests from code changes
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deduce required tests from code changes
'ref' input parameter is ignored when 'base' is set to HEAD
Deduce required tests from code changes
'base' input parameter is ignored when action is triggered by pull request event
lint_SDK_and_build
Restore cache failed: Dependencies file is not found in /home/runner/work/spiderpool/spiderpool. Supported file pattern: go.sum
unittest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unittest
Restore cache failed: Dependencies file is not found in /home/runner/work/spiderpool/spiderpool. Supported file pattern: go.sum
lint-golang
Restore cache failed: Dependencies file is not found in /home/runner/work/spiderpool/spiderpool. Supported file pattern: go.sum
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage.out", "unittestreport.json". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage.out Expired
197 KB
unittestreport.json Expired
2.96 MB