Skip to content

Add Windows app model acceptance coverage - #10490

Open
Amaury Levé (Evangelink) wants to merge 2 commits into
mainfrom
dev/amauryleve/add-windows-app-acceptance-tests
Open

Add Windows app model acceptance coverage#10490
Amaury Levé (Evangelink) wants to merge 2 commits into
mainfrom
dev/amauryleve/add-windows-app-acceptance-tests

Conversation

@Evangelink

Copy link
Copy Markdown
Member

MSTest ships specialized assets for classic UWP, Modern UWP, and WinUI, but only unpackaged WinUI had real end-to-end acceptance coverage. This adds executable coverage for the missing packaged application models so asset-selection, activation, UI dispatch, and cleanup regressions are caught before release.

  • Build and execute real classic UWP and Modern UWP packages through VSTest .build.appxrecipe files.
  • Register and activate a real full-trust packaged WinUI app through MTP, including controller connect-back and UI-thread execution.
  • Verify the packed MSTest NuGets contain and resolve the expected UWP and WinUI assets.
  • Remove and verify package registrations after every run, with a pipeline leak check as a final guard.
  • Run activation tests only in a dedicated preflight-gated Windows job; ordinary and official test runs skip the environment-specific category.

Validation covered package creation, all three application-model activation paths, package asset contracts, disabled-environment gating, and package-registration cleanup.

Cover classic UWP, Modern UWP, and packaged WinUI execution with dedicated CI prerequisites and registration cleanup.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 737d35b7-2cf5-43a7-9c44-c0815a12d6b8
Copilot AI balanced review requested due to automatic review settings August 6, 2026 16:50
@Evangelink
Amaury Levé (Evangelink) enabled auto-merge (squash) August 6, 2026 16:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

Limit Windows package assertions to Windows packs and provision Developer Mode on the elevated application-model agent.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 737d35b7-2cf5-43a7-9c44-c0815a12d6b8
Copilot AI review requested due to automatic review settings August 6, 2026 17:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

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.

2 participants