• 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

oracle / karpenter-provider-oci / 41969632212
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: fix/npn-create-leak
DEFAULT BRANCH: main
Ran 05 Nov 2026 04:13PM UTC
Jobs 1
Files 71
Run time 1min
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

05 Nov 2026 04:44AM UTC coverage: 82.658% (+1.6%) from 81.073%
41969632212

Pull #106

github

wulifu2hao
refactor(npnrecovery): read NPNs through the cached client

Use kubeClient instead of an uncached apiReader to look up NativePodNetworks,
as suggested in review, so frequent reconciles do not hit the API server. The
vcn-native-ip-cni role KPO is bound to already grants list and watch, so the
informer needs no new RBAC. A stale cache miss is harmless because the Create
that follows ignores AlreadyExists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #106: fix: recreate missing NPNs in a recovery controller

73 of 94 new or added lines in 5 files covered. (77.66%)

235 existing lines in 9 files now uncovered.

5920 of 7162 relevant lines covered (82.66%)

0.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
78.31
pkg/controllers/npnrecovery/controller.go
2
0.0
0.0% cmd/main.go
1
79.41
4.83% pkg/cloudprovider/cloud_provider.go

Coverage Regressions

Lines Coverage ∆ File
97
79.41
4.83% pkg/cloudprovider/cloud_provider.go
62
84.61
4.93% pkg/providers/instancetype/provider.go
31
82.69
-4.08% pkg/operator/options/options.go
22
79.46
2.66% pkg/cloudprovider/drift.go
11
93.23
0.01% pkg/providers/instance/provider.go
5
78.87
0.0% pkg/operator/operator.go
3
0.0
0.0% cmd/main.go
3
82.35
24.14% pkg/providers/instancetype/instance_type.go
1
98.77
0.0% pkg/metrics/metrics.go
Jobs
ID Job ID Ran Files Coverage
1 41969632212.1 05 Nov 2026 04:13PM UTC 71
82.66
GitHub Action Run
Source Files on build 41969632212
  • Tree
  • List 71
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #106
  • PR Base - main (#37665240774)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc