Update winapp new to warn when scaffolding is taking longer than expected - #756
Update winapp new to warn when scaffolding is taking longer than expected#756Zach Teutsch (zateutsch) wants to merge 6 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b0a2574d-4757-4a27-8c6a-87aa99e74da0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b0a2574d-4757-4a27-8c6a-87aa99e74da0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b0a2574d-4757-4a27-8c6a-87aa99e74da0
Build Metrics ReportBinary Sizes
Test Results✅ 4579 passed, 5 skipped out of 4584 tests in 640.0s (+3 tests, +26.2s vs. baseline) Test Coverage✅ 89.1% line coverage, 82.4% branch coverage · ✅ no change vs. baseline CLI Startup Time55ms median (x64, Try This BuildInstalls the MSIX for your architecture, replacing any previously installed build. Needs the GitHub CLI — the command offers to install it and sign you in if it is missing. & ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) 756Switching between builds often?Put the tool on your PATH once: & ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) -AddToPathThen this build is just: winapp-pr 756Run Updated 2026-08-14 21:20:33 UTC · commit |
There was a problem hiding this comment.
Pull request overview
Updates winapp new to provide delayed scaffolding feedback while preserving non-interactive behavior.
Changes:
- Changes the spinner message after 10 seconds.
- Adds documentation for slow package restoration.
- Adds a timeout-value test and refreshes generated schema metadata.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
NewCommand.cs |
Implements delayed spinner status. |
NewCommandTests.cs |
Tests the configured delay. |
winapp-commands.ts |
Updates generated schema version. |
SKILL.md |
Documents delayed scaffolding feedback. |
docs/usage.md |
Explains slow first-run behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b0a2574d-4757-4a27-8c6a-87aa99e74da0
Summary
Updates
winapp newto provide clearer feedback when project scaffolding takes longer than expected.dotnet newoutput, preserving localized verbose and error messages.--json,--quiet, redirected output, CI, and other non-interactive behavior unchanged.Fixes #752.
Testing
src\winapp-CLI\winapp.slnin Release with 0 warnings and 0 errors.NewCommandtests successfully.