Skip to content

Document aspire stop --force resource cleanup#1387

Merged
IEvangelist merged 2 commits into
release/13.5from
danegsta-document-stop-force
Jul 21, 2026
Merged

Document aspire stop --force resource cleanup#1387
IEvangelist merged 2 commits into
release/13.5from
danegsta-document-stop-force

Conversation

@danegsta

Copy link
Copy Markdown
Member

Persistent resources normally remain available after an AppHost stops, but Aspire 13.5 adds an explicit way to remove them with aspire stop --force. This updates the command reference so users understand when cleanup runs and how to protect persistent data.

The documentation now covers:

  • cleanup for running and already-stopped AppHosts
  • destructive behavior and volume or bind-mount guidance
  • AppHost path and older CLI compatibility limitations
  • --apphost support and incompatibility with --all
  • cleanup failure behavior and retry guidance

Product change: microsoft/aspire#18718

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

Copilot-Session: 45afd624-6e7c-4ee8-84c2-6dbda91702f5
Copilot AI review requested due to automatic review settings July 21, 2026 19:49

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.

Pull request overview

Updates the aspire stop CLI command reference to document the new --force behavior for cleaning up persistent resources, including limitations and examples, so users understand when resource cleanup occurs and what data-loss risks exist.

Changes:

  • Adds a new “Clean up persistent resources” section describing aspire stop --force, its destructive behavior, and retry/failure behavior.
  • Documents option interactions/constraints (notably --force incompatibility with --all) and adds --force to the options list.
  • Expands examples to include --force and --force --apphost usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/frontend/src/content/docs/reference/cli/commands/aspire-stop.mdx Outdated
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1387. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1387 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@IEvangelist
IEvangelist enabled auto-merge (squash) July 21, 2026 20:40
@IEvangelist
IEvangelist merged commit c2ec25e into release/13.5 Jul 21, 2026
10 checks passed
@IEvangelist
IEvangelist deleted the danegsta-document-stop-force branch July 21, 2026 21:03
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.

3 participants