Skip to content

Fix inconsistent CLI update notification message#14373

Open
Copilot wants to merge 3 commits intomainfrom
copilot/update-cli-notification-message
Open

Fix inconsistent CLI update notification message#14373
Copilot wants to merge 3 commits intomainfrom
copilot/update-cli-notification-message

Conversation

Copy link
Contributor

Copilot AI commented Feb 6, 2026

Description

The CLI update notification message was inconsistent. The first line referred to "Aspire CLI" while subsequent lines provided guidance for updating Aspire packages generally:

Before:

A new version of the Aspire CLI is available: 13.2.0-preview.1.26105.10
To update, run: aspire update
For more information, see: https://aka.ms/aspire/update

After:

A new version of Aspire is available: 13.2.0-preview.1.26105.10
To update, run: aspire update
For more information, see: https://aka.ms/aspire/update

Changes:

  • Updated InteractionServiceStrings.resx: "A new version of the Aspire CLI is available""A new version of Aspire is available"
  • Build system automatically marked 13 localized .xlf files as needs-review-translation for the localization team

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
    • No
  • Does the change require an update in our Aspire docs?
    • Yes
    • No

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • centralus-2.in.applicationinsights.azure.com
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests --internal-msbuild-node /home/REDACTED/.local/share/b0cd86753e3541169cc14244aaaedab5/.p --filter-not-trait category=failing --filter-not-trait quarantined=true --filter-not-trait outerloop=true (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Cli.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Cli.Tests.CliSmokeTests+<>c <LocaleOverrideReturnsExitCode>b__4_0 /tmp/4mk2aa04.vuz invalid-locale False ASPIRE_LOCALE_OVERRIDE (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Aspire.Cli.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli.Tests/Debug/net10.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Cli.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Cli.Tests.CliSmokeTests+<>c <LocaleOverrideReturnsExitCode>b__4_0 /tmp/4mk2aa04.vuz (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

In the dotnet/aspire repository, the Aspire CLI currently prints an update notification where the first line refers to a CLI update, but the subsequent lines give guidance about updating Aspire packages. This is inconsistent.

Update the CLI output so the message is consistent: the first line should say that a new version of Aspire is available (not specifically the Aspire CLI), matching the rest of the guidance about updating packages.

Current observed output (from screenshot):

  • A new version of the Aspire CLI is available: 13.2.0-preview.1.26105.10
  • To update, run: aspire update
  • For more information, see: https://aka.ms/aspire/update

Requested change:

  • Adjust the first line wording to something like: A new version of Aspire is available: <version> (keep the version value).
  • Ensure the rest of the message remains correct and consistent with updating packages.

Acceptance criteria:

  • The CLI update notification uses consistent wording across all lines.
  • Any tests or snapshots that validate CLI output are updated accordingly.
  • Build/tests pass.

Reference screenshot:
image1

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Changed "A new version of the Aspire CLI is available" to "A new version of Aspire is available" to match the rest of the update guidance about updating Aspire packages.

The build system automatically updated all localized .xlf files marking them for translation review.

Co-authored-by: radical <1472+radical@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CLI output for consistent Aspire update notification Fix inconsistent CLI update notification message Feb 6, 2026
Copilot AI requested a review from radical February 6, 2026 18:05
@radical radical marked this pull request as ready for review February 6, 2026 18:56
Copilot AI review requested due to automatic review settings February 6, 2026 18:56
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 14373

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 14373"

Copy link
Contributor

Copilot AI left a comment

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 CLI’s update-notification text to use consistent product wording (“Aspire” instead of “Aspire CLI”) while keeping the existing update guidance and localization pipeline intact.

Changes:

  • Updated NewCliVersionAvailable resource string to say “A new version of Aspire is available: {0}”.
  • Propagated the updated source string into localized .xlf files and marked translations as needs-review-translation.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Aspire.Cli/Resources/InteractionServiceStrings.resx Updates the English resource string for the update notification headline.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.cs.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.de.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.es.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.fr.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.it.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.ja.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.ko.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.pl.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.pt-BR.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.ru.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.tr.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.zh-Hans.xlf Updates localization source string; marks translation for review.
src/Aspire.Cli/Resources/xlf/InteractionServiceStrings.zh-Hant.xlf Updates localization source string; marks translation for review.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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