Skip to content

test: validate published Windows release runtime dependencies - #60

Closed
zhoufenqin (zhoufenqin) wants to merge 8 commits into
mainfrom
test/windows-release-1.0.77-runtime
Closed

zhoufenqin (zhoufenqin) wants to merge 8 commits into
mainfrom
test/windows-release-1.0.77-runtime

Conversation

@zhoufenqin

Copy link
Copy Markdown
Member

Purpose

Diagnose existing v1.0.77 release assets. Draft testing PR only: no release creation/editing, no latest changes, and no WinGet manifest changes.

Tests

  • Validate released MSI/ZIP checksums and Authenticode signatures.
  • Probe CLI version/help and helper startup on native x64 and ARM64 Windows runners.
  • In a disposable Windows Server Core x64 container, install the signed MSI and compare MCP helper startup before/after installing the official Microsoft VC redistributable.
  • Upload JSON results and MSI install/uninstall logs, even on failure. A reproduced missing-runtime dependency intentionally fails the test.

Boundaries

Read-only GitHub token. No internal source, model calls, assessment flows, credentials, or desktop automation. The container targets loader behavior, not full desktop functionality. Do not merge as part of this investigation.

Local checks

PowerShell syntax/safety guard, actionlint, and native x64 v1.0.77 startup/signature/hash tests passed. Local host already has VC runtime installed, so clean-container validation is still required.

Related investigation: microsoft/winget-pkgs#456609

Fenqin Zhou added 2 commits October 30, 2026 12:52
Add native x64/ARM64 startup probes and an isolated x64 Windows container MSI/VC runtime comparison. Reads existing release assets only; no release publishing permissions or actions.
@zhoufenqin

Copy link
Copy Markdown
Member Author

Verified results for v1.0.77

Run: https://github.com/microsoft/modernize-cli/actions/runs/41005648757

  • Native Windows x64 and ARM64: published checksums, tested Authenticode signatures, CLI version/help, and both computer-use helper startup probes passed.
  • Clean Windows Server Core x64 (SystemVcRuntimePresent: false): MSI installation and uninstallation succeeded (exit 0), and the main CLI started successfully.
  • computer-use-mcp.exe --help failed before VC runtime was available: exit -1073741515 (0xC0000135, missing DLL).
  • Copying the official Microsoft-signed Visual Studio CRT redistributable DLLs beside the helper, WITHOUT installing the machine-wide VC runtime, restored normal argument handling (exit 2, expected 'arguments are not supported on this platform').
  • Removing those app-local DLLs and installing the official VC redistributable also restored normal argument handling.

The x64 job is intentionally red because it detected a real dependency gap in the unchanged published MSI. Full evidence is in artifact windows-release-x64/Container-x64.json, with install/uninstall logs. App-local CRT packaging is a verified remediation direction that preserves per-user installation.

These are loader/startup checks, not full desktop automation or a reproduction of WinGet's Defender/WMI validation harness. A clean ARM64-without-CRT baseline was not tested. No release was created/updated, no latest changed, and this PR remains draft.

@zhoufenqin

Copy link
Copy Markdown
Member Author

The fixed signed test candidate 0.0.60000 now passes this workflow on both Windows x64 and ARM64, including the clean x64 Server Core MSI install/native-startup/uninstall check: https://github.com/microsoft/modernize-cli/actions/runs/41027622806 . SystemVcRuntimePresent=false and MissingVcRuntimeReproduced=false for the fixed MSI. This complements the earlier intentionally failing 1.0.77 baseline. Test-only WinGet validation is tracked in draft microsoft/winget-pkgs#466098 ; do not merge either test PR. The temporary prerelease is not Latest and will be removed after the WinGet test PR is closed. No claim is made that the CRT fix resolves the separate Defender/WMI validation errors.

Fenqin Zhou added 6 commits October 30, 2026 17:54
In the clean Windows container, reproduce the unchanged 1.0.77 helper loader failure and verify that adding only Microsoft-signed vcruntime140.dll restores normal startup.
Install the signed MSI silently on native x64/ARM64 runners, probe the installed executables, scan the installation with Microsoft Defender, and uninstall.
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.

1 participant