NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 253 forks source link

Download counts do not appear for packages suggested by Package Recommender #10714

Open joelverhagen opened 3 years ago

joelverhagen commented 3 years ago

Details about Problem

NuGet product used: Visual Studio Product version: 16.10.0, preview 2 Worked before? Version prior to package recommender

Repro steps and/or sample project

Open the Browse tab on the PM UI. Ensure you have Package Recommender enabled (my understanding is that it's an A/B test, but I am not sure)

image

joelverhagen commented 3 years ago

Strangely, the download counts work for the V2 feed: https://www.nuget.org/api/v2 image

dominoFire commented 3 years ago

@birgithi FYI

zkat commented 3 years ago

@jebriede can you please follow up with the package recommender team to see if this is even possible?

nkolev92 commented 2 years ago

@chgill-MSFT @jebriede

Can you please define the expected behavior. Is this still something we care about?

stamminator commented 2 years ago

Looks like the "over one billion" issue again: https://github.com/NuGet/Home/issues/10864. Maybe a regression caused by https://github.com/NuGet/NuGet.Client/pull/4255.

image

nkolev92 commented 2 years ago

@stamminator

Shouldn't be related to that. The gist is that the download counts are only available through the search server side API and NuGet does not call that right now, as it'd require it to call it for every individual package.

stamminator commented 2 years ago

@nkolev92 Seems like an awful coincidence though that in both cases, it seems to be related to hitting the 1 billion figure.

nkolev92 commented 2 years ago

@stamminator

In this the download counts are not getting display for any of the recommended packages. If you look at your screenshot, you'll notice that none of the packages with a 'star' have a download count.