dart-lang / pub-dev

The pub.dev website
https://pub.dev
BSD 3-Clause "New" or "Revised" License
768 stars 146 forks source link

Repo and Issue Tracker Unreachable via HEAD Request #7388

Open appfluent opened 6 months ago

appfluent commented 6 months ago

I keep getting the following errors intermittently during package analysis and my score drops until I push a new version:

Repository URL doesn't exist. At the time of the analysis https://github.com/appfluent/xwidget was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist. At the time of the analysis https://github.com/appfluent/xwidget/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Maybe there should be a retry count and period or maybe the retry values need to be adjusted to give more time between retries? Thanks!

isoos commented 6 months ago

package analysis and my score drops until I push a new version:

Note: this usually only happens when we release a new site version and try to re-analyze all of the versions at once, we are likely rate-limited by GitHub. We periodically re-analyze versions, and the next time it should correct the score (without you publishing a new version). We are considering different approaches to address his issue.

renancaraujo commented 6 months ago

This affects the visibility of the links in the sidebar. This should change e even if the link is "unrechable" at time of analysis, maybe it should not be hidden in the sidebar.

Maybe toa ddress that, pana sohuld include somethign like UrlWithIssue in the AnalysisResult class and then pub.dev can decide to show with a warning (or under a hidden links section)?

jonbhanson commented 6 months ago

This is affecting my package flutter_native_splash.

Piinks commented 5 months ago

Looks like this is also affecting several packages in flutter/packages, see the pub scores listed and linked to here: https://github.com/flutter/packages/blob/main/README.md#packages

babincc commented 5 months ago

All of my packages have been dinged from 140 points to 130 because of this, and their issue tracker link on the right-hand sidebar is hidden because of it.

Just adding this comment to hopefully help bump this issue up on the priority list.

isoos commented 5 months ago

Note: there is a temporary "fix" on the way.

However, @babincc: can you link to one of the packages? I thought that if the repository is verified we use it for linking, but I might be wrong.

babincc commented 5 months ago

@isoos Here is my publisher page with all of my packages https://pub.dev/publishers/hexcat.dev/packages