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

Issue 2922153002: Log uses of isolate archive and exparchive when 'chromium' build tag is set.

Created:
3 years, 6 months ago by mcgreevy
Modified:
3 years, 6 months ago
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Log uses of isolate archive and exparchive when 'chromium' build tag is set. This can be disabled by setting eventlog-endpoint to none. The purpose of this change is to facilitate tracking down uses of isolate {,batch_}archive so that they can be migrated to exp_archive. Note: batch_archive is not included in this CL because it does not yet log at all. But it will behave in the same way as {,exp_}archive when logging is added to it in a followup CL. BUG=727985

Patch Set 1 #

Patch Set 2 : fix rebase #

Patch Set 3 : set upstream #

Total comments: 3

Patch Set 4 : use build tags to enable autologging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -16 lines) Patch
M client/cmd/isolate/archive.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A client/cmd/isolate/build_chromium.go View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M client/cmd/isolate/common.go View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M client/cmd/isolate/exp_archive.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M client/cmd/isolate/isolate_event_logger.go View 1 2 3 3 chunks +26 lines, -13 lines 0 comments Download
A client/cmd/isolate/no_build_chromium.go View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (4 generated)
mcgreevy
3 years, 6 months ago (2017-06-06 00:51:50 UTC) #3
mithro
lgtm
3 years, 6 months ago (2017-06-06 00:56:44 UTC) #4
tandrii(chromium)
https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go File client/cmd/isolate/common.go (right): https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go#newcode145 client/cmd/isolate/common.go:145: f.StringVar(&lf.EventlogEndpoint, "eventlog-endpoint", "auto", eventlogEndpointHelp) IMO, this should default to ...
3 years, 6 months ago (2017-06-06 07:14:48 UTC) #6
tandrii(chromium)
On 2017/06/06 07:14:48, tandrii(chromium) wrote: > https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go > File client/cmd/isolate/common.go (right): > > https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go#newcode145 > ...
3 years, 6 months ago (2017-06-06 07:15:06 UTC) #7
mcgreevy
On 2017/06/06 07:14:48, tandrii(chromium) wrote: > https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go > File client/cmd/isolate/common.go (right): > > https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/common.go#newcode145 > ...
3 years, 6 months ago (2017-06-06 23:56:39 UTC) #8
mcgreevy
@maruel, would you mind commenting on this CL? I would appreciate your perspective.
3 years, 6 months ago (2017-06-06 23:57:09 UTC) #9
mithro
On 2017/06/06 23:57:09, mcgreevy wrote: > @maruel, would you mind commenting on this CL? I ...
3 years, 6 months ago (2017-06-07 00:14:54 UTC) #10
M-A Ruel
https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/isolate_event_logger.go File client/cmd/isolate/isolate_event_logger.go (right): https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/isolate_event_logger.go#newcode19 client/cmd/isolate/isolate_event_logger.go:19: // When --eventlog-endpoint=auto, we decide to send eventlogs based ...
3 years, 6 months ago (2017-06-08 14:06:06 UTC) #11
mcgreevy
https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/isolate_event_logger.go File client/cmd/isolate/isolate_event_logger.go (right): https://codereview.chromium.org/2922153002/diff/40001/client/cmd/isolate/isolate_event_logger.go#newcode19 client/cmd/isolate/isolate_event_logger.go:19: // When --eventlog-endpoint=auto, we decide to send eventlogs based ...
3 years, 6 months ago (2017-06-08 23:19:01 UTC) #12
mcgreevy
3 years, 6 months ago (2017-06-09 01:56:53 UTC) #14
OK, I've switched this to use a build tag instead of looking at which isolate
server is being used.

The corresponding recipe change to make use of this is at:
https://chromium-review.googlesource.com/c/527778/

Powered by Google App Engine
This is Rietveld 408576698