Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 1, 2025

Backport of #12553 to release/13.0

/cc @mitchdenny @copilot

Customer Impact

This PR addresses an issue in the aspire add command where we show two versions of a package when a channel is chosen when only one should be shown. The underlying reason is that a channel is often comprised of multiple feeds (e.g. the daily feed references dotnet9 and nuget.org) and in the case of the Docker integration there is a pre-release package in both.

This update effectively filters the list so we only show the highest version across package sources.

Before:

image

After:

image

Testing

Manual validation

Risk

Low. Mostly impacts the preview PR experience (or when using a preview package)

Regression?

@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 1, 2025

🚀 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 -- 12587

Or

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

@mitchdenny mitchdenny added this to the 13.0 milestone Nov 1, 2025
@joperezr
Copy link
Member

joperezr commented Nov 3, 2025

Low risk and contained to the specific command. Marking as approved, but I also think that if we think this may impact other things we can also hold off for 13.1

@joperezr joperezr added the Servicing-approved Approved for servicing release label Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants