You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows parity: Install progress needs a live upgrade from a real Windows asset (testing gap) #742
P2 featureParity priority 2: features macOS has that Windows lacksparityWindows/macOS UI parity ledger row (investigation/ui-parity-matrix.md)testing gapImplemented, but not yet validated live; prioritize testingwindowsWindows port
The historical beta26 PSModulePath failure was source-fixed by PR #763, merged at 2ccf303a04f995184aae1d4b738a9eca0f71b79e: WindowsUpdateInstall excludes inherited PSModulePath before invoking Windows PowerShell. The four old install failures stay failed and are not reclassified as passes.
Windows beta31 now exists with a verified Windows ZIP, and merged required packaging gates exercise real lifecycle contracts. Still open / Partial: an actual in-app upgrade walkthrough showing progress, extraction, install-directory swap and recovery on the installed source. Release build/Verify/publication and package contracts are not that in-app beta30-to-beta31 execution.
The original report, acceptance criteria and historical evidence below are preserved; the dated scope/progress above supersedes obsolete missing-feature claims.
Is your feature request related to a problem?
Parity row Install progress (Updates and dialogs) in investigation/ui-parity-matrix.md is Partial.
macOS: In-window progress indicator.
Windows today: Progress UI with real download and checksum evidence (macOS DMG used as the test asset).
Gap: No extraction and upgrade of a real Windows ZIP; self-rename of the running install directory is unproven.
Describe the solution you'd like
Upgrade an installed beta26 to a newer Windows prerelease through the in-app path and record progress, extraction and the install-directory swap.
Describe alternatives you've considered
N/A
Additional context
This is a testing gap: Windows implements it; only live/runtime evidence is missing. Unblocked by the beta26 publication. Parity status and the beta25 Dev Box review are recorded in #719.
Live result: Failed. Root cause found and reproduced; a fix PR is coming.
The Dev Box run on installed beta26 updating to beta27 failed all 4 times. Each attempt went Downloading, Extracting, Installing, then failed after about 1 s with "Installing the update failed. The previous installation was kept." The installation was unchanged each time.
Root cause
The Dev Box harness started the shell from a PowerShell 7 session, so its environment carried PowerShell 7's PSModulePath.
WindowsUpdateInstall.runPowerShell passes that environment unchanged to powershell.exe.
Windows PowerShell 5.1 then finds PowerShell 7's Core-only Microsoft.PowerShell.Utility first, can't load it, and loses Get-FileHash. GraphCode-Setup.ps1 -Command Upgrade exits 1:
GraphCode-Setup.ps1 : The term 'Get-FileHash' is not recognized as the name of a cmdlet, function, script file, or operable program.
When pwsh starts powershell.exe itself, it removes its own module paths first. Launching GraphCode from the Start menu inherits Explorer's clean value. That is why running Setup by hand, and the earlier checks, never hit this.
Not the cause: the event=fatal detail=WriteFailed log lines. They are the harness's own graphcode-windows.exe --version probes with stdout not redirected.
Why CI missed it:WindowsUpdateInstall.Live.Tests.ps1 never runs a real Upgrade. It stops at ExtractionFailed on a non-ZIP asset.
Local reproduction. I drove the real beta27 asset through WindowsUpdateInstall.install() into a scratch beta26 install, with the installed shell running and a pwsh 7 PSModulePath:
unfixed: UpgradeFailed, and the shell stayed beta26 (71e54930…);
with the fix (drop PSModulePath from the child environment): success, and the shell became beta27 (9f3553ad…), the daemon ran from the new install, and graphcode projects worked.
Still needed to close this: a live in-app upgrade on a build that contains the fix. The leftover rollback directory this exposed is tracked in #758. The generic failure reason is noted on #744.
P2 featureParity priority 2: features macOS has that Windows lacksparityWindows/macOS UI parity ledger row (investigation/ui-parity-matrix.md)testing gapImplemented, but not yet validated live; prioritize testingwindowsWindows port
Activity
coneilen commentedon Oct 13, 2026
Live result: Failed. Root cause found and reproduced; a fix PR is coming.
The Dev Box run on installed beta26 updating to beta27 failed all 4 times. Each attempt went Downloading, Extracting, Installing, then failed after about 1 s with "Installing the update failed. The previous installation was kept." The installation was unchanged each time.
Root cause
PSModulePath.WindowsUpdateInstall.runPowerShellpasses that environment unchanged topowershell.exe.Microsoft.PowerShell.Utilityfirst, can't load it, and losesGet-FileHash.GraphCode-Setup.ps1 -Command Upgradeexits 1:When pwsh starts
powershell.exeitself, it removes its own module paths first. Launching GraphCode from the Start menu inherits Explorer's clean value. That is why running Setup by hand, and the earlier checks, never hit this.Not the cause: the
event=fatal detail=WriteFailedlog lines. They are the harness's owngraphcode-windows.exe --versionprobes with stdout not redirected.Why CI missed it:
WindowsUpdateInstall.Live.Tests.ps1never runs a real Upgrade. It stops atExtractionFailedon a non-ZIP asset.Local reproduction. I drove the real beta27 asset through
WindowsUpdateInstall.install()into a scratch beta26 install, with the installed shell running and a pwsh 7PSModulePath:UpgradeFailed, and the shell stayed beta26 (71e54930…);PSModulePathfrom the child environment): success, and the shell became beta27 (9f3553ad…), the daemon ran from the new install, andgraphcode projectsworked.Still needed to close this: a live in-app upgrade on a build that contains the fix. The leftover rollback directory this exposed is tracked in #758. The generic failure reason is noted on #744.
Pass Windows PowerShell its own module path during in-app updates
Pass Windows PowerShell its own module path during in-app updates (#763)