-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CP] [analyzer] Limit the number of plugins-per-context to one #51062
Comments
@srawlins based on your risk assessment, I don't know if I feel like this cherry-pick is worth the risk so close to the launch. Do we feel like this is impacting users enough to take the risk? Are we against having this in the first batch of hotfixes to stable post dart 2.19? |
I agree, but I'll let @mit-mit @bwilkerson and @devoncarew weigh in.
We don't have much data at all, as we don't have analytics.
I would be fine with that. |
For transparency, I haven't looked through the commits to eval them, but just based on the size, I would hold off on cherry-picking into beta for the launch. But this is something we want in 2.19 generally; I would be in favor of cherry-picking it for the hot-fixes post-launch. It's an important issue to address and having this fix in 2.19 will help us with messaging to the community ('here are some upcoming changes...'). |
(also, @srawlins, thanks for taking this on!) |
Thanks for weighing in @srawlins and @devoncarew with that, can we cancel the cherry-pick to beta and stage this for a cherry-pick to stable once we launch the next version? |
sgtm |
1 similar comment
sgtm |
Please re-evaluate for stable. |
@srawlins did we ever post a stable cherry-pick for this issue? |
This has not landed on stable yet, and a stable hotfix will be built tomorrow. |
I'll try to get to this today, but it could take a while. I wouldn't wait for me. |
Replacing with #51272 to merge to stable. |
I'm using a few linting packages, and I'm getting this warning about having multiple plugins, perhaps it's useful to some people to be able to have more than one plugin active, maybe behind an advanced flag in |
Commit(s) to merge
0ab9f97 and 5fe2f3b
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/279324
Issue Description
Some users complain on social media that the Dart Analysis Server is slow and consumes a lot of memory. One theory is that these users may be using multiple analyzer plugins and are unaware that they are, or unaware that these multiple analyzer plugins are the culprit. To mitigate this issue, we are limiting the number of analyzer plugins per analysis context to 1.
What is the fix
The fix is to limit the number of analyzer plugins per analysis context to 1.
Why cherry-pick
It may be a pressing issue that some users have a poor editing experience due to multiple plugins being run simultaneously. We'd like to fix this before Dart 3.
Risk
medium
Issue link(s)
#50981
Extra Info
I write 'medium' risk, without really knowing what 'low', 'medium', or 'high' mean, for a few reasons:
The text was updated successfully, but these errors were encountered: