Suppress analytics flag pass through to analysis server#123235
Suppress analytics flag pass through to analysis server#123235auto-submit[bot] merged 14 commits intoflutter:masterfrom
Conversation
| await server.dispose(); | ||
| }); | ||
|
|
||
| testUsingContext('Can run AnalysisService without suppressing analytics', () async { |
There was a problem hiding this comment.
This is largely a cut and paste from a different test. I'm not happy about how complicated it is, but my attempts to simplify it resulted in puzzling errors and hangs. Suggestions welcome.
andrewkolos
left a comment
There was a problem hiding this comment.
LGTM; but, if this change can wait, I'd consider getting a review from @eliasyishak or @christopherfujino since they are likely more familiar with the context of this change
|
@jcollins-g is this part of the unified analytics project? That is, relying on https://pub.dev/packages/unified_analytics. I thought that the idea was that the analyzer would have direct access to whether or not the user has opted in to analytics? |
Yes, and you are correct in the common case. This change is for the edge case when a flutter user is opted in to analytics generally, but has passed in |
Ahh, ok, TIL the flutter tool implements that flag :) SGTM |
|
@jcollins-g any time you're ready to merge this, you can add the "autosubmit" label to this PR, and a bot will merge it once the tree is green. |
|
auto label is removed for flutter/flutter, pr: 123235, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
auto label is removed for flutter/flutter, pr: 123235, due to - The status or check suite Linux firebase_abstract_method_smoke_test has failed. Please fix the issues identified (or deflake) before re-applying this label. |
This allows
flutter analyzeto pass through the new--suppress-analyticsflag in analysis server when--suppress-analyticsis on thefluttercommand line.Issue: dart-lang/sdk#49445
Pre-launch Checklist
///).