Pulse/pkg/diskinventory
Pulse Test 674ca18968 fix(unifiedresources): merge PVE and agent rows for the same RAID array volume
The PVE disks/list poll and the agent SMART report both observe a RAID
controller's exported volume, but PVE surfaces its NAA identifier as a
bare-hex serial while smartctl reports the same value as a naa.-prefixed
WWN with no serial. The linked-disk join compared serial to serial and
WWN to WWN verbatim, so the volume rendered twice (/dev/sda and sda)
with independent metric histories.

Hardware identity comparison now normalizes reporter framing (naa., eui.,
wwn-, 0x prefixes, case) and folds serial and WWN together before
comparing. Values are never truncated: sibling volumes on one controller
share their leading WWN bytes, and a truncated udev ID_WWN must stay
unequal to a full identifier. Placeholder serials no longer count as an
identity match.

Refs #1720
2026-08-28 06:20:10 +01:00
..
identity.go fix(unifiedresources): merge PVE and agent rows for the same RAID array volume 2026-08-28 06:20:10 +01:00
identity_test.go fix(unifiedresources): merge PVE and agent rows for the same RAID array volume 2026-08-28 06:20:10 +01:00
status.go Integrate trust-gate reliability fixes 2026-07-20 16:03:29 +01:00
status_clone_branchcov0720pm_test.go Add focused branch coverage and repair infrastructure source contract 2026-07-20 22:41:19 +01:00
status_test.go Integrate trust-gate reliability fixes 2026-07-20 16:03:29 +01:00