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

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

Build:
Build:
LAST BUILD BRANCH: garvinp-overlay-resolution-rfc
DEFAULT BRANCH: main
Ran 04 Jun 2026 04:53PM UTC
Jobs 1
Files 157
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

04 Jun 2026 04:37PM UTC coverage: 80.681% (+0.02%) from 80.657%
26965622586

Pull #2962

github

jamesmt-aws
refactor: extract candidateDisruptionCost to eliminate duplication

Disruption cost formula (1.0 per-node + sum(max(0, EvictionCost)))
was computed inline in three places. Extract into candidateDisruptionCost
and call from computeNodePoolTotals, ComputeMoveDisruptionCost, and
candidateSavingsRatio.
Pull Request #2962: feat: implement Balanced consolidation policy

314 of 393 new or added lines in 15 files covered. (79.9%)

17 existing lines in 3 files now uncovered.

12863 of 15943 relevant lines covered (80.68%)

116909.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
79.9
-12.07% pkg/controllers/disruption/events/events.go
17
88.99
pkg/controllers/disruption/balanced.go
13
83.65
-4.92% pkg/controllers/disruption/multinodeconsolidation.go
12
67.5
pkg/controllers/nodepool/consolidationpolicy/controller.go
5
89.91
-3.2% pkg/apis/v1/nodepool.go
1
0.0
0.0% pkg/controllers/controllers.go
1
87.08
0.45% pkg/controllers/disruption/helpers.go
1
92.55
-1.2% pkg/controllers/disruption/singlenodeconsolidation.go

Coverage Regressions

Lines Coverage ∆ File
6
89.91
-3.2% pkg/apis/v1/nodepool.go
6
96.94
5.68% pkg/controllers/disruption/consolidation.go
5
87.08
0.45% pkg/controllers/disruption/helpers.go
Jobs
ID Job ID Ran Files Coverage
1 26965622586.1 04 Jun 2026 04:53PM UTC 157
80.68
GitHub Action Run
Source Files on build 26965622586
  • Tree
  • List 157
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2962
  • PR Base - main (#26899386285)
  • 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