Skip to content

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Sep 20, 2024

Manual backport of #5695 to release/8.2

cc: @eerhardt

Customer Impact

In Aspire, we have always just cross-compiled our Dashbarod and DCP packages for a limited set of RIDs (win-x64, win-x86, win-arm64, linux-x64, linux-arm64, osx-x64, and osx-arm64). When running on platforms that had special RIDs that we weren't cross-compiling for (for example, rhel.8) then we were relying on the SDK's logic to automatically pick the best closest Dashboard and DCP pack for that RID.

However, in Aspire 8.2.0 we removed Dashboard and DCP from the workload and instead just added some sdk targets that were adding these references on the fly, but we were not doing this special matching logic the the SDK used to do and instead we were simply trying to use the current RID, which caused a regression in all of those platforms that have special RIDs which we don't cross-compile for.

In this PR, we are copying the logic that the SDK does for doing that matching, and we are calling it inside of our targets in order to ensure that we are going to get a valid package reference, which will fix the regression in those systems. This has been manually validated in RedHat 8, which was the original report for this regression.

Testing

Automated testing to catch regressions with new versions as well as manual exploratory testing

Risk

Low.

Regression?

yes.

Microsoft Reviewers: Open in CodeFlow

@joperezr joperezr changed the base branch from main to release/8.2 September 20, 2024 16:48
@joperezr joperezr force-pushed the backport/pr-5695-to-release/8.2 branch from bc7af8f to d9e2e9b Compare September 20, 2024 22:49
@joperezr
Copy link
Member Author

Merging to get a build ready for validation for 8.2.1. Will address any other feedback in a follow-up.

@joperezr joperezr merged commit ccaa58a into dotnet:release/8.2 Sep 21, 2024
3 of 9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2024
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 10, 2025
@joperezr joperezr deleted the backport/pr-5695-to-release/8.2 branch April 1, 2025 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants