Repository navigation
test(updater): Windows MSIX end-to-end proof - #1708
Merged
Merged
Conversation
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.
Refs #852
Summary
Adds a real-Windows end-to-end proof of the MSIX updater, run on a GitHub
windows-latestrunner.What changed and why
e2e_feed_rejects_bad_hash_then_stages_and_installsdrives the realrun()loop against a local fake feed. It runs only whenCGX_E2E_MSIXis set.win-updater-e2e.ymlsigns 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-e2eon windows-latest passed (7m27s): https://github.com/i098/codex-gpui/actions/runs/47479150207Ran: 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.msixunder 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
cargo fmt --checkis clean. Not run yet.cargo clippy --workspace --all-targets -- -D warningsis clean. Not run yet.cargo test --workspacepasses. Windows CI runs it.