Skip to content

[docs] Document worktree isolation and persistent port settings - #2094

Closed
aspire-repo-bot[bot] wants to merge 1 commit into
mainfrom
docs/pr-21013-42717977901-1-61b4adada2db2189
Closed

aspire-repo-bot[bot] wants to merge 1 commit into
mainfrom
docs/pr-21013-42717977901-1-61b4adada2db2189

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#21013

Author: @danegsta

Targeting release/17.0 — the latest release branch on microsoft/aspire.dev — because release/17.1 (from the source PR milestone 17.1) does not exist there.

Why

The source PR adds persisted generated AppHost ports, features.gitWorktreeIsolationEnabled, and portAllocation.persistInIsolatedMode. Triggered signals: cli_command_file_changed (RunCommand.cs), pr_body_has_cli_flag_mention (--isolated true|false), pr_body_has_user_facing_section (JSON config example).

Changes (existing pages updated)

  • reference/cli/includes/config-settings-table.md: added the two new settings.
  • reference/cli/commands/aspire-run.mdx: --isolated now explains persisted-port and worktree behavior.
  • reference/cli/commands/aspire-start.mdx: same.

Generated by PR Documentation Check for #21013 · copilot · auto · 27.7 AIC · ⌖ 1.19 AIC · ⊞ 7.4K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Nov 9, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

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

VS Code: Open PR #2094 artifacts

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

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.

🟡 Changes recommended

The new settings and related --isolated descriptions lack minimum-version qualifications, even though the linked implementation targets 17.1 and the settings are unavailable in 17.0.

1 open issue
What changed in this PR

This PR updates Aspire’s CLI reference to document worktree isolation and generated-port persistence from microsoft/aspire#21013.

Changes:

  • Adds settings for automatic worktree isolation and persisted ports in isolated mode.
  • Expands the aspire run and aspire start references with persistence behavior and explicit isolation overrides.
File Description
src/​frontend/​src/​content/​docs/​reference/​cli/​includes/​config-settings-table.md Documents both settings, defaults, and persisted-state location.
src/​frontend/​src/​content/​docs/​reference/​cli/​commands/​aspire-start.mdx Clarifies port persistence and --isolated false behavior.
src/​frontend/​src/​content/​docs/​reference/​cli/​commands/​aspire-run.mdx Adds matching isolation and persistence guidance.

Review effort: Balanced

| `features.experimentalPolyglot:java` | `false` | Enable or disable experimental Java AppHost support. |
| `features.experimentalPolyglot:python` | `false` | Enable or disable experimental Python AppHost support. |
| `features.experimentalPolyglot:rust` | `false` | Enable or disable experimental Rust AppHost support. |
| `features.gitWorktreeIsolationEnabled` | `false` | Enable or disable automatic isolated mode for AppHosts in linked Git worktrees. An explicit `--isolated true` or `--isolated false` always takes precedence. |
@danegsta
David Negstad (danegsta) marked this pull request as draft November 16, 2026 21:16
@danegsta

Copy link
Copy Markdown
Member

This particular change isn't shipping in 17.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants