-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed upgrade of extension adds to Download count of an extension #9840
Comments
This was discovered in #9799. Strange, I was able to upgrade to the latest |
Could be the same cause #9802 |
I ended up having to reinstall it as you can see in the video. I thought the issue might just be with Catppuccin specifically. Because I had no other extensions to update, I was unable to verify so I chose not to report that. That's why my issue is reporting the counter and not the extension not upgrading. |
We just cherry picked the PR that fixes the original upgrade bug we had into stable, so that should be going out with both preview and stable today. Not sure if its the same bug or not, but if it is, it should be fixed. |
Ok, no worries. Let's close this one out, as it seems like the bug has been fixed for others in similar situations. We can open a new issue if it still exists. |
Just wanted to confirm that yes the new update did indeed fix the issue with the extension not updating. However as you can see the counter for the total downloads is still going up even though I am just updating the extension. I was under the impression the counter reflected unique downloads. Is the counter supposed to account for upgrades as well? Note The gif is a little misleading since it's looping (oops), but I can confirm that the upgrade button does not show up again. |
@Suhaybu - yeah, right now our system for bumping the count needs a bit of work. It also allows bumps the count when uninstalling and installing, allowing anyone to boost their package's count, if they really wanted. So yeah, we have a few things to fix in the area of extension download count. |
Check for existing issues
Describe the bug / provide steps to reproduce it
For some reason I was unable to upgrade the Catppuccin Theme, however despite the upgrade failing, I could see the counter of total downloads go up.
I'm not sure if adding upgrades to the total download count was intended as that would mean an extension with many updates is just going to have huge advantage just because the developer pushed a bunch of updates.
Video attached for demonstration.
🎩
😃 Have a good day
Environment
Zed: v0.127.5 (Zed)
OS: macOS 14.4.1
Memory: 8 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
CleanShot.2024-03-27.at.05.15.11.mp4
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.These logs go on for the same number of times I attempted to install it.
The text was updated successfully, but these errors were encountered: