Repository navigation
Prepare WinUI plugin for WinApp CLI 0.7 - #190
Merged
Nikola Metulev (nmetulev) merged 15 commits intoSep 30, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace bundled build/analyzer and metadata tooling with CLI and NuGet workflows. Add AOT, project packaging, and Sandbox-first UI guidance; retain analyzer source pending upstream hand-off. Keep publication and real-app verification as release gates. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move analyzer implementation and test ownership entirely to winapp. Remove local source, the build helper, C# CI and dependency wiring; retain content validation, PowerShell regressions, and source compliance scanning. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Route tool bugs upstream, prefer Windows Sandbox when available with explicit-request protection and enablement guidance, and recommend the latest analyzer without blocking work when unavailable. Keep target-scoped tests and coverage notices consistent across skills. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Explicitly exit zero only after all assertions pass, so expected failing child-process cases do not leak their LASTEXITCODE into the runner's step result. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Audit nested UI elements, find owned picker windows across processes, explain scope-only unpackaged guest launches, and recognize supported build flags in session reports. Cover the corrected behaviors with regression fixtures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Document automatic one-shot arbitration and the four-second workflow grace in the existing UI-testing coordination guidance. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the UI workflow in the skill, load tested batch examples from an on-demand reference, and ask the user to enable Windows Sandbox and reboot themselves instead of doing so during setup. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Restore the inline UI-testing workflow, examples, and prior Sandbox setup guidance as requested. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Incorporate the merged winmd removal and preserve explicit project-scoped find-api lookups alongside this branch's broader WinApp 0.7 changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
WinApp CLI is a per-user MSIX, so skills now install or upgrade it without a handoff and tell the user. The .NET SDK, Developer Mode, Windows Sandbox, and AOT build tools still require the user's consent because they need elevation or a reboot. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
State the analyzer fallback, Windows Sandbox policy, and unpackaged-experiment rule once each and link to them elsewhere. Merge repeated crash-diagnostics and AOT prose, move self-contained guidance into packaging, make the source-generator reference canonical for binding/MVVM rules, and drop session-report text that the script already writes. Windows Sandbox enablement is a user action. Reduces changed skill text ~13% without removing workflows or examples. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Normal build-and-run sends no synthetic input, so launch locally and keep Windows Sandbox guidance in winui-ui-testing only. Remove it from both agent copies, winui-dev-workflow, and the WPF migration run; winui-setup keeps prerequisites and enablement as reference. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
WinApp CLI v0.7.0 and Microsoft.Windows.SDK.BuildTools.WinUIAnalyzer 0.7.0 are published, so drop the README promotion warning and the 0.7-specific release-playbook gate. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Nikola Metulev (nmetulev)
marked this pull request as ready for review
September 30, 2026 22:05
Merged
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.
Description
Update the WinUI plugin for WinApp CLI 0.7 (now published, along with the
Microsoft.Windows.SDK.BuildTools.WinUIAnalyzer0.7.0 NuGet package).BuildAndRun.ps1; use directwinapp runand recommend the latest analyzer package. If the package is unavailable, continue and disclose the missing analyzer coverage.microsoft/winappCli.winui-setupinstalls or upgrades WinApp CLI automatically (per-user, no admin) and asks before anything needing admin rights (.NET SDK, Developer Mode, AOT build tools). Enabling Windows Sandbox is left to the user.winui-ui-testingowns the target policy, guest PID/HWND scoping, recording coordination, evidence, and persistence checks.Integration with #192: That PR already removed
winmd-clionstaging. This branch includes its merge commit and preserves its explicit project-scopedwinapp find-apiguidance.Upstream references
microsoft/winappCli#759 (analyzer), microsoft/winappCli#744 (
find-api), microsoft/winappCli#779 (Sandbox), microsoft/winappCli#817 (AOT run), microsoft/winappCli#829 (project packaging).Type of Change
Affected area
Checklist
staging(including Remove winmd-cli; point skills at winapp find-api #192).[Unreleased]updated; no plugin version fields changed.Additional Notes
Maintainers should remove retired
build-tools,analyzer-provenance,analyzer-targets-sync, and C# CodeQL required checks if configured; this PR does not change branch protection.A benchmark comparing
mainwith an earlier snapshot of this branch (276 trials, 10 scenarios, 3 models) showed equivalent app quality (73.4 vs 73.5 average score) and ~5% fewer input tokens; it did not exercise AOT, packaging, or Sandbox specifically.