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

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

Build:
Build:
LAST BUILD BRANCH: matthchr/skus-controller
DEFAULT BRANCH: main
Ran 08 Mar 2026 05:41AM UTC
Jobs 1
Files 158
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 Mar 2026 05:28AM UTC coverage: 94.052% (-0.2%) from 94.231%
22814775938

Pull #1455

github

comtalyst
refactor: extract shared field-clearing functions, add realistic batch tests

Address PR review comments:

1. Extract clearPerMachineFields() and clearReadOnlyFields() as shared
   functions used by both computeTemplateHash and Coordinator.ExecuteBatch.
   Adding a new per-machine field requires updating one function, and both
   the hash and body-clearing automatically pick it up.

2. Remove creationtimestamp tag from TestComputeTemplateHash_TagsExcluded
   (tag being deprecated in a separate PR).

3. Add production-like pressure tests:
   - realisticMachineProps() builds fully-populated MachineProperties
     matching buildAKSMachineTemplate output
   - TestComputeTemplateHash_RealisticMachinesBatchTogether: 10 machines
     with same config but different names/zones/tags produce same hash
   - TestComputeTemplateHash_RealisticMachinesDifferentConfigsSplit:
     table-driven test verifying 8 config dimensions produce distinct hashes
   - TestGrouperBatchesRealisticMixedWorkload: 10 machines across 3 configs
     (D4s regular, D8s regular, D4s spot) land in correct batches

4. Add TestClearFieldFunctions_MatchExcludeList: verifies the clear
   functions zero exactly the expected fields and leave template fields
   untouched.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1455: feat: AKS machine creation batching mode

326 of 474 new or added lines in 9 files covered. (68.78%)

24 existing lines in 1 file now uncovered.

59121 of 62860 relevant lines covered (94.05%)

0.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
66.67
pkg/providers/instance/batch/context.go
10
79.59
pkg/providers/instance/batch/client.go
12
91.18
pkg/providers/instance/batch/coordinator.go
19
86.23
pkg/providers/instance/batch/grouper.go
21
91.67
-8.33% pkg/test/environment.go
24
71.43
-4.44% pkg/providers/instance/aksmachineinstance.go
54
78.67
-13.11% pkg/fake/aksmachinesapi.go

Uncovered Existing Lines

Lines Coverage ∆ File
24
89.07
0.0% pkg/providers/instance/aksmachineinstancehelpers.go
Jobs
ID Job ID Ran Files Coverage
1 22814775938.1 08 Mar 2026 05:41AM UTC 158
94.05
GitHub Action Run
Source Files on build 22814775938
  • Tree
  • List 158
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1455
  • PR Base - comtalyst/get-based-poller (#22813227598)
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