Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Issue 2963323002: Add analytics to analyzer-cli and analysis server. (Closed)

Created:
3 years, 5 months ago by devoncarew
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org, kevmoo
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : suppress analytics for integration tests; update the gn files #

Total comments: 8

Patch Set 3 : use null aware operators to reference the analytics and crash reporting objects #

Patch Set 4 : dartfmt #

Total comments: 6

Patch Set 5 : update from review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -89 lines) Patch
M DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/analysis_server.dart View 1 2 3 4 4 chunks +27 lines, -3 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_analysis.dart View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_server.dart View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M pkg/analysis_server/lib/src/edit/edit_domain.dart View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/server/driver.dart View 1 10 chunks +74 lines, -22 lines 0 comments Download
M pkg/analysis_server/pubspec.yaml View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/domain_server_test.dart View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/analysis_server/test/integration/support/integration_tests.dart View 1 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/analyzer_cli/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer_cli/analysis_options.yaml View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer_cli/bin/analyzer.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/analyzer_cli/lib/src/build_mode.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/lib/src/driver.dart View 1 2 3 4 8 chunks +66 lines, -8 lines 0 comments Download
M pkg/analyzer_cli/lib/src/options.dart View 9 chunks +55 lines, -11 lines 0 comments Download
M pkg/analyzer_cli/lib/starter.dart View 1 2 chunks +3 lines, -1 line 0 comments Download
M pkg/analyzer_cli/pubspec.yaml View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analyzer_cli/test/analysis_options_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/test/driver_test.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M pkg/analyzer_cli/test/embedder_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analyzer_cli/test/errors_reported_once_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/test/errors_upgrade_fails_cli_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/test/options_test.dart View 1 2 3 4 4 chunks +51 lines, -5 lines 0 comments Download
M pkg/analyzer_cli/test/package_prefix_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/test/sdk_ext_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer_cli/test/strong_mode_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analyzer_cli/test/super_mixin_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
A pkg/telemetry/BUILD.gn View 1 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/telemetry/lib/crash_reporting.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M pkg/telemetry/lib/telemetry.dart View 4 chunks +29 lines, -5 lines 0 comments Download
M pkg/telemetry/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/telemetry/test/crash_reporting_test.dart View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
devoncarew
Add analytics to analyzer-cli and analysis server. (I may still have some open work left ...
3 years, 5 months ago (2017-06-30 18:00:09 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2963323002/diff/1/pkg/analysis_server/lib/src/domain_analysis.dart File pkg/analysis_server/lib/src/domain_analysis.dart (right): https://codereview.chromium.org/2963323002/diff/1/pkg/analysis_server/lib/src/domain_analysis.dart#newcode251 pkg/analysis_server/lib/src/domain_analysis.dart:251: server.options.analytics.sendEvent('analysis', 'reanalyze'); For consistency it might be useful ...
3 years, 5 months ago (2017-06-30 18:51:22 UTC) #3
devoncarew
Updated for review comments. Also, I added some code to allow us to suppress analytics ...
3 years, 5 months ago (2017-06-30 21:58:14 UTC) #4
devoncarew
Zach, I added a gn file for one new package, and updated two others. Can ...
3 years, 5 months ago (2017-06-30 21:59:22 UTC) #6
zra
GN lgtm
3 years, 5 months ago (2017-06-30 22:06:53 UTC) #7
Brian Wilkerson
lgtm https://codereview.chromium.org/2963323002/diff/20001/pkg/analysis_server/lib/src/analysis_server.dart File pkg/analysis_server/lib/src/analysis_server.dart (right): https://codereview.chromium.org/2963323002/diff/20001/pkg/analysis_server/lib/src/analysis_server.dart#newcode917 pkg/analysis_server/lib/src/analysis_server.dart:917: await new Future(() { We don't currently wait. ...
3 years, 5 months ago (2017-06-30 22:52:17 UTC) #8
scheglov
https://codereview.chromium.org/2963323002/diff/20001/pkg/analysis_server/lib/src/analysis_server.dart File pkg/analysis_server/lib/src/analysis_server.dart (right): https://codereview.chromium.org/2963323002/diff/20001/pkg/analysis_server/lib/src/analysis_server.dart#newcode913 pkg/analysis_server/lib/src/analysis_server.dart:913: Future shutdown() async { Future<Null> https://codereview.chromium.org/2963323002/diff/20001/pkg/analysis_server/lib/src/analysis_server.dart#newcode1070 pkg/analysis_server/lib/src/analysis_server.dart:1070: void addMocks() ...
3 years, 5 months ago (2017-06-30 23:36:30 UTC) #9
devoncarew
Reworked slightly: - we now have a way to close any in-progress analytics requests, so ...
3 years, 5 months ago (2017-07-01 22:18:05 UTC) #10
scheglov
lgtm
3 years, 5 months ago (2017-07-02 00:59:22 UTC) #11
Brian Wilkerson
lgtm https://codereview.chromium.org/2963323002/diff/60001/pkg/analysis_server/lib/src/analysis_server.dart File pkg/analysis_server/lib/src/analysis_server.dart (right): https://codereview.chromium.org/2963323002/diff/60001/pkg/analysis_server/lib/src/analysis_server.dart#newcode1064 pkg/analysis_server/lib/src/analysis_server.dart:1064: /// The analytics instance; note, this object can ...
3 years, 5 months ago (2017-07-02 15:54:26 UTC) #12
devoncarew
https://codereview.chromium.org/2963323002/diff/60001/pkg/analysis_server/lib/src/analysis_server.dart File pkg/analysis_server/lib/src/analysis_server.dart (right): https://codereview.chromium.org/2963323002/diff/60001/pkg/analysis_server/lib/src/analysis_server.dart#newcode1064 pkg/analysis_server/lib/src/analysis_server.dart:1064: /// The analytics instance; note, this object can be ...
3 years, 5 months ago (2017-07-04 02:35:48 UTC) #13
devoncarew
3 years, 5 months ago (2017-07-06 06:29:08 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
d4abd49df7466b795988b28b9abfd5ebee35ee49 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698