dart-lang / pub-dev

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

Package analysis is not starting (`pending`) and says `no log` #7981

Open mhammerc opened 2 weeks ago

mhammerc commented 2 weeks ago

Hello!

Thank you all for this amazing website and ecosystem. Greatly appreciated.

I have published my first package googleapis_grpc.

On the first few versions, the analysis crashed with an error from me, which I have fixed. Since I have fixed it, analysis isn't starting. Is says "pending analysis" until it abandon waiting for it and says "unknown platforms".

The analysis log content is: "no log".

https://pub.dev/packages/googleapis_grpc/versions/1.0.4/score/log.txt

Therefore, I have no insight on what is wrong in my package to fix it.

I don't know where to go next. Could you help me?

Thank you very much!

isoos commented 1 week ago

Thanks for reporting this!

First investigation showed that the backend did not create an appropriate tracking object (PackageState) for the analysis, and the backfill for that happens every 7 days. Now you have published a new version, it updated the said object, we'll monitor how the analysis will go. On top of that the package is a bit large, and we may not be able to handle the timeout feedback all the time.

We have plans to make sure the tracking object is monitored/updated more frequently than one week (it is really about sanity check), and we'll try to check how the analysis of this large package may break down in other ways.

mhammerc commented 1 week ago

Thank you for your answer !

The package is not large anymore. Since the last few versions, it is only 3mb. (unless 3mb is considered large!)