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

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

Build:
Build:
LAST BUILD BRANCH: muribefalcon/updating-gpu-list
DEFAULT BRANCH: main
Ran 05 Mar 2026 10:39AM 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

05 Mar 2026 10:28AM UTC coverage: 94.253%. Remained the same
22713622188

Pull #1483

github

comtalyst
refactor: split VM instance monolith into focused files, eliminate launchtemplate.Provider

Split the 1,089-line vminstance.go monolith into focused files matching the
AKS Machine path pattern:

- vminstance.go (~583 lines): VMProvider interface, struct, constructor,
  BeginCreate, Get, List, Delete, Update, NIC CRUD, promise, beginLaunchInstance
- vminstancehelpers.go (~402 lines): buildVMTemplate() + configure* helpers +
  resolveBootstrapAndImageData() + extension spec builders
- vminstanceutils.go (~198 lines): BuildNodeClaimFromVM(), utility functions,
  priority mappings, extension helpers
- vminstancenic.go (~173 lines): NIC construction with buildAndCreateNIC()
  orchestrator

Key changes:
- Eliminate launchtemplate.Provider intermediate abstraction; inline its logic
  into DefaultVMProvider via resolveBootstrapAndImageData()
- Replace 7-layer parameter threading (options → StaticParameters → Parameters
  → Template → createVMOptions → Azure API) with direct configure* helpers
- Move BuildNodeClaimFromVM from cloudprovider to instance package (parallels
  BuildNodeClaimFromAKSMachine)
- NIC code takes subnetID/tags directly instead of *launchtemplate.Template
- Delete pkg/providers/launchtemplate/launchtemplate.go (tags.go and
  parameters/ remain as shared code)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1483: refactor: split VM instance monolith, eliminate launchtemplate.Provider

487 of 526 new or added lines in 6 files covered. (92.59%)

58585 of 62157 relevant lines covered (94.25%)

0.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
83.72
-5.43% pkg/providers/instance/vminstance.go
3
96.77
pkg/providers/instance/vminstanceutils.go
10
90.38
pkg/providers/instance/vminstancenic.go
24
91.64
pkg/providers/instance/vminstancehelpers.go
Jobs
ID Job ID Ran Files Coverage
1 22713622188.1 05 Mar 2026 10:39AM UTC 155
94.25
GitHub Action Run
Source Files on build 22713622188
  • Tree
  • List 155
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1483
  • PR Base - comtalyst/test-reunification (#22708773305)
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