[release/13.0] Filter to highest package version per channel in aspire add command#12587
Closed
github-actions[bot] wants to merge 4 commits intorelease/13.0from
Closed
[release/13.0] Filter to highest package version per channel in aspire add command#12587github-actions[bot] wants to merge 4 commits intorelease/13.0from
github-actions[bot] wants to merge 4 commits intorelease/13.0from
Conversation
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
…vements Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Contributor
Author
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12587Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12587" |
mitchdenny
approved these changes
Nov 1, 2025
Member
|
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 |
Contributor
|
Agree |
Member
|
@mitchdenny any final thoughts here? if we feel good about low risk of potential side effects I can go ahead and merge this. |
Member
|
Removing approval for now since at this point we should just wait for 13.0.1 |
Member
|
@mitchdenny do we still want this one for 13.0.1? |
Member
|
Yep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #12553 to release/13.0
/cc @mitchdenny @copilot
Customer Impact
This PR addresses an issue in the
aspire addcommand 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:
After:
Testing
Manual validation
Risk
Low. Mostly impacts the preview PR experience (or when using a preview package)
Regression?