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

kubernetes-sigs / azuredisk-csi-driver / 43280066109
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: test/windows-2025-hostprocess
DEFAULT BRANCH: master
Ran 12 Nov 2026 06:32PM UTC
Jobs 1
Files 39
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

12 Nov 2026 06:23PM UTC coverage: 75.909% (+0.03%) from 75.882%
43280066109

Pull #3987

github

nearora-msft
fix: skip adapter 0 disks when listing Windows disk locations

On Windows host-process nodes, ListDiskLocations is meant to drop disks on
adapter 0 (OS and temp disks), since their LUN numbers overlap with Azure
data disk LUNs. The parser set found=false on "Adapter 0", but every later
field (Port/Target/LUN) reset found=true, so the OS disk was added to the
map with LUN 0.

On Gen2 VMs (e.g. Windows Server 2025) the OS disk is GPT and is not
filtered by the earlier MBR check, so FindDiskByLun("0") could return
disk 0 and NodeStageVolume would partition/mount the OS disk instead of
the data disk attached at LUN 0.

Move the location parsing into a shared parseDiskLocation helper that
decides on adapter 0 after all fields are parsed, use it from both the
PowerShell and CIM implementations, and add unit tests.
Pull Request #3987: fix: skip adapter 0 disks when listing Windows disk locations

30 of 30 new or added lines in 1 file covered. (100.0%)

5 existing lines in 1 file now uncovered.

6324 of 8331 relevant lines covered (75.91%)

16.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
92.72
-1.17% pkg/azuredisk/migration_monitor.go
Jobs
ID Job ID Ran Files Coverage
1 43280066109.1 12 Nov 2026 06:32PM UTC 39
75.91
GitHub Action Run
Source Files on build 43280066109
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3987
  • PR Base - master (#43149944293)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc