Swarming: implement task creation rate limiting |
||||
Issue descriptionA buggy recipe shouldn't be able to trigger unlimited number of jobs and overload the whole infrastructure. I'm not clear where exactly this should be implemented (Swarming? Buildbucket?). Thus vague "jobs".
,
Jan 19 2017
Issue 617846 is slightly related, as a recovery mechanism after the fact. We care more about the workers, less about the server. Pending tasks can be canceled via scripts at worst, e.g. cancelling all state=PENDING, pool:Chrome-perf tasks: ./swarming.py query -S chromium-swarm.appspot.com --limit 0 'tasks/list?state=PENDING&tags=pool:Chrome-perf' > out.json for task_id in $(python -c "import json; print '\n'.join(i['task_id'] for i in json.load(open('out.json'))['items'])"); do echo $task_id ./swarming.py cancel -S chromium-swarm.appspot.com $task_id done
,
Feb 21 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 21 2018
,
Feb 24 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by dpranke@chromium.org
, Jan 19 2017Status: Available (was: Untriaged)