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

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

Build:
Build:
LAST BUILD BRANCH: fix/daemonset-instance-type-scheduling
DEFAULT BRANCH: main
Ran 08 Jun 2026 06:45PM UTC
Jobs 1
Files 156
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

08 Jun 2026 06:30PM UTC coverage: 80.901% (+0.2%) from 80.657%
27158593610

Pull #2962

github

jamesmt-aws
refactor: ScoreResult stores only fundamental data, derives the rest

Replace 6-field BalancedScoreResult with 3-field ScoreResult. Score,
Threshold, and Approved are now methods computed from SavingsFraction,
DisruptionFraction, and K. Matches the codebase pattern where Offering
derives Zone/CapacityType from Requirements, and InstanceType derives
Allocatable from Capacity and Overhead.

Removes the k=0 special case in ScoreMove. EvaluateBalancedMove
returns (ScoreResult, bool, map) where the bool is the allApproved
conjunction.
Pull Request #2962: feat: implement Balanced consolidation policy

300 of 325 new or added lines in 10 files covered. (92.31%)

11 existing lines in 4 files now uncovered.

12792 of 15812 relevant lines covered (80.9%)

128089.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
93.68
pkg/controllers/disruption/balanced.go
8
87.42
-1.15% pkg/controllers/disruption/multinodeconsolidation.go
2
87.08
0.45% pkg/controllers/disruption/helpers.go
2
98.8
-1.2% pkg/controllers/disruption/types.go
1
92.55
-1.2% pkg/controllers/disruption/singlenodeconsolidation.go

Coverage Regressions

Lines Coverage ∆ File
5
97.06
5.8% pkg/controllers/disruption/consolidation.go
3
84.48
-5.17% pkg/controllers/disruption/emptiness.go
2
83.26
-0.93% pkg/controllers/disruption/validation.go
1
92.55
-1.2% pkg/controllers/disruption/singlenodeconsolidation.go
Jobs
ID Job ID Ran Files Coverage
1 27158593610.1 08 Jun 2026 06:45PM UTC 156
80.9
GitHub Action Run
Source Files on build 27158593610
  • Tree
  • List 156
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
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