Chromium Code Reviews
DescriptionUpdate new botlist to use dimensions endpoint
- Use new dimensions endpoint to get full fleet dimensions. Before, you would only be able to filter based on the things already in the list, which is a problem if the thing you want doesn't show up in the first [BOT_LIST_LIMIT] commits.
- Dimensions are passed from the client-side filter to the server-side filter. The items we have will be filtered out while waiting for the server to give us more. The spinner will be active while any of the ajax requests are active.
- The "devices" dimension was split (server side) into device_type, device_os, and android_devices. The last one is the number of connected, ready devices.
- Added new method _attribute, which will look for an attribute in the "dimensions" and fallback to "state". This allows a more consistent "API" than hodge-podge _devices/_state all over the place.
- Quarantined bot message actually show up (pulled from state).
- Dead bot message augmented with human friendly "last seen" message.
- Disk space column shown up, which is pulled exclusively from state, not a dimension. It is displayed in a human friendly manner.
- Remove "auto download" of demo json from Makefile
- Sinon was updated to bring in a bug fix.
BUG=631047
Committed: https://github.com/luci/luci-py/commit/bf775c6fcaaa324474208dfcaaac75b2a226789f
Patch Set 1 #Patch Set 2 : Midway through adding disk space #Patch Set 3 : Finish up disk space and other refactoring #Patch Set 4 : Add documentation #Patch Set 5 : rebuild #Patch Set 6 : Make devices column make more sense #
Total comments: 16
Patch Set 7 : First round of feedback #Patch Set 8 : put demo data in luci-py wiki #
Total comments: 5
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 33 (14 generated)
|