Skip to content
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

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

Open
mhammerc opened this issue Aug 27, 2024 · 2 comments
Open

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

mhammerc opened this issue Aug 27, 2024 · 2 comments

Comments

@mhammerc
Copy link

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!

@mhammerc mhammerc changed the title Package analysis isn't starting. Package analysis is not starting (pending) and says no log Aug 27, 2024
@isoos
Copy link
Collaborator

isoos commented Sep 2, 2024

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.

@isoos isoos added the Type: bug label Sep 2, 2024
@mhammerc
Copy link
Author

mhammerc commented Sep 2, 2024

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!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants