Repository navigation
Document staging channel refusal on daily/local/pr CLI builds - #1522
Conversation
Documents changes from microsoft/aspire#17235. Co-authored-by: Copilot <[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.
Pull request overview
This PR updates Aspire CLI documentation to explain the identity-based restriction for resolving --channel staging (stable/staging CLI builds only), and documents overrideStagingFeed as the supported escape hatch for other CLI identities.
Changes:
- Added a
--channel stagingrestriction and recovery guidance toaspire updatedocs. - Added the same
--channel stagingrestriction and recovery guidance toaspire newdocs. - Documented the
overrideStagingFeedconfiguration key in the CLI configuration settings table.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/frontend/src/content/docs/reference/cli/includes/config-settings-table.md | Documents overrideStagingFeed in the surfaced settings table. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-update.mdx | Adds explicit staging-channel restriction + recovery guidance under --channel. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx | Adds explicit staging-channel restriction + recovery guidance under --channel. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Documents changes from microsoft/aspire#17235.
Mitch Denny (@mitchdenny)
Target branch: Targeting
release/13.5— the latest release branch onmicrosoft/aspire.dev— becauserelease/13.4(from the source PR milestone13.4) does not exist there.Why
PR 17235 fixes a bug (microsoft/aspire#16652) where
aspire update --channel stagingsilently resolved to daily package versions on a daily Aspire CLI build. The fix gates staging-channel synthesis on the CLI's baked identity: onlystableandstagingidentity CLI builds can resolve--channel staging;daily,local, andpr-<N>builds now refuse the request and report an actionable error pointing at theoverrideStagingFeedescape hatch or installing a staging/stable CLI.The docs previously described the
--channeloption and theoverrideStagingFeedescape hatch only implicitly (via example config), with no mention of this identity-based restriction or recovery guidance.What changed
reference/cli/commands/aspire-update.mdx— added a paragraph under the--channeloption explaining thatstagingonly resolves onstable/stagingCLI builds, and what to do otherwise (recovery options), quoting the same guidance fromPackagingStrings.resx(StagingChannelUnavailableOnDailyCli).reference/cli/commands/aspire-new.mdx— added the same staging-restriction note under the--channeloption, sinceNewCommand.cswas also updated by the source PR to respect this gating.reference/cli/includes/config-settings-table.md— added a new row documenting the previously-undocumentedoverrideStagingFeedconfiguration key, since it's now a load-bearing escape hatch referenced from both command pages.No new pages were created; all edits are additions to existing pages.