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

Issue 2212073002: Add endpoint and cron job to aggregate all dimensions and values (Closed)

Created:
4 years, 4 months ago by kjlubick
Modified:
4 years, 4 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add endpoint and cron job to aggregate all dimensions and values BUG=631047 Committed: https://github.com/luci/luci-py/commit/942902ecc1b3cc22b30921a3a9792694e67cccb0

Patch Set 1 #

Patch Set 2 : pull out extra changes #

Total comments: 32

Patch Set 3 : Do everything but add a test #

Patch Set 4 : y #

Total comments: 18

Patch Set 5 : trying things #

Total comments: 6

Patch Set 6 : Make tests happy #

Patch Set 7 : reuse KEY #

Total comments: 30

Patch Set 8 : Address comments #

Total comments: 14

Patch Set 9 : Address more comments #

Total comments: 4

Patch Set 10 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -1 line) Patch
M appengine/swarming/cron.yaml View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M appengine/swarming/handlers_backend.py View 1 2 3 4 5 6 7 3 chunks +29 lines, -0 lines 0 comments Download
M appengine/swarming/handlers_endpoints.py View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -1 line 0 comments Download
M appengine/swarming/handlers_endpoints_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
M appengine/swarming/handlers_test.py View 1 2 3 4 5 6 7 8 9 2 chunks +30 lines, -0 lines 0 comments Download
M appengine/swarming/server/bot_management.py View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M appengine/swarming/swarming_rpcs.py View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (11 generated)
kjlubick
4 years, 4 months ago (2016-08-04 19:56:13 UTC) #3
M-A Ruel
please add a test https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/cron.yaml File appengine/swarming/cron.yaml (right): https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/cron.yaml#newcode29 appengine/swarming/cron.yaml:29: - description: Aggregate all dimensions ...
4 years, 4 months ago (2016-08-04 21:01:16 UTC) #4
kjlubick
Test added and other issues addressed. https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/handlers_backend.py File appengine/swarming/handlers_backend.py (right): https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/handlers_backend.py#newcode100 appengine/swarming/handlers_backend.py:100: class CronDimensionAggregationHandler(webapp2.RequestHandler): On ...
4 years, 4 months ago (2016-08-05 14:17:26 UTC) #5
M-A Ruel
https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/handlers_endpoints.py File appengine/swarming/handlers_endpoints.py (right): https://codereview.chromium.org/2212073002/diff/20001/appengine/swarming/handlers_endpoints.py#newcode686 appengine/swarming/handlers_endpoints.py:686: fleet_dimensions=fd) On 2016/08/05 14:17:26, kjlubick wrote: > On 2016/08/04 ...
4 years, 4 months ago (2016-08-05 14:36:05 UTC) #6
M-A Ruel
https://codereview.chromium.org/2212073002/diff/80001/appengine/swarming/handlers_backend.py File appengine/swarming/handlers_backend.py (right): https://codereview.chromium.org/2212073002/diff/80001/appengine/swarming/handlers_backend.py#newcode116 appengine/swarming/handlers_backend.py:116: for k, values in sorted(seen.iteritems()): you can use a ...
4 years, 4 months ago (2016-08-05 17:09:20 UTC) #7
kjlubick
https://codereview.chromium.org/2212073002/diff/60001/appengine/swarming/cron.yaml File appengine/swarming/cron.yaml (right): https://codereview.chromium.org/2212073002/diff/60001/appengine/swarming/cron.yaml#newcode29 appengine/swarming/cron.yaml:29: - description: Aggregate all bot dimensions for easier sorting. ...
4 years, 4 months ago (2016-08-05 17:38:58 UTC) #8
M-A Ruel
I realized this should be done as part of stats_framework but that would take too ...
4 years, 4 months ago (2016-08-05 18:06:02 UTC) #9
kjlubick
https://codereview.chromium.org/2212073002/diff/120001/appengine/swarming/handlers_backend.py File appengine/swarming/handlers_backend.py (right): https://codereview.chromium.org/2212073002/diff/120001/appengine/swarming/handlers_backend.py#newcode115 appengine/swarming/handlers_backend.py:115: dims = [bot_management.DimensionValues( On 2016/08/05 at 18:06:00, M-A Ruel ...
4 years, 4 months ago (2016-08-05 18:28:42 UTC) #10
M-A Ruel
https://codereview.chromium.org/2212073002/diff/140001/appengine/swarming/handlers_endpoints.py File appengine/swarming/handlers_endpoints.py (right): https://codereview.chromium.org/2212073002/diff/140001/appengine/swarming/handlers_endpoints.py#newcode675 appengine/swarming/handlers_endpoints.py:675: logging.info('%s', request) not really useful since there's no request, ...
4 years, 4 months ago (2016-08-05 18:41:46 UTC) #11
kjlubick
https://codereview.chromium.org/2212073002/diff/140001/appengine/swarming/handlers_endpoints.py File appengine/swarming/handlers_endpoints.py (right): https://codereview.chromium.org/2212073002/diff/140001/appengine/swarming/handlers_endpoints.py#newcode675 appengine/swarming/handlers_endpoints.py:675: logging.info('%s', request) On 2016/08/05 at 18:41:45, M-A Ruel wrote: ...
4 years, 4 months ago (2016-08-05 18:51:55 UTC) #12
M-A Ruel
lgtm with 2 style nits https://codereview.chromium.org/2212073002/diff/160001/appengine/swarming/handlers_endpoints_test.py File appengine/swarming/handlers_endpoints_test.py (right): https://codereview.chromium.org/2212073002/diff/160001/appengine/swarming/handlers_endpoints_test.py#newcode1503 appengine/swarming/handlers_endpoints_test.py:1503: bot_management.DimensionValues(dimension='foo', bot_management.DimensionValues( dimension='foo', values=['alpha', ...
4 years, 4 months ago (2016-08-05 18:55:27 UTC) #13
kjlubick
https://codereview.chromium.org/2212073002/diff/160001/appengine/swarming/handlers_endpoints_test.py File appengine/swarming/handlers_endpoints_test.py (right): https://codereview.chromium.org/2212073002/diff/160001/appengine/swarming/handlers_endpoints_test.py#newcode1503 appengine/swarming/handlers_endpoints_test.py:1503: bot_management.DimensionValues(dimension='foo', On 2016/08/05 at 18:55:27, M-A Ruel wrote: > ...
4 years, 4 months ago (2016-08-05 19:00:52 UTC) #14
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/2212073002/180001
4 years, 4 months ago (2016-08-05 19:00:57 UTC) #17
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/3074e6193f3ca510)
4 years, 4 months ago (2016-08-05 19:07:00 UTC) #19
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/2212073002/180001
4 years, 4 months ago (2016-08-08 13:54:36 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 13:57:58 UTC) #27
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://github.com/luci/luci-py/commit/942902ecc1b3cc22b30921a3a9792694e67cccb0

Powered by Google App Engine
This is Rietveld 408576698