Skip to content

test(updater): Windows MSIX end-to-end proof - #1708

Merged
i098 merged 1 commit into
mainfrom
fm/cgx-n198-852-win-updater
Dec 5, 2026
Merged

i098 merged 1 commit into
mainfrom
fm/cgx-n198-852-win-updater

Conversation

@i098

@i098 i098 commented Dec 5, 2026 •

Copy link
Copy Markdown
Owner

Refs #852

Summary

Adds a real-Windows end-to-end proof of the MSIX updater, run on a GitHub windows-latest runner.

What changed and why

  • Test e2e_feed_rejects_bad_hash_then_stages_and_installs drives the real run() loop against a local fake feed. It runs only when CGX_E2E_MSIX is set.
  • Workflow win-updater-e2e.yml signs and installs a v1 MSIX, builds a v2 MSIX, and runs the test. It is a proof job; drop it after the proof.

Test evidence

win-updater-e2e on windows-latest passed (7m27s): https://github.com/i098/codex-gpui/actions/runs/47479150207

Ran: signed v1.0.0.0 MSIX installed; local fake feed; the real updater loop. Output: Checking, Available(99.0.0), Downloading(None..100), Status::Available (bad hash rejected, nothing staged: "PROOF mismatch rejected"), then Downloading(100), Ready, staged prepared.msix under the updater temp dir, Installing, Restart. Installed version after: 2.0.0.0 (was 1.0.0.0). test result: ok. 1 passed. Not covered: the explorer.exe relaunch of the packaged app.

Checklist

  • One concern in this pull request.
  • The title and every commit follow Conventional Commits.
  • cargo fmt --check is clean. Not run yet.
  • cargo clippy --workspace --all-targets -- -D warnings is clean. Not run yet.
  • cargo test --workspace passes. Windows CI runs it.
  • A visual change passes the parity gate. Not applicable.
  • A user-visible change has a CHANGELOG line. Not applicable: test only.

@i098
i098 merged commit 9a5d0e2 into main Dec 5, 2026
8 of 9 checks passed
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