Let's say you look at it: https://chromium-swarm.appspot.com/tasklist?c=name&c=state&c=created_ts&c=user&f=os%3AUbuntu-12.04&l=50&s=created_ts%3Adesc It'd be interesting to know the number of: - pending tasks - running tasks
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0 commit eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0 Author: kjlubick <kjlubick@google.com> Date: Tue Feb 07 19:44:34 2017 Add task-list summary This cleans up bot-list-summary as well, given the two elements are related. This removes the restriction server side that the end time must be given for a count - as that just makes queries a bit more awkward to construct. The start time is definitely required, as counting things from the beginning of time would time out. BUG= 673774 Review-Url: https://codereview.chromium.org/2676513004 [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/handlers_endpoints.py [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/build/elements.html [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/res/imp/botlist/bot-list-summary.html [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/res/imp/botlist/bot-list.html [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/res/imp/tasklist/task-list-demo.html [add] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/res/imp/tasklist/task-list-summary.html [modify] https://crrev.com/eb1a0447e6c2cbc16c854ff2ea22f424bf8af0e0/appengine/swarming/ui/res/imp/tasklist/task-list.html
Some statistics are being shown, however caching them would greatly improve performance.
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/61230b5f8392628a96ce30eb1d1c1379e78b9cff commit 61230b5f8392628a96ce30eb1d1c1379e78b9cff Author: kjlubick <kjlubick@google.com> Date: Fri Feb 17 14:53:19 2017 Add caching for task counts The UI only allows for selection to the nearest minute, so memcache assumes the end timestamp is also at a minute resolution. BUG= 673774 Review-Url: https://codereview.chromium.org/2697333002 [modify] https://crrev.com/61230b5f8392628a96ce30eb1d1c1379e78b9cff/appengine/swarming/handlers_endpoints.py
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/da581c1f2c2cedb47c6a97cd9c916266c9c2ae65 commit da581c1f2c2cedb47c6a97cd9c916266c9c2ae65 Author: kjlubick <kjlubick@google.com> Date: Fri Feb 17 16:00:21 2017 Remove all tasks from task-list-summary The UI was too busy with them. BUG= 673774 Review-Url: https://codereview.chromium.org/2704563006 [modify] https://crrev.com/da581c1f2c2cedb47c6a97cd9c916266c9c2ae65/appengine/swarming/ui/build/elements.html [modify] https://crrev.com/da581c1f2c2cedb47c6a97cd9c916266c9c2ae65/appengine/swarming/ui/res/imp/tasklist/task-list-summary.html
This is now live in chromium-swarm
Comment 1 by kjlubick@google.com
, Feb 2 2017