madecoste / swarming

Automatically exported from code.google.com/p/swarming
Apache License 2.0
0 stars 1 forks source link

Surface task_id in swarming.py trigger #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now swarming.py works with the user visible task name with --task-name 
but the task id gives a direct view on the task via 
https://chromium-swarm.appspot.com/user/task/<task_id>. This is useful, as it 
makes it possible to give a link immediately to the user when the task is 
triggered, even if not yet started.

The data could be surfaced to the caller script in a few ways:
- Have 'swarming.py trigger' print out the task(s) id. It could either be 
always output or output only with a flag --dump-task-id.
- Have 'swarming.py trigger' print out the URLs to the tasks.
- Have 'swarming.py trigger' have an option to dump meta data in a json file 
with a new flag.

Still undecided about the best way. None of them is hard to implement.

Original issue reported on code.google.com by maruel@chromium.org on 16 Jun 2014 at 7:27

GoogleCodeExporter commented 9 years ago

Original comment by maruel@chromium.org on 16 Jun 2014 at 7:29

GoogleCodeExporter commented 9 years ago
FFIW I vote for "Have 'swarming.py trigger' have an option to dump meta data in 
a json file with a new flag."

Original comment by vadimsh@chromium.org on 16 Jun 2014 at 9:26

GoogleCodeExporter commented 9 years ago
Implemented in d6dbe76f98b3b8eaf98c01d16f990e277e8278dd and swarming.py version 
bumped to 0.4.9 in c333224ef8cf5cc41ab91f6ee9cb1fdbe3689f19

Original comment by maruel@chromium.org on 19 Jun 2014 at 5:18