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

Azure / karpenter-provider-azure / 23127814146
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: eidolon/capacity-blocks-crd
DEFAULT BRANCH: main
Ran 16 Mar 2026 04:36AM UTC
Jobs 1
Files 155
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

16 Mar 2026 02:10AM UTC coverage: 93.853% (-0.001%) from 93.854%
23127814146

Pull #1531

github

comtalyst
feat: parse Savings Plan prices from Azure Retail Prices API

The Retail Prices API already returns savingsPlan data per SKU but
Karpenter's Item struct was silently dropping it. Now parsed and
stored alongside onDemandPrices and spotPrices.

Changes:
- Added SavingsPlanPrice struct and SavingsPlan field to Item
- Added savingsPlanPrices map to pricing Provider
- Added SavingsPlanPrice() public getter and UpdateSavingsPlanPricing()
- SP prices fetched in parallel with OnDemand and Spot
- Stores lowest RetailPrice across all SP terms (1Y, 3Y) per SKU
- 4 new unit tests

This enables future cost-aware offering selection: SKUs with SP
pricing can be ranked by effective cost rather than retail price,
benefiting customers with Savings Plan commitments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1531: feat: parse Savings Plan prices from Azure Retail Prices API

74 of 79 new or added lines in 2 files covered. (93.67%)

58812 of 62664 relevant lines covered (93.85%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
88.3
0.91% pkg/providers/pricing/pricing.go
Jobs
ID Job ID Ran Files Coverage
1 23127814146.1 16 Mar 2026 04:35AM UTC 155
93.85
GitHub Action Run
Source Files on build 23127814146
  • Tree
  • List 155
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1531
  • PR Base - main (#23029095617)
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