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

Issue 2987333002: Refactor all gRPC proxy code into a single class. (Closed)

Created:
3 years, 4 months ago by aludwin
Modified:
3 years, 4 months ago
Reviewers:
Vadim Sh., M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Refactor all gRPC proxy code into a single class. #

Total comments: 16

Patch Set 3 : Response to review #

Total comments: 16

Patch Set 4 : Response to review #2 #

Patch Set 5 : Test and tweak messages #

Patch Set 6 : Fix unit test failures #

Patch Set 7 : Wrap long line #

Patch Set 8 : Fix pylint errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -214 lines) Patch
M appengine/swarming/doc/Magic-Values.md View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M appengine/swarming/server/bot_archive.py View 1 chunk +1 line, -0 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/remote_client.py View 2 chunks +2 lines, -0 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/remote_client_grpc.py View 1 2 3 4 5 8 chunks +11 lines, -37 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/remote_client_grpc_test.py View 1 2 3 4 5 6 3 chunks +7 lines, -99 lines 0 comments Download
M client/isolate_storage.py View 5 chunks +13 lines, -78 lines 0 comments Download
A client/utils/grpc_proxy.py View 1 2 3 4 5 6 7 1 chunk +268 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 31 (15 generated)
aludwin
Hey Marc-Antoine, Vadim - this is mainly a refactoring to collect all boilerplate gRPC code ...
3 years, 4 months ago (2017-08-01 20:28:49 UTC) #2
M-A Ruel
https://codereview.chromium.org/2987333002/diff/20001/appengine/swarming/swarming_bot/bot_code/remote_client.py File appengine/swarming/swarming_bot/bot_code/remote_client.py (right): https://codereview.chromium.org/2987333002/diff/20001/appengine/swarming/swarming_bot/bot_code/remote_client.py#newcode46 appengine/swarming/swarming_bot/bot_code/remote_client.py:46: grpc_proxy = os.environ.get('SWARMING_GRPC_PROXY', grpc_proxy) We'd need to document these ...
3 years, 4 months ago (2017-08-02 21:05:12 UTC) #3
aludwin
I'll re-test tomorrow before checking in. https://codereview.chromium.org/2987333002/diff/20001/appengine/swarming/swarming_bot/bot_code/remote_client.py File appengine/swarming/swarming_bot/bot_code/remote_client.py (right): https://codereview.chromium.org/2987333002/diff/20001/appengine/swarming/swarming_bot/bot_code/remote_client.py#newcode46 appengine/swarming/swarming_bot/bot_code/remote_client.py:46: grpc_proxy = os.environ.get('SWARMING_GRPC_PROXY', ...
3 years, 4 months ago (2017-08-04 01:44:27 UTC) #4
M-A Ruel
lgtm with comments. https://codereview.chromium.org/2987333002/diff/40001/appengine/swarming/doc/Magic-Values.md File appengine/swarming/doc/Magic-Values.md (right): https://codereview.chromium.org/2987333002/diff/40001/appengine/swarming/doc/Magic-Values.md#newcode55 appengine/swarming/doc/Magic-Values.md:55: /client/utils/grpc_proxy.py for more information. you can ...
3 years, 4 months ago (2017-08-04 02:05:37 UTC) #5
aludwin
https://codereview.chromium.org/2987333002/diff/40001/appengine/swarming/doc/Magic-Values.md File appengine/swarming/doc/Magic-Values.md (right): https://codereview.chromium.org/2987333002/diff/40001/appengine/swarming/doc/Magic-Values.md#newcode55 appengine/swarming/doc/Magic-Values.md:55: /client/utils/grpc_proxy.py for more information. On 2017/08/04 02:05:37, M-A Ruel ...
3 years, 4 months ago (2017-08-04 14:53:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987333002/80001
3 years, 4 months ago (2017-08-04 18:06:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37c73f104f5ce710)
3 years, 4 months ago (2017-08-04 18:15:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987333002/100001
3 years, 4 months ago (2017-08-04 18:35:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37c7594fea9d1c10)
3 years, 4 months ago (2017-08-04 19:11:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987333002/100001
3 years, 4 months ago (2017-08-04 19:22:43 UTC) #18
M-A Ruel
On 2017/08/04 19:11:02, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 4 months ago (2017-08-04 19:26:54 UTC) #19
aludwin
On 2017/08/04 19:26:54, M-A Ruel wrote: > On 2017/08/04 19:11:02, commit-bot: I haz the power ...
3 years, 4 months ago (2017-08-04 19:31:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987333002/120001
3 years, 4 months ago (2017-08-04 19:35:31 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37c7908c39b57d10)
3 years, 4 months ago (2017-08-04 19:44:29 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987333002/140001
3 years, 4 months ago (2017-08-04 19:53:58 UTC) #28
commit-bot: I haz the power
3 years, 4 months ago (2017-08-04 19:58:17 UTC) #31
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://github.com/luci/luci-py/commit/a0cd80426292b7b4775ed2568d7f5130785f8c88

Powered by Google App Engine
This is Rietveld 408576698