Skip to content

Filter WMI disk identity rechecks - #12

Merged
cmendesvdl merged 1 commit into
mainfrom
perf/filter-wmi-disk-rechecks
Oct 10, 2026
Merged

cmendesvdl merged 1 commit into
mainfrom
perf/filter-wmi-disk-rechecks

Conversation

@cmendesvdl

Copy link
Copy Markdown
Collaborator

Summary

  • Push the disk index predicate into the Win32_DiskDrive CIM query during pre-format and post-format identity rechecks.
  • Preserve the existing PnP ID and device-state validation while avoiding retrieval of unrelated disk records at those checkpoints.
  • Add Pester coverage for the targeted query and fail-closed behavior when identity changes.
  • Keep the root and ConfigMgr package script copies and checksum manifest synchronized.

Validation

  • build/Invoke-Validation.ps1 (71 tests passed; PSScriptAnalyzer, parsing, parity, and checksums passed).

Limit pre-format and post-format Win32_DiskDrive queries to the selected disk index while preserving the existing identity checks.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@cmendesvdl
cmendesvdl merged commit 0649a0d into main Oct 10, 2026
2 checks passed
@cmendesvdl
cmendesvdl deleted the perf/filter-wmi-disk-rechecks branch October 10, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants