docs(disk-hygiene): record that Get-DiskImage reads running WSL disks as detached - #5643
Merged
Merged
Conversation
kyle-sexton
marked this pull request as ready for review
October 1, 2026 01:17
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
Claude finished @kyle-sexton's task in 1m 22s —— View job Code review complete
Scope: doc-only change ( What I checked:
No correctness or maintainability issues found in the changed lines. |
Contributor
|
Claude finished @kyle-sexton's task in 26s —— View job Claude finished the security review
Skip gate applied — no security review performed. This PR has no security-relevant surface:
No CRITICAL / IMPORTANT / SUGGESTION findings to report. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5642
Summary
On Windows,
Get-DiskImagereportsdetachedfor disks that WSL2 and Docker Desktop hold open through their own virtual machine (a running distro'sext4.vhdx,docker_data.vhdx,swap.vhdx). Adetachedanswer therefore does not mean the image is unused. TheGet-DiskImagerecord in the safety model had no Windows observation.Fix
safety-model.mddocuments the limit:detachedis a reporting caveat, the image keepsvirtual-diskand the block, nothing becomes deletable, and the record is now observed on Windows (attachedplus drive letter for a host-mounted VHDX,detachedfor the WSL and Docker disks, an error forinitrd.img). The plugin patch version goes to 0.41.3 with a matching CHANGELOG entry. No code changes.Verification
scripts/check-changelog-parity.sh --check,--check-bump origin/mainand--check-orderpass.python3 -m unittest discover -s plugins/disk-hygiene/skills/clean/scripts -p 'test_hygiene.py': 674 tests, OK (1 skipped).Related
Parent investigation: #5228 (operator observation on melo-desk-001, comment 5922688274).
🤖 Generated with Claude Code