Skip to content

chore: make function comment match function name #1827

chore: make function comment match function name

chore: make function comment match function name #1827

Re-run triggered June 16, 2024 16:05
Status Success
Total duration 8m 51s
Artifacts

test.yaml

on: pull_request
Run tests defined for the project
8m 39s
Run tests defined for the project
Perform CodeQL analysis
3m 46s
Perform CodeQL analysis
Run editorconfig checker
4s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Run tests defined for the project
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: test/e2e/configure_orchestrator_test.go#L40
context.Context should be the first parameter of a function
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/wh_discovery.go#L32
exported func NewWebhookPool returns unexported type *discovery.webhookPool, 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: 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/stub.go#L61
parameter 'params' seems to be unused, consider removing or renaming it as _
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: test/e2e/e2e.go#L35
context.Context should be the first parameter of a function
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']