Skip to content

Document staging channel refusal on daily/local/pr CLI builds - #1522

Merged
David Pine (IEvangelist) merged 1 commit into
release/13.5from
dapine/recover-docs-17235
Aug 18, 2026
Merged

David Pine (IEvangelist) merged 1 commit into
release/13.5from
dapine/recover-docs-17235

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Documents changes from microsoft/aspire#17235.

Mitch Denny (@mitchdenny)

Target branch: Targeting release/13.5 — the latest release branch on microsoft/aspire.dev — because release/13.4 (from the source PR milestone 13.4) does not exist there.

Why

PR 17235 fixes a bug (microsoft/aspire#16652) where aspire update --channel staging silently resolved to daily package versions on a daily Aspire CLI build. The fix gates staging-channel synthesis on the CLI's baked identity: only stable and staging identity CLI builds can resolve --channel staging; daily, local, and pr-<N> builds now refuse the request and report an actionable error pointing at the overrideStagingFeed escape hatch or installing a staging/stable CLI.

The docs previously described the --channel option and the overrideStagingFeed escape 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 --channel option explaining that staging only resolves on stable/staging CLI builds, and what to do otherwise (recovery options), quoting the same guidance from PackagingStrings.resx (StagingChannelUnavailableOnDailyCli).
  • reference/cli/commands/aspire-new.mdx — added the same staging-restriction note under the --channel option, since NewCommand.cs was also updated by the source PR to respect this gating.
  • reference/cli/includes/config-settings-table.md — added a new row documenting the previously-undocumented overrideStagingFeed configuration 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.

Recovery note: This draft preserves the output of recovery run 32112079288 after the safe-output application stage failed.

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

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

VS Code: Open PR #1522 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.

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 staging restriction and recovery guidance to aspire update docs.
  • Added the same --channel staging restriction and recovery guidance to aspire new docs.
  • Documented the overrideStagingFeed configuration 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.

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.

2 participants