You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression when matching to database as uninstrumented peer #10452
This call to a database no longer matches the database resource:
I think it could be caused by the address matching to the database and the database container. Possibly introduced by #10411 (or the earlier PR which updated matching to use additional values)
Edit: reverted to before and after #10411 and it is definitely the cause
Expected Behavior
From viewing a trace of visiting the online store in TestShop.
Activity
JamesNK commentedon Jul 16, 2025
cc David Fowler (@davidfowl)
JamesNK commentedon Jul 16, 2025
It also doesn't match replicas when a request is made to a replica but the server span from the replica has finished yet:
Previously one of the replicas was chosen.
davidfowl commentedon Jul 16, 2025
Its possible that we need more complex logic here but for 9.4 we will just remove this logic (revert the change). Lets put this logic back https://github.com/dotnet/aspire/blob/b154569156fa3f01ee720e38e53852739efb5fcc/src/Aspire.Dashboard/Model/ResourceOutgoingPeerResolver.cs#L195-L205 to first one wins and revert the tests that were added in https://github.com/dotnet/aspire/pull/10411.diff as well