Repository navigation
[docs] Document deploy, publish, and pipeline actions in the VS Code Aspire pane - #1750
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Recover all four documentation files verbatim from PR Documentation Check run 36066282711, replacing the interim rewrite. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Browser-based documentation validation was unavailable; final human review is recommended.
Review effort: Lite
Findings: None
What changed in this PR
Updates the VS Code Aspire extension documentation with guidance for deployment, publishing, and pipeline actions.
Changes:
- Documents Deploy AppHost and Publish AppHost.
- Explains running and debugging pipeline steps.
- Covers prompts and operation sequencing.
| File | Summary |
|---|---|
src/frontend/src/content/docs/get-started/aspire-vscode-extension.mdx |
Adds Aspire view action documentation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
David Pine (IEvangelist)
left a comment
There was a problem hiding this comment.
🤖 Automated docs-accuracy review — PR #1750
Phase A source of truth: microsoft/aspire @ release/13.6 — 43496a2a306c81c862c947b11b4f4e5494b6fe08
Reviewed PR head: 1f6a855fd8fd84205c1cc33e1877243b3d178e37
Documents: microsoft/aspire#19466
Claims extracted: 4 (all verifiable)
| Verdict | Count |
|---|---|
| ✅ verified | 4 |
| 🟡 verified-with-nuance | 0 |
| ❔ unverifiable | 0 |
| ❌ contradicted | 0 |
Phase B (blind-user doc-tester): 1 route exercised — /get-started/aspire-vscode-extension/ (## The Aspire view). 0 critical, 0 warnings. Live browser rendering was not executed (no PR preview deployment; local site build disallowed by policy), so this phase evaluated the PR-built page content and the docs collection.
Verdict: APPROVE
Every claim in the new paragraph matches the VS Code extension source on release/13.6: the four action labels, the expand-vs-right-click affordances, the idle-only gating, the pipeline step prompt, the per-AppHost operation exclusivity, and the on-page #run-debug-and-deploy anchor. The blind read is clean. Nothing to change.
Phase A — Claim verification
No contradicted or unverifiable claims. Full evidence for every extracted claim:
✅ Verified — all claims with source evidence (click to expand)
Evidence paths are in microsoft/aspire @ 43496a2a (release/13.6). Added paragraph (mdx:141):
Expand an idle AppHost or open its right-click menu to select Deploy AppHost, Publish AppHost, Run pipeline step, or Debug pipeline step. The pipeline actions prompt you to choose a step. Wait for the operation to finish before starting another for the same AppHost. For launch configuration options, see Run, debug, and deploy.
C1 — four actions with exact labels, reachable by expanding an idle AppHost or its right-click menu — ✅ verified
Command titles exact: extension/package.nls.json:58-61 (command.deployAppHost="Deploy AppHost", publishAppHost="Publish AppHost", runPipelineStepAppHost="Run pipeline step", debugPipelineStepAppHost="Debug pipeline step"); action labels also exact at package.nls.json:335-338. Expand affordance: expanding a WorkspaceAppHostItem yields child WorkspaceAppHostActionItems whose labels come from actionLabels (extension/src/views/treeItems/appHostItems.ts:185-234); the provider adds the deploy/publish/runPipelineStep/debugPipelineStep children only for an idle AppHost — !element.launching && !element.stopping && !element.operation and the matching element.actions capability (extension/src/views/AspireAppHostTreeProvider.ts:874-891). Right-click affordance: all four are contributed to view/item/context group 2_actions, gated on :canDeploy/:canPublish/:canDo context tokens (extension/package.json:924-948); those tokens are appended only for non-busy AppHosts (appHostItems.ts:59-99,121-178).
C2 — the pipeline actions prompt you to choose a step — ✅ verified
AspireAppHostTreeProvider.runPipelineStepAppHost (:1170) and debugPipelineStepAppHost (:1174) resolve the step through selectPipelineStepFromCli (:1213), which shows a QuickPick with placeholder "Select a pipeline step to execute" (extension/src/utils/pipelineStep.ts:22,56-58; string extension/src/loc/strings.ts:280).
C3 — wait for the operation to finish before starting another for the same AppHost — ✅ verified
AspireAppHostTreeProvider.ts:876-879 withholds all launch actions while element.operation is set, with the comment: "A durable deploy/publish/do owns the AppHost until it finishes, so every launch action - Run included - is withheld while one is in flight. Only the source and path affordances remain." During an operation the context value becomes :operating/workspaceAppHostOperating (appHostItems.ts:95,132,168), which also strips the context-menu actions.
C4 — cross-reference [Run, debug, and deploy](#run-debug-and-deploy) — ✅ verified
The same doc page has ## Run, debug, and deploy (line 151 at PR head 1f6a855f), which Starlight slugifies to run-debug-and-deploy. The anchor resolves on-page.
Phase B — Doc-tester results (blind-user)
Environment: Live browser (Playwright) rendering was not executed — no PR preview deployment and local build disallowed by policy. The blind-user evaluation below was performed against the PR-built page and the docs content collection. No
microsoft/aspiresource was consulted in this phase.
Focus route: /get-started/aspire-vscode-extension/ — ## The Aspire view (new paragraph at line 141)
| Category | Passed | Failed | Warnings |
|---|---|---|---|
| Content accuracy (blind) | pass | 0 | 0 |
| Code examples | n/a | 0 | 0 |
| CLI commands | n/a | 0 | 0 |
| Links | pass | 0 | 0 |
Critical issues
None.
Warnings
None.
Passed checks
- Placement/flow: the paragraph follows the resource-level "right-click a resource…" paragraph and precedes
:::note[Renamed polling setting], escalating from resource-level to AppHost-level actions in a logical order. - UI labels: the four actions are bolded and parallel, so a blind reader can map prose to on-screen items.
- Two affordances stated: "Expand an idle AppHost or open its right-click menu" documents both discovery paths.
- Behavioral guidance: scopes the step prompt to the two pipeline actions and states the per-AppHost operation exclusivity up front.
- On-page cross-link:
[Run, debug, and deploy](#run-debug-and-deploy)targets the page's own## Run, debug, and deployheading — no broken-anchor risk; being a hash link, the trailing-slash rule doesn't apply. - Terminology ("AppHost", "right-click menu", "operation", "pipeline step") is consistent with the rest of the page.
Recommendations
- (Optional, non-blocking) "idle" is used without an explicit definition; its meaning is inferable from the very next sentence ("Wait for the operation to finish…"). A short parenthetical could remove any first-read ambiguity, but this is polish, not a defect.
Knowledge gaps
None that block a blind reader.
Automated hourly docs-from-code review. Phase A reads microsoft/aspire release source; Phase B evaluates the docs blind to that source; this comment merges both.
Summary
Publish the VS Code extension documentation started by PR Documentation Check run 36066282711 for microsoft/aspire#19466. The workflow generated the change but failed before creating its draft PR.
Document Deploy AppHost, Publish AppHost, Run pipeline step, and Debug pipeline step in the Aspire view, including the step prompt and waiting for the current operation to finish. The paragraph uses direct instructions consistent with the rest of the extension guide.