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

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

Build:
Build:
LAST BUILD BRANCH: matthchr/skus-controller
DEFAULT BRANCH: main
Ran 13 Mar 2026 12:45AM UTC
Jobs 1
Files 160
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

13 Mar 2026 12:34AM UTC coverage: 93.622% (-0.02%) from 93.644%
23030618179

Pull #1515

github

comtalyst
fix: preserve primary machine's tags and zones in batch PUT body

The batch coordinator was stripping per-machine fields (tags, zones) from
the PUT body for ALL machines, including the primary. The RP's
PrepareBatchMachines creates the primary from the body and only applies
header fields to non-primary clones. The primary's header entry was
silently discarded by cleanUpInvalidDuplicateMachinesAndZones (which
pre-seeds "seen" with the PUT URL machine name).

Result: in every batch, the first machine lost its ownership tag
(karpenter.azure.com_aksmachine_nodeclaim), all custom tags, and its
zone assignment. This broke garbage collection, crash-recovery, and
zone topology spread for the primary machine.

Fix: send the primary's original template as the PUT body (tags/zones
intact) and exclude the primary from the BatchPutMachine header's
batchMachines array. Non-primary machines continue to get their
per-machine fields from the header.

Refs: Azure/karpenter-poc#1028

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1515: fix: preserve primary machine tags and zones in batch PUT body

18 of 41 new or added lines in 2 files covered. (43.9%)

3 existing lines in 2 files now uncovered.

59141 of 63170 relevant lines covered (93.62%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
23
76.03
-2.64% pkg/fake/aksmachinesapi.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.03
-2.64% pkg/fake/aksmachinesapi.go
2
92.31
-7.69% pkg/fake/pricingapi.go
Jobs
ID Job ID Ran Files Coverage
1 23030618179.1 13 Mar 2026 12:45AM UTC 160
93.62
GitHub Action Run
Source Files on build 23030618179
  • Tree
  • List 160
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1515
  • PR Base - comtalyst/batch-system (#22931399085)
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