Optimize spiderpool leader lease election #1045
lint-golang.yaml
on: pull_request
Deduce required tests from code changes
2s
Annotations
11 errors and 8 warnings
lint-golang:
pkg/gcmanager/pod_informer.go#L85
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang:
pkg/gcmanager/pod_informer.go#L111
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang:
pkg/gcmanager/pod_informer.go#L138
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang
issues found
|
lint-golang:
pkg/gcmanager/pod_informer.go#L85
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang:
pkg/gcmanager/pod_informer.go#L111
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang:
pkg/gcmanager/pod_informer.go#L138
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint-golang
Process completed with exit code 2.
|
lint-golang
Process completed with exit code 1.
|
unittest
Process completed with exit code 1.
|
unittest
Process completed with exit code 2.
|
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
|
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/
|
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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage.out
Expired
|
197 KB |
|
unittestreport.json
Expired
|
2.96 MB |
|