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

Issue 2402543002: Create a BotEvent when a bot is leased from Machine Provider (Closed)

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

Description

Create a BotEvent when a bot is leased from Machine Provider Creating a BotEvent also ensures a BotInfo exists. BUG=627560 Committed: https://github.com/luci/luci-py/commit/ef58021b34ac471545c8d7e9213246de045f2640

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix #

Patch Set 3 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -6 lines) Patch
M appengine/swarming/handlers_bot_test.py View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M appengine/swarming/server/bot_management.py View 1 4 chunks +15 lines, -2 lines 0 comments Download
M appengine/swarming/server/bot_management_test.py View 1 2 5 chunks +10 lines, -0 lines 0 comments Download
M appengine/swarming/server/lease_management.py View 1 5 chunks +27 lines, -4 lines 0 comments Download
M appengine/swarming/swarming_rpcs.py View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
smut
Calling bot_management.bot_event is currently the only way to create a BotInfo, so I added a ...
4 years, 2 months ago (2016-10-06 22:49:26 UTC) #3
M-A Ruel
+Kevin for UI +Ryan fyi lgtm https://codereview.chromium.org/2402543002/diff/20001/appengine/swarming/server/bot_management.py File appengine/swarming/server/bot_management.py (right): https://codereview.chromium.org/2402543002/diff/20001/appengine/swarming/server/bot_management.py#newcode91 appengine/swarming/server/bot_management.py:91: lease_expiration_ts = ndb.DateTimeProperty() ...
4 years, 2 months ago (2016-10-06 23:37:28 UTC) #4
smut
https://codereview.chromium.org/2402543002/diff/20001/appengine/swarming/server/bot_management.py File appengine/swarming/server/bot_management.py (right): https://codereview.chromium.org/2402543002/diff/20001/appengine/swarming/server/bot_management.py#newcode91 appengine/swarming/server/bot_management.py:91: lease_expiration_ts = ndb.DateTimeProperty() On 2016/10/06 23:37:28, M-A Ruel wrote: ...
4 years, 2 months ago (2016-10-06 23:48:50 UTC) #5
smut
On 2016/10/06 23:37:28, M-A Ruel wrote: > +Kevin for UI He landed a follow up ...
4 years, 2 months ago (2016-10-07 21:43:43 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/2402543002/40001
4 years, 2 months ago (2016-10-07 21:43:52 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/31b9eef34706bb10)
4 years, 2 months ago (2016-10-07 21:50: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/2402543002/60001
4 years, 2 months ago (2016-10-07 22:11:21 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 22:14:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://github.com/luci/luci-py/commit/ef58021b34ac471545c8d7e9213246de045f2640

Powered by Google App Engine
This is Rietveld 408576698