Fix WinGet deployment conflicts and RPC recovery - #133
Merged
Merged
Conversation
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
Review effort: Lite
Findings: 2
Open (3)
What changed in this PR
Fixes WinGet/App Installer setup robustness in Windows Dev Config by avoiding unnecessary dependency deployments, surfacing real deployment errors, and improving RPC recovery behavior across PowerShell editions.
Changes:
- Filter dependency packages to skip redeploying already-satisfied AppX dependencies (avoids
0x80073D02conflicts). - Switch deployment failure reporting to
Write-Errorto avoid CLIXML masking of the underlying AppX error. - Broaden WinGet readiness RPC recovery to trigger by HRESULT across exception types (including Windows PowerShell 5.1), and document dependency reuse.
| File | Description |
|---|---|
| src/windows-dev-config/steps/_winget.ps1 | Filters dependency installs, improves error emission, and refines RPC-ready checks based on HRESULT. |
| src/windows-dev-config/README.md | Documents that setup will reuse installed dependencies meeting identity+version requirements. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Manodasan Wignarajah (manodasanW)
approved these changes
Oct 2, 2026
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.


Summary
Fix three WinGet setup issues in
src\windows-dev-config\steps\_winget.ps1:0x80073D02conflicts.Write-ErrorinInvoke-DevConfigWinGetDeploymentso CLIXML parsing failures no longer hide the real AppX error.0x800706BAby HRESULT inConfirm-DevConfigWinGetReady, including generic exceptions from Windows PowerShell 5.1. Preserve the existing registration retry and verified CLI fallback, and rethrow unrelated errors.Document dependency reuse in the Windows Dev Config README.
Validation
Tested in Windows x64 VMs with Windows PowerShell 5.1 and PowerShell 7:
No PR or issue templates were found; this draft follows CONTRIBUTING.md .