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

kubernetes-sigs / cloud-provider-azure / 22798670797
75%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2026 12:18PM UTC
Jobs 1
Files 95
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 09:08AM UTC coverage: 74.954% (+0.02%) from 74.934%
22798670797

push

github

web-flow
feat: implement tagsList-based Interconnect Group ID retrieval from IMDS (#9999)

* Implement TagsList-based Interconnect Group ID retrieval from IMDS

This commit implements the actual IMDS parsing logic to retrieve the
Platform Interconnect Group ID from Azure instance metadata using the
tagsList field.

Implementation changes:
- Add TagNameInterconnectGroup constant for the IMDS tag name
- Add Tag struct to represent IMDS tag key-value pairs
- Add TagsList field to ComputeMetadata struct for JSON unmarshaling
- Implement GetInterconnectGroupID to parse tagsList and extract
  Platform_Interconnect_Group tag value
- Add comprehensive tests with HTTP mock server:
  * Tag present in tagsList
  * Tag absent from tagsList
  * Empty tagsList
  * UseInstanceMetadata disabled

Test updates:
- Update TestNodeInitialized and TestUpdateCloudNode to verify
  Interconnect Group labeling alongside PlatformSubFaultDomain
- Tests return actual group IDs and validate labels are set correctly

This builds on the infrastructure from PR #9559 which added the label
constant and placeholder function.

* fix: address review feedback for Interconnect Group ID retrieval

---------

Co-authored-by: wtao <wtao@microsoft.com>

14266 of 19033 relevant lines covered (74.95%)

858.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
29
79.88
0.68% provider/azure_instance_metadata.go
Jobs
ID Job ID Ran Files Coverage
1 22798670797.1 07 Mar 2026 12:18PM UTC 95
74.95
GitHub Action Run
Source Files on build 22798670797
  • Tree
  • List 95
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22798670797
  • 70319ac6 on github
  • Prev Build on master (#22702765564)
  • Next Build on master (#22802297101)
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