• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / karpenter / 20977091319
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: consolidation-pipeline-logging
DEFAULT BRANCH: main
Ran 14 Jan 2026 12:15AM UTC
Jobs 1
Files 153
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

14 Jan 2026 12:01AM UTC coverage: 80.697% (+0.04%) from 80.662%
20977091319

Pull #2782

github

ellistarn
refactor: simplify ToNodeClaim using Offerings and InstanceTypes methods

Add reusable methods to cloudprovider types:
- Offerings.CapacityTypes() - returns unique capacity types
- InstanceTypes.HasPricingOverlay() - checks for pricing overlay
- InstanceTypes.HasCapacityOverlay() - checks for capacity overlay

Simplify ToNodeClaim by using existing Offerings.Available().Compatible()
chain instead of manual nested loops, reducing cyclomatic complexity.
Pull Request #2782: refactor: simplify ToNodeClaim using Offerings and InstanceTypes methods

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

30 existing lines in 3 files now uncovered.

12011 of 14884 relevant lines covered (80.7%)

120234.4 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.75
4.28% pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go
8
95.1
0.14% pkg/cloudprovider/types.go
20
87.12
0.0% pkg/controllers/state/statenode.go
Jobs
ID Job ID Ran Files Coverage
1 20977091319.1 14 Jan 2026 12:15AM UTC 153
80.7
GitHub Action Run
Source Files on build 20977091319
  • Tree
  • List 153
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2782
  • PR Base - main (#20977284379)
  • Delete
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