• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

elastic / cloudbeat / 16827004459
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: renovate/main-github.com-hashicorp-nomad-api-digest
DEFAULT BRANCH: main
Ran 08 Aug 2025 09:44AM UTC
Jobs 1
Files 228
Run time 327min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Aug 2025 09:20AM UTC coverage: 76.127% (+0.04%) from 76.084%
16827004459

Pull #3512

github

orestisfl
NewLeaderElector: Remove nil k8s client check

Pulling this change out from my work on #3442 to simplify the PR.

There are two points that call NewLeaderElector: `benchmark/k8s.go` and
`benchmark/eks.go`. Both provide the `kubeClient` argument that is
received by `ClientProvider.GetClient`. Diggining in `GetClient`, it
ultimately comes from `kubernetes.GetKubernetesClient()` which only
returns a `nil` client when `err != nil` which means that
`NewLeaderElector` can never receive a nil client.

Removes the `DefaultUniqueManager` and simplifies the leader election logic.
The `NewLeaderElector` function will now always return a
`LeaderelectionManager` and will not fall back to a default manager.
Pull Request #3512: NewLeaderElector: Remove nil k8s client check

2 of 2 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

9471 of 12441 relevant lines covered (76.13%)

16.61 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
83.06
0.33% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 16827004459.1 08 Aug 2025 09:44AM UTC 228
76.13
GitHub Action Run
Source Files on build 16827004459
  • Tree
  • List 228
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3512
  • PR Base - main (#16751400966)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc