Pub-dev: Awaiting analysis to complete taking a long time

Created on 16 Feb 2019  路  12Comments  路  Source: dart-lang/pub-dev

I've submitted updates to several packages over an hour ago and they are all still "Awaiting analysis to complete"

In addition, it's impossible to search for them. Is there some sort of maintenance which is causing all of this? Normally, everything is updated almost immediately after a submission.

See the following for an example:
https://pub.dartlang.org/packages/bloc
https://pub.dartlang.org/packages/flutter_bloc

Most helpful comment

@felangel: it looks like your new version of flutter_bloc did get the cache updated for that version, but the bloc did not (yet). The search is connected with the analysis, and it is failing for the same reason (and another search-related one, see #2053 and #2057).

In general we don't recommend to publish a new version in the hope that it will "fix the site". It is very likely that you'll hit the same issue, and the new version won't fix everything by itself. A missing analysis is not a show-stopper for neither publishing, nor downloading packages, and we will do our best to fix it on regular work hours. Once the related code is fixed, the package will get re-analyzed and you'll see the scores.

All 12 comments

The log entries show that both packages were picked up and the analysis was completed, there were no indication of an error while we stored the analysis results. It looks like we have an issue with the caching, and the new results didn't show up on the page yet. In worst case, you should see the results in ~24 hours.

I'll address the caching issue next week, sorry for the inconvenience.

Thanks for the quick reply! I was planning on pushing additional updates later today, do you think that would invalidate the cache?

Update: @isoos I pushed an additional update and nothing has changed 馃槥
Also, I'm noticing dependencies are no longer showing up and in general it's like the packages no longer exist unless you access them directly via the above URLs. 馃樁

@felangel: it looks like your new version of flutter_bloc did get the cache updated for that version, but the bloc did not (yet). The search is connected with the analysis, and it is failing for the same reason (and another search-related one, see #2053 and #2057).

In general we don't recommend to publish a new version in the hope that it will "fix the site". It is very likely that you'll hit the same issue, and the new version won't fix everything by itself. A missing analysis is not a show-stopper for neither publishing, nor downloading packages, and we will do our best to fix it on regular work hours. Once the related code is fixed, the package will get re-analyzed and you'll see the scores.

@isoos just another update:
Now all packages have a score but when I search for bloc (https://pub.dartlang.org/packages/bloc) it鈥檚 nowhere to be found.

When I search for angular bloc, bloc shows up 馃

@felangel: yes, search index missing the new analysis is known, and fix is done for that, but not deployed to production yet.

@isoos looks like everything is back to normal 馃帀. Would you like me to close this issue?

@felangel let's keep this open until we fix the underlying causes, thanks!

@felangel: yes, search index missing the new analysis is known, and fix is done for that, but not deployed to production yet.

is this problem the same as what happened at #2068 ?

If yes, then I will close my issue.

Yes, it is the same root cause. The fix is already done, but it hasn't been deployed to prod yet.

@isoos Thanks for your quick response dude.

The fix was deployed to prod today, closing.

@isoos Thanks for reporting it dude 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gyoko picture Gyoko  路  6Comments

mit-mit picture mit-mit  路  5Comments

erickzanardo picture erickzanardo  路  5Comments

prasant10050 picture prasant10050  路  4Comments

jonasfj picture jonasfj  路  3Comments