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

Issue 2341113002: Update Coordinator client, add datagram assembly. (Closed)

Created:
4 years, 3 months ago by dnj
Modified:
4 years, 3 months ago
Reviewers:
martiniss, hinoka
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Update Coordinator client, add datagram assembly. Update the Coordinator client library, adding partial datagram assembly and changing the API to be a bit better: - Parameters are now specified individually via vararg instead of by chaining them together with a builder-type struct. - State requests will always have their state and descriptor values filled in, instead of being pointers. - Tail requests now accept their own set of parameters. Update Milo's LogDog code to use the Coordinator client library and the datagram assembly option. Update `logdog_cat` to use the updated API. BUG=chromium:647336 TEST=local Committed: https://github.com/luci/luci-go/commit/aaa142274de3328ee8d2476468e59d0239a8bcf7

Patch Set 1 #

Patch Set 2 : Remove outdated Milo warning message. #

Total comments: 8

Patch Set 3 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+635 lines, -224 lines) Patch
M logdog/client/cmd/logdog_cat/coordinatorSource.go View 3 chunks +17 lines, -16 lines 0 comments Download
M logdog/client/cmd/logdog_cat/subcommandList.go View 1 chunk +25 lines, -29 lines 0 comments Download
M logdog/client/cmd/logdog_cat/subcommandQuery.go View 1 chunk +8 lines, -10 lines 0 comments Download
M logdog/client/coordinator/list.go View 2 chunks +6 lines, -1 line 0 comments Download
M logdog/client/coordinator/query.go View 2 chunks +8 lines, -2 lines 0 comments Download
M logdog/client/coordinator/query_test.go View 4 chunks +13 lines, -8 lines 0 comments Download
M logdog/client/coordinator/stream.go View 4 chunks +167 lines, -41 lines 0 comments Download
M logdog/client/coordinator/stream_params.go View 3 chunks +106 lines, -37 lines 0 comments Download
M logdog/client/coordinator/stream_test.go View 1 2 21 chunks +258 lines, -29 lines 0 comments Download
M milo/appengine/logdog/build.go View 1 2 5 chunks +17 lines, -47 lines 0 comments Download
M milo/appengine/logdog/http.go View 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
dnj
PTAL. I've already applied this to Milo. martiniss@, if you are still using LogDog datagrams, ...
4 years, 3 months ago (2016-09-15 18:04:46 UTC) #2
martiniss
On 2016/09/15 at 18:04:46, dnj wrote: > PTAL. I've already applied this to Milo. > ...
4 years, 3 months ago (2016-09-15 20:37:11 UTC) #4
martiniss
lgtm https://codereview.chromium.org/2341113002/diff/20001/logdog/client/cmd/logdog_cat/subcommandQuery.go File logdog/client/cmd/logdog_cat/subcommandQuery.go (left): https://codereview.chromium.org/2341113002/diff/20001/logdog/client/cmd/logdog_cat/subcommandQuery.go#oldcode225 logdog/client/cmd/logdog_cat/subcommandQuery.go:225: if s.State != nil { Why did this ...
4 years, 3 months ago (2016-09-22 03:40:39 UTC) #5
dnj
Thanks for reviewing! https://codereview.chromium.org/2341113002/diff/20001/logdog/client/cmd/logdog_cat/subcommandQuery.go File logdog/client/cmd/logdog_cat/subcommandQuery.go (left): https://codereview.chromium.org/2341113002/diff/20001/logdog/client/cmd/logdog_cat/subcommandQuery.go#oldcode225 logdog/client/cmd/logdog_cat/subcommandQuery.go:225: if s.State != nil { On ...
4 years, 3 months ago (2016-09-22 16:00:05 UTC) #6
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/2341113002/40001
4 years, 3 months ago (2016-09-22 16:00:40 UTC) #9
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 16:09:09 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/aaa142274de3328ee8d2476468e59d0239a8bcf7

Powered by Google App Engine
This is Rietveld 408576698