Skip to content

Add new orchestrator capacities metric #2001

Add new orchestrator capacities metric

Add new orchestrator capacities metric #2001

Triggered via pull request October 14, 2024 12:43
Status Success
Total duration 10m 50s
Artifacts

test.yaml

on: pull_request
Run tests defined for the project
10m 42s
Run tests defined for the project
Perform CodeQL analysis
3m 49s
Perform CodeQL analysis
Run editorconfig checker
6s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Run tests defined for the project: cmd/livepeer_bench/livepeer_bench.go#L189
should replace realTimeSegCount += 1 with realTimeSegCount++
Run tests defined for the project: discovery/stub.go#L32
exported func StubOrchestratorPool returns unexported type *discovery.stubOrchestratorPool, which can be annoying to use
Run tests defined for the project: common/db.go#L457
redundant if ...; err != nil check, just return error instead.
Run tests defined for the project: discovery/stub.go#L61
parameter 'params' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: discovery/discovery.go#L49
exported func NewOrchestratorPoolWithPred returns unexported type *discovery.orchestratorPool, which can be annoying to use
Run tests defined for the project: discovery/discovery.go#L36
exported func NewOrchestratorPool returns unexported type *discovery.orchestratorPool, which can be annoying to use
Run tests defined for the project: discovery/discovery.go#L64
should omit 2nd value from range; this loop is equivalent to `for i := range ...`
Run tests defined for the project: eth/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
Run tests defined for the project: core/orch_test.go#L685
redefinition of the built-in function cap
Run tests defined for the project
Unexpected input(s) 'gcov_ignore', valid inputs are ['token', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'file', 'files', 'flags', 'git_service', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugin', 'plugins', 'report_code', 'root_dir', 'slug', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']