feat(disk): add dedicated Disk Repair page with CHKDSK support#81
Conversation
Extract repair functionality (DISM, SFC) from Disk Analyzer into its own Disk Repair page under the Disk Tools sidebar menu. Add CHKDSK /scan as a new repair tool for checking file system errors. Cards use a full-width horizontal layout with the run button on the right. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eaefda3e1a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
CHKDSK uses exit codes 0-2 for successful completions (no errors, errors fixed, cleanup performed). Only code 3+ indicates failure. Previously all nonzero codes were treated as failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Re: P1 (CHKDSK exit codes) — Fixed in 697f605. CHKDSK exit codes 0–2 are now treated as successful completions, with explicit summary messages for code 1 (errors found & fixed) and code 2 (cleanup performed). Only code 3+ marks as failed. Re: P2 (environment IPC endpoints) — Those lines are not part of this PR. They're pre-existing uncommitted changes in the working directory from another branch of work. The diff on GitHub shows them because the remote branch picked up a rebase — only the |
These endpoints were accidentally included via a stash/rebase cycle and belong to a separate branch of work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Changes
DiskRepairPage.tsx— standalone page with DISM, SFC, and CHKDSK cards/disk-repairroute, import, and page titlerunChkdsk()backend handler + IPC registrationDISK_REPAIR_CHKDSKchanneltoolunion to include'chkdsk'chkdskResultstate and setterdiskRepairChkdskAPI bindingTest plan
🤖 Generated with Claude Code