Skip to content

test(windows): surface installer preflight diagnostics - #885

Merged
tallcode merged 1 commit into
mainfrom
codex/windows-installer-diagnostics
Sep 30, 2026
Merged

tallcode merged 1 commit into
mainfrom
codex/windows-installer-diagnostics

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • Capture each preflight invocation's mode, exit code, and output in the offline NSIS fixture.
  • Print the per-install attempt diagnostic log when an installer regression assertion fails.
  • Keep this logging behind a test-only NSIS define, so production bundles are unchanged.

Why

The signed Windows job built and signed the NSIS bundle, then the fresh-install regression returned exit code 5 without the installer's internal diagnostic output. A retry reproduced the failure. This change makes the next CI failure identify the failing preflight phase and its message.

Validation

  • git diff --check and staged diff check passed.
  • Windows PowerShell and NSIS tests: NOT RUN locally (toolchains unavailable on this macOS host); Windows CI will compile and run the fixture.

@tallcode
tallcode enabled auto-merge (squash) September 30, 2026 03:22
@tallcode
tallcode merged commit da5c6d1 into main Sep 30, 2026
12 checks passed
@tallcode
tallcode deleted the codex/windows-installer-diagnostics branch September 30, 2026 03:31
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