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

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

Build:
Build:
LAST BUILD BRANCH: pablotrivino/listpoller
DEFAULT BRANCH: main
Ran 05 Mar 2026 10:39AM UTC
Files 155
Run time 4s
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.1

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

58585 of 62157 relevant lines covered (94.25%)

0.96 hits per line

Source Files on job 22713622188.1
  • Tree
  • List 155
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22713622188
  • 96650762 on github
  • Prev Job for on comtalyst/vm-path-refactor (#22708773305.1)
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