-
Notifications
You must be signed in to change notification settings - Fork 160
Why is my package always pending analysis? #8714
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
Comments
The result of moluo@ubuntu:~/work/flutter/jsf$ dart pub publish --dry-run
......
Total compressed archive size: 2 MB.
Validating package... (2.1s)
The server may enforce additional checks.
Package has 0 warnings. |
I also have same issue.my code is clean and zero error . But analysis is takeing too long why? |
i am facing same issue. [pending analysis] not finished yet from yesterday ! |
Yeah, all analysis have stopped. I tracked it down in logs to:
Clearly, we to bump the version of COS we're using for analysis tasks. |
PR in progress: #8716 |
Hi @jonasfj, Could you please confirm if everything looks okay at this point? We're considering publishing a patch version to re-trigger analysis. However, if the issue persists after the version bump, it might look odd to users seeing the package stuck in “Analyzing…” again. Thanks in advance! |
@PeeyushSachan If you release a new version, both versions will be in the |
@moluopro Oh, it's not good |
We're updating production services today, if there is nothing blocking the deployment. This will trigger an analysis of all package versions that are subject to analysis (we don't analyze all versions, mostly few most recent versions and some most recent major versions). This usually takes a few hours for the VMs to chew through all the packages. I would expect the Be ware this only really affects package have been updated in the past ~1-2 days, and most of them have an old analysis result that we use to derive platform and SDK tags from. |
@moluopro the exact logic is: pub-dev/app/lib/task/backend.dart Lines 1213 to 1221 in 2326f83
Basically, we don't analyze all versions, but we pick a subset of versions to analyze. @PeeyushSachan, I would not suggest publishing a patch version to retrigger analysis. It'll happen automatically and we are analyzing all packages when we do a new deployment anyways. Years ago we used to have some logic that prioritized which packages to analyze first, I think we had 5-10 VMs running all analysis. As I recall I largely deleted all the prioritization code in favor of just using ~1000 ephemeral VMs for running analysis tasks. So publishing a patch version to trigger analysis won't do much. |
@jonasfj Ok cool. Thanks for clarifying ✅ |
URL: https://pub.dev/packages/jsf/versions
As seen on the far right of the picture, the package I published 18 hours ago is still
pending
. Maybe there's an issue with my code, but I'm not receiving any feedback.The text was updated successfully, but these errors were encountered: