Swarming: add new bool: TaskProperties.release_bot_after_task |
||
Issue descriptionUse case: Destructive tests Behavior: - When set, the TaskToRun for the corresponding TaskSlice can only reaped by a bot managed by MP. - When set, immediately after the task is completed, the bot is deleted by Swarming itself. The deletion causes MP to reap it and the VM is recycled. Advantages: - Simpler to implement than issue 669660 . - Does not enforce that the bot itself is single use, making better use of the whole fleet; a bot could run a few normal task, then a destructive test. - The reverse can be true, a subset of the fleet can be assigned to destructive tasks, but that's not an hard requirement by design. - Does not require MP changes, it's a pure Swarming only implementation that is easy to understand. - The task may or may not also be marked as idempotent. That's up to the user.
,
Nov 19
,
Nov 21
Once go/remove-mp is implemented, Swarming will not be able to tell where a bot came from, since all MP-related code will be removed from Swarming.
,
Nov 21
Ok, we should discuss about how this could be implemented then. Also it'd be nice to keep the "recycle bot when it's shutdown + deleted" behavior. |
||
►
Sign in to add a comment |
||
Comment 1 by mar...@chromium.org
, Nov 19