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

Issue 2911193003: Expose named caches as dimensions. (Closed)

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

Description

Expose named caches as dimensions. The implementation has a lot to be desired but the assumptions are well documented and the implementation is trivial. Refactor later if needed. Include smoke test to confirm that it works as expected. R=nodir@chromium.org BUG=728127 Review-Url: https://codereview.chromium.org/2911193003 Committed: https://github.com/luci/luci-py/commit/6bdac1c6b9a57cdcd73d6b29ceba13a9547e2a40

Patch Set 1 : . #

Total comments: 3

Patch Set 2 : sort #

Patch Set 3 : Use state.json instead #

Total comments: 2

Patch Set 4 : Remove os.getcwd() #

Patch Set 5 : Fixed smoke test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -30 lines) Patch
M appengine/swarming/local_smoke_test.py View 1 2 3 4 7 chunks +63 lines, -9 lines 0 comments Download
M appengine/swarming/swarming_bot/api/os_utilities.py View 1 2 3 3 chunks +29 lines, -0 lines 0 comments Download
M appengine/swarming/tools/start_bot.py View 1 2 3 4 4 chunks +41 lines, -21 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
M-A Ruel
Tested on staging in addition to the smoke test. The 4 lines are horrible but ...
3 years, 6 months ago (2017-05-31 16:44:07 UTC) #7
nodir
https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py File appengine/swarming/swarming_bot/api/os_utilities.py (right): https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py#newcode536 appengine/swarming/swarming_bot/api/os_utilities.py:536: d = os.path.join(os.getcwd(), u'c', u'named') "named" symlinks are best ...
3 years, 6 months ago (2017-05-31 16:52:06 UTC) #8
M-A Ruel
https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py File appengine/swarming/swarming_bot/api/os_utilities.py (right): https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py#newcode536 appengine/swarming/swarming_bot/api/os_utilities.py:536: d = os.path.join(os.getcwd(), u'c', u'named') On 2017/05/31 16:52:06, nodir ...
3 years, 6 months ago (2017-05-31 20:45:32 UTC) #10
nodir
lgtm https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py File appengine/swarming/swarming_bot/api/os_utilities.py (right): https://codereview.chromium.org/2911193003/diff/40001/appengine/swarming/swarming_bot/api/os_utilities.py#newcode536 appengine/swarming/swarming_bot/api/os_utilities.py:536: d = os.path.join(os.getcwd(), u'c', u'named') On 2017/05/31 20:45:32, ...
3 years, 6 months ago (2017-05-31 21:03:22 UTC) #11
M-A Ruel
https://codereview.chromium.org/2911193003/diff/100001/appengine/swarming/swarming_bot/api/os_utilities.py File appengine/swarming/swarming_bot/api/os_utilities.py (right): https://codereview.chromium.org/2911193003/diff/100001/appengine/swarming/swarming_bot/api/os_utilities.py#newcode537 appengine/swarming/swarming_bot/api/os_utilities.py:537: with open(os.path.join(os.getcwd(), u'c', u'state.json'), 'rb') as f: On 2017/05/31 ...
3 years, 6 months ago (2017-06-02 22:05:31 UTC) #12
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/2911193003/120001
3 years, 6 months ago (2017-06-02 22:05:44 UTC) #15
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/3683c5a76a80f710)
3 years, 6 months ago (2017-06-02 22:39:43 UTC) #17
M-A Ruel
On 2017/06/02 22:39:43, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 6 months ago (2017-06-05 18:00:39 UTC) #18
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/2911193003/140001
3 years, 6 months ago (2017-06-05 18:00:52 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-06-05 18:06:07 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://github.com/luci/luci-py/commit/6bdac1c6b9a57cdcd73d6b29ceba13a9547e2a40

Powered by Google App Engine
This is Rietveld 408576698