microsoft / microsoft/aspire

[AspireE2E] When running aspire deploy and pressing Ctrl+C to cancel, the message "The deployment was canceled." appears on an incorrect line.

Open
#14,338 0 comments 0 reactions 0 assignees View on GitHub
area-deployment
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO**: Also repro on Aspire Cli 13.1.0

**INSTALL STEPS**

1. Clean machine: Win11 x64 25h2 ENU
2. Install SDK 10.0.102
3. Add feed
4. Install Aspire.Cli 13.2.0-preview.1.26103.12
`iex "& { $(irm https://aspire.dev/install.ps1) } -Quality dev"`
5. Install [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli#install-or-update) and login it.

**REPRO STEPS**

1. Open CMD and create an Aspire Starter App (ASP.NET Core/Blazor)
```
aspire new aspire-starter --name aspire1
cd aspire1/aspire1.AppHost
```
2. Run `aspire add azure-appcontainers`
3. Open AppHost.cs file, adding following line to configure the Azure App Container environment
`builder.AddAzureContainerAppEnvironment("env");`
4. Run `aspire deploy`, when prompted to select "Azure tenant", press Ctrl+C to cancel.

**ACTUAL**
It appears the new message "The deployment was canceled." has replaced the original "(Type to search)".
Image

**EXPECTED**
Similar to "aspire add", a stop message is displayed on the next line.
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.