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

Issue 1778083002: Enforce users to specify a 'pool' dimension when triggering a task. (Closed)

Created:
4 years, 9 months ago by M-A Ruel
Modified:
4 years, 8 months ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, fdeng1, kevcheng_chromium.org, Lei Lei, Mike Meade, smut_chromium.org, borenet2, anandc, rrasti_google.com, nodir, Paweł Hajdan Jr., chanli, stgao
Base URL:
git@github.com:luci/luci-py.git@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Enforce users to specify a 'pool' dimension when triggering a task. By default, the 'pool' bot dimensions is set to 'default'. The goal is to catch misconfigured clients. I would have preferred 'project' but 'pool' should be good enough. This will break projects but will fix issues like https://bugs.chromium.org/p/chromium/issues/detail?id=591767. This means that a previous task that wouldn't have specified a pool can't be retried once this code is live. R=vadimsh@chromium.org BUG= Committed: https://github.com/luci/luci-py/commit/1c349ee464a4a1d1ee2ccff81ab0ce06436e6e19

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M appengine/swarming/handlers_bot.py View 2 chunks +5 lines, -2 lines 0 comments Download
M appengine/swarming/server/task_request.py View 2 chunks +14 lines, -5 lines 0 comments Download
M client/example/2_swarming_run.py View 1 chunk +1 line, -0 lines 0 comments Download
M client/example/3_swarming_trigger_collect.py View 1 chunk +1 line, -0 lines 0 comments Download
M client/example/4_swarming_run_manual_upload.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
M-A Ruel
THIS IS A BREAKING CHANGE if and ONLY if your task didn't consistently specify a ...
4 years, 9 months ago (2016-03-09 20:49:19 UTC) #2
Vadim Sh.
lgtm good luck updating all swarming instances...
4 years, 9 months ago (2016-03-09 20:54:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778083002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778083002/1
4 years, 8 months ago (2016-04-13 22:07:19 UTC) #5
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 22:10:57 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://github.com/luci/luci-py/commit/1c349ee464a4a1d1ee2ccff81ab0ce06436e6e19

Powered by Google App Engine
This is Rietveld 408576698