PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

PowerShell Gallery - Issue with Download Stats

Open pbafna03 opened this issue 3 years ago • 23 comments

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest version
  • [X] Search the existing issues.

Steps to reproduce

(1) Latest versions are NOT showing download stats, it's showing up as 0 across multiple modules

image

image

(2) View Full Stats is showing older versions, instead of latest versions

image

Expected behavior

(1) Right download numbers to show for all versions

(2) Recent versions to show in Full stats page

Actual behavior

(1) Recent versions showing 0 downloads despite lot of downloads and usage

(2) Older versions are showing in the Full stats page

Error details

No response

Environment data

PowerShell Gallery Production

Version

Prod

Visuals

No response

pbafna03 avatar Nov 09 '22 17:11 pbafna03

I am also experiencing this issue - I tried contacting support a couple days ago but haven’t heard anything back.

seanmcne avatar Nov 11 '22 13:11 seanmcne

Same issue with a module we posted on 11/7/22. [email protected] is not replying to emails either. Is anyone from MSFT looking at the issues?

mikenelson-io avatar Nov 11 '22 18:11 mikenelson-io

@pbafna03 @seanmcne @mikenelson-io thanks for reaching out. We are looking into this and working to resolve it, but don't have a definitive timeframe for the solution at the moment.

anamnavi avatar Nov 14 '22 19:11 anamnavi

@anamnavi if you could provide some level of updates here, that would be greatly appreciated. Stats are quite important to many of us as it gives us an idea of version update uptake, etc. Additionally, consumers of the gallery look at stats and see 0 and assume there is a bug or issue with the module update leading to confusion.

seanmcne avatar Nov 15 '22 15:11 seanmcne

I totally understand, I'll discuss with the team and provide a better estimate of when this work will be done by Thursday.

anamnavi avatar Nov 16 '22 15:11 anamnavi

We have potentially found the issue and are working on the fix.

adityapatwardhan avatar Nov 17 '22 21:11 adityapatwardhan

The package download statistics are now visible on PowerShell Gallery. Please let us know if you see otherwise.

adityapatwardhan avatar Nov 18 '22 19:11 adityapatwardhan

If this was fixed, surely the date that the latest stats were updated, would be more recent.......but then I guess it really depends on your perception of what recent means. For me, it usually means at least within the same year.

image

Please advise what you mean when you say the stats are now visible.....did you just mean they had totally disappeared and that is what you have fixed? Because it certainly has nothing to do with their accuracy.

BanterBoy avatar Nov 18 '22 22:11 BanterBoy

@BanterBoy our apologies, you're correct...we've resolved the first half of this issue where on a given package's page the download count for the version was reflecting 0, not the actual number. (Scenario #1 in the Expected Results section of this issue)

The second half of this issue, regarding Scenario #2 in the Expected Results section of this issue and what's listed in your comment, is not yet resolved. We'll have it resolved by next week.

anamnavi avatar Nov 21 '22 19:11 anamnavi

@adityapatwardhan this still seems to be broken -- stats for packages I own have been frozen since some time in the list 2-3 weeks. I have packages uploaded a few days ago with zero downloads even though I know I've downloaded them. :)

adamedx avatar Feb 23 '23 16:02 adamedx

Same here

BohrenAn avatar Feb 23 '23 19:02 BohrenAn

@adamedx - what the name of the package?

adityapatwardhan avatar Feb 23 '23 20:02 adityapatwardhan

autographps autographps-sdk scriptclass. The first two have zero downloads, the last one has 144 but it stopped updating a few days ago. I have been downloading and installing them, so I know the numbers should go up. :)

adamedx avatar Feb 25 '23 02:02 adamedx

Same thing seems to happen for powershell-yaml as well. Don't really mind, but noticed it was happening then I stumbled over this bug :smile: .

gabriel-samfira avatar Feb 26 '23 16:02 gabriel-samfira

Ok, just in the last few hours the numbers went from 0 to 7 for one of mine, so maybe this is starting to fix itself...

adamedx avatar Mar 03 '23 23:03 adamedx

Yup. Same here. Thanks!

gabriel-samfira avatar Mar 03 '23 23:03 gabriel-samfira

Thanks, closing this issue as fixed

SydneyhSmith avatar Mar 06 '23 19:03 SydneyhSmith

This issue is closed, but I'm having the same behavior with my packages, is there anything I have to do? Noticed the statistics don't compute for a while.

image

image

FranciscoNabas avatar Sep 09 '23 22:09 FranciscoNabas

The issue was resolved but it started again about 10 days ago, we are currently investigating a fix...stats are collecting they just aren't copying over correctly as far as we can tell

SydneyhSmith avatar Sep 11 '23 16:09 SydneyhSmith

Thanks for the update @SydneyhSmith . I noticed this problem with my package as well and came to report it. Just an FYI that it seems to be a problem for all packages, not just specific ones. You can see this if you look at the top 100 downloaded packages page.

image

deadlydog avatar Sep 18 '23 18:09 deadlydog

Still broken, apparently:

image

image

tig avatar Nov 08 '23 21:11 tig