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

Issue 2999263002: add bazel worker for summary generation (Closed)

Created:
3 years, 4 months ago by jakemac
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : code review updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
M pkg/front_end/pubspec.yaml View 1 chunk +2 lines, -0 lines 0 comments Download
A pkg/front_end/tool/bazel/worker.dart View 1 1 chunk +110 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (3 generated)
jakemac
3 years, 4 months ago (2017-08-18 17:29:32 UTC) #2
Siggi Cherem (dart-lang)
thanks Jake! lgtm with minor comments. https://codereview.chromium.org/2999263002/diff/1/pkg/front_end/tool/bazel/worker.dart File pkg/front_end/tool/bazel/worker.dart (right): https://codereview.chromium.org/2999263002/diff/1/pkg/front_end/tool/bazel/worker.dart#newcode13 pkg/front_end/tool/bazel/worker.dart:13: main(List<String> args) async ...
3 years, 4 months ago (2017-08-21 20:16:49 UTC) #3
jakemac
https://codereview.chromium.org/2999263002/diff/1/pkg/front_end/tool/bazel/worker.dart File pkg/front_end/tool/bazel/worker.dart (right): https://codereview.chromium.org/2999263002/diff/1/pkg/front_end/tool/bazel/worker.dart#newcode13 pkg/front_end/tool/bazel/worker.dart:13: main(List<String> args) async { On 2017/08/21 20:16:49, Siggi Cherem ...
3 years, 4 months ago (2017-08-21 21:16:38 UTC) #4
jakemac
Committed patchset #2 (id:20001) manually as 649345392a4ed96a9203a393a8bf7c64b8930099 (presubmit successful).
3 years, 4 months ago (2017-08-21 21:23:04 UTC) #6
ahe
https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/bazel/worker.dart File pkg/front_end/tool/bazel/worker.dart (right): https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/bazel/worker.dart#newcode101 pkg/front_end/tool/bazel/worker.dart:101: options.throwOnWarnings = true; This is an internal option that ...
3 years, 3 months ago (2017-08-24 11:14:35 UTC) #8
jakemac
On 2017/08/24 11:14:35, ahe wrote: > https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/bazel/worker.dart > File pkg/front_end/tool/bazel/worker.dart (right): > > https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/bazel/worker.dart#newcode101 > ...
3 years, 3 months ago (2017-08-29 15:08:53 UTC) #9
ahe
3 years, 3 months ago (2017-08-29 15:16:26 UTC) #10
Message was sent while issue was closed.
On 2017/08/29 15:08:53, jakemac wrote:
> On 2017/08/24 11:14:35, ahe wrote:
> >
>
https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/baze...
> > File pkg/front_end/tool/bazel/worker.dart (right):
> > 
> >
>
https://codereview.chromium.org/2999263002/diff/20001/pkg/front_end/tool/baze...
> > pkg/front_end/tool/bazel/worker.dart:101: options.throwOnWarnings = true;
> > This is an internal option that makes Fasta crash prematurely. It don't
think
> > you want that.
> 
> In general we do want to fail on warnings as well as errors internally, and
the
> earlier the better.
> 
> In worker mode we wrap this in a try/catch so it won't crash the worker, and
in
> standalone mode throwing with a stack trace is the desired behavior.
> 
> Is your concern that we won't report all errors since we error immediately?

My concern is that you're using a debugging option that probably shouldn't be
exposed this way in the API.

It would be more future proof if you use onError.

Powered by Google App Engine
This is Rietveld 408576698