Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Issue 2196453002: Milo: Console view prototype (Closed)

Created:
4 years, 4 months ago by Ryan Tseng
Modified:
4 years, 4 months ago
Reviewers:
estaab, nodir, hinoka
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: Console view prototype This is pretty hacked up. Namely: * This does a 25 build query for _each_ builder, and then filter out the correct revision * This loads the entire build (including un-gzip and json deserialization) just to take like 5 pieces of information from it (~1000ms for the whole process) * Hits gitiles for every query (70ms) * Only buildbot is supported * Config is hard-coded instead of being loaded from luci-cfg All of the issues above will be addressed later, this is mostly to get a demo out. BUG=632516 Committed: https://github.com/luci/luci-go/commit/19b5ff60eca7ed2c7a3f2b71cd1b6ab99d3e04b7

Patch Set 1 #

Patch Set 2 : Move git to it's own package #

Patch Set 3 : Fixes #

Patch Set 4 : rebase #

Patch Set 5 : Rebase fix #

Total comments: 64

Patch Set 6 : Review, cleanup #

Patch Set 7 : fixes #

Total comments: 39

Patch Set 8 : Reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -480 lines) Patch
M appengine/cmd/milo/Makefile View 1 chunk +2 lines, -2 lines 0 comments Download
M appengine/cmd/milo/buildbot/builder.go View 2 chunks +3 lines, -3 lines 0 comments Download
A appengine/cmd/milo/buildbot/console.go View 1 2 3 4 5 6 7 1 chunk +97 lines, -0 lines 0 comments Download
M appengine/cmd/milo/buildbucket/builder_test.go View 1 chunk +1 line, -1 line 0 comments Download
D appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit(Swarming).json View 1 chunk +0 lines, -53 lines 0 comments Download
A + appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.Swarming.json View 1 chunk +1 line, -1 line 0 comments Download
D appengine/cmd/milo/buildbucket/testdata/master.tryserver.infra/InfraPresubmit(Swarming).json View 1 chunk +0 lines, -415 lines 0 comments Download
A + appengine/cmd/milo/buildbucket/testdata/master.tryserver.infra/InfraPresubmit.Swarming.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/cmd/milo/console/console.go View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
A appengine/cmd/milo/console/html.go View 1 2 3 4 5 6 7 1 chunk +93 lines, -0 lines 0 comments Download
A appengine/cmd/milo/console/html_data.go View 1 chunk +16 lines, -0 lines 0 comments Download
M appengine/cmd/milo/frontend/app.yaml View 1 chunk +0 lines, -2 lines 0 comments Download
M appengine/cmd/milo/frontend/milo.go View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M appengine/cmd/milo/frontend/static/buildbot/css/default.css View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
A appengine/cmd/milo/frontend/templates/buildbot/pages/console.html View 1 chunk +36 lines, -0 lines 0 comments Download
A appengine/cmd/milo/git/gitiles.go View 1 2 3 4 5 6 7 1 chunk +119 lines, -0 lines 0 comments Download
A appengine/cmd/milo/resp/console.go View 1 2 3 4 5 6 7 1 chunk +54 lines, -0 lines 0 comments Download
M appengine/cmd/milo/settings/funcs.go View 1 2 3 4 5 6 7 2 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (39 generated)
Ryan Tseng
Fixes
4 years, 4 months ago (2016-07-29 01:33:10 UTC) #11
Ryan Tseng
Demo here: https://982-d7d2bb3-tainted-hinoka-dot-luci-milo.appspot.com/console/asdf ptal! There's a lot more work to be done so this is ...
4 years, 4 months ago (2016-07-29 01:33:16 UTC) #14
Ryan Tseng
Meow
4 years, 4 months ago (2016-08-02 18:51:32 UTC) #17
Ryan Tseng
rebase
4 years, 4 months ago (2016-08-03 19:01:37 UTC) #18
hinoka
Ping?
4 years, 4 months ago (2016-08-03 19:42:25 UTC) #28
nodir
https://codereview.chromium.org/2196453002/diff/80001/appengine/cmd/milo/buildbot/console.go File appengine/cmd/milo/buildbot/console.go (right): https://codereview.chromium.org/2196453002/diff/80001/appengine/cmd/milo/buildbot/console.go#newcode21 appengine/cmd/milo/buildbot/console.go:21: func getFullBuilds(c context.Context, masterName, builderName string, finished bool) ([]*buildbotBuild, ...
4 years, 4 months ago (2016-08-03 20:26:18 UTC) #29
nodir
4 years, 4 months ago (2016-08-03 20:26:21 UTC) #30
Ryan Tseng
Review, cleanup
4 years, 4 months ago (2016-08-03 21:37:07 UTC) #31
Ryan Tseng
fixes
4 years, 4 months ago (2016-08-03 21:55:19 UTC) #36
hinoka
See https://1031-50a0896-tainted-hinoka-dot-luci-milo.appspot.com/console/asdf for PS7 https://codereview.chromium.org/2196453002/diff/80001/appengine/cmd/milo/buildbot/console.go File appengine/cmd/milo/buildbot/console.go (right): https://codereview.chromium.org/2196453002/diff/80001/appengine/cmd/milo/buildbot/console.go#newcode21 appengine/cmd/milo/buildbot/console.go:21: func getFullBuilds(c context.Context, masterName, builderName ...
4 years, 4 months ago (2016-08-03 21:55:40 UTC) #39
Ryan Tseng
Ping? This blocks milo/luci refactor :)
4 years, 4 months ago (2016-08-04 21:52:56 UTC) #42
nodir
lgtm to unblock repo reorg and because this is a prototype, but this implementation has ...
4 years, 4 months ago (2016-08-04 23:13:13 UTC) #44
estaab
I just saw nodir's reply so I'm just sending my comments as-is. He went more ...
4 years, 4 months ago (2016-08-04 23:21:25 UTC) #45
Ryan Tseng
Reviews
4 years, 4 months ago (2016-08-05 00:03:57 UTC) #46
hinoka
https://codereview.chromium.org/2196453002/diff/120001/appengine/cmd/milo/buildbot/console.go File appengine/cmd/milo/buildbot/console.go (right): https://codereview.chromium.org/2196453002/diff/120001/appengine/cmd/milo/buildbot/console.go#newcode37 appengine/cmd/milo/buildbot/console.go:37: [][]*resp.ConsoleBuild, error) { On 2016/08/04 23:13:12, nodir wrote: > ...
4 years, 4 months ago (2016-08-05 00:10:42 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2196453002/140001
4 years, 4 months ago (2016-08-05 00:11:03 UTC) #54
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 00:15:14 UTC) #56
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://github.com/luci/luci-go/commit/19b5ff60eca7ed2c7a3f2b71cd1b6ab99d3e04b7

Powered by Google App Engine
This is Rietveld 408576698