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

Issue 1429993002: LogDog: Add Butler stream server package. (Closed)

Created:
5 years, 1 month ago by dnj
Modified:
5 years, 1 month ago
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://github.com/luci/luci-go@logdog-review-butlerproto
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Add Butler stream server package. BUG= Committed: https://github.com/luci/luci-go/commit/d46d171e77a7a3d3e06a70e07e97a39949153979

Patch Set 1 #

Patch Set 2 : Fixed datagram check, now with unit tests! #

Total comments: 15

Patch Set 3 : Cleanup, comments. #

Total comments: 28

Patch Set 4 : Updated after comments, cleaned up, simplified. #

Patch Set 5 : Fix not building on Windows. #

Patch Set 6 : Fix stupid goimports error. #

Patch Set 7 : Bind POSIX test to POSIX domains. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1428 lines, -0 lines) Patch
A client/internal/logdog/butler/streamserver/handshake.go View 1 2 3 1 chunk +130 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/handshake_test.go View 1 2 3 1 chunk +209 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/namedPipe.go View 1 2 3 1 chunk +259 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/namedPipe_posix.go View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/namedPipe_posix_test.go View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/namedPipe_test.go View 1 2 3 1 chunk +173 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/namedPipe_windows.go View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/streamserver/streamserver.go View 1 chunk +23 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/client.go View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/client_namedPipe_posix.go View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/client_namedPipe_windows.go View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/client_test.go View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/registry.go View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/stream.go View 1 1 chunk +69 lines, -0 lines 0 comments Download
A client/logdog/butlerlib/streamclient/stream_test.go View 1 1 chunk +63 lines, -0 lines 0 comments Download
M client/logdog/butlerlib/streamproto/magic.go View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
dnj
PTAL
5 years, 1 month ago (2015-11-03 18:05:38 UTC) #2
dnj
Review order: (butlerproto) https://codereview.chromium.org/1321273002/ (StreamServer) https://codereview.chromium.org/1429993002/ (Bundler) https://codereview.chromium.org/1412063008/ (Output) https://codereview.chromium.org/1211053004/
5 years, 1 month ago (2015-11-03 20:37:42 UTC) #3
estaab
Ok, here's my attempt at reviewing this code, which amounts to me asking for clarification ...
5 years, 1 month ago (2015-11-06 22:09:44 UTC) #4
dnj (Google)
https://codereview.chromium.org/1429993002/diff/20001/client/logdog/butlerlib/streamclient/client.go File client/logdog/butlerlib/streamclient/client.go (right): https://codereview.chromium.org/1429993002/diff/20001/client/logdog/butlerlib/streamclient/client.go#newcode22 client/logdog/butlerlib/streamclient/client.go:22: ProtocolFrameHeaderMagic = []byte("BTLR1\x1E") On 2015/11/06 22:09:44, estaab wrote: > ...
5 years, 1 month ago (2015-11-07 16:47:42 UTC) #6
estaab
lgtm
5 years, 1 month ago (2015-11-09 22:30:51 UTC) #8
dnj
ping iannucci@ :)
5 years, 1 month ago (2015-11-10 00:47:08 UTC) #9
iannucci
generally lgtm with comments https://chromiumcodereview.appspot.com/1429993002/diff/60001/client/internal/logdog/butler/streamserver/handshake.go File client/internal/logdog/butler/streamserver/handshake.go (right): https://chromiumcodereview.appspot.com/1429993002/diff/60001/client/internal/logdog/butler/streamserver/handshake.go#newcode46 client/internal/logdog/butler/streamserver/handshake.go:46: func getProtocolFromMagic(ctx context.Context, r io.Reader) ...
5 years, 1 month ago (2015-11-12 22:44:25 UTC) #10
dnj
https://chromiumcodereview.appspot.com/1429993002/diff/60001/client/internal/logdog/butler/streamserver/handshake.go File client/internal/logdog/butler/streamserver/handshake.go (right): https://chromiumcodereview.appspot.com/1429993002/diff/60001/client/internal/logdog/butler/streamserver/handshake.go#newcode46 client/internal/logdog/butler/streamserver/handshake.go:46: func getProtocolFromMagic(ctx context.Context, r io.Reader) (handshakeProtocol, error) { On ...
5 years, 1 month ago (2015-11-13 20:17:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1429993002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1429993002/80001
5 years, 1 month ago (2015-11-13 20:29:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1429993002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1429993002/100001
5 years, 1 month ago (2015-11-13 20:33:31 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Presubmit on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-go%20Presubmit/builds/128)
5 years, 1 month ago (2015-11-13 20:35:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1429993002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1429993002/120001
5 years, 1 month ago (2015-11-13 22:34:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1429993002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1429993002/140001
5 years, 1 month ago (2015-11-13 22:40:53 UTC) #27
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 22:43:30 UTC) #28
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://github.com/luci/luci-go/commit/d46d171e77a7a3d3e06a70e07e97a39949153979

Powered by Google App Engine
This is Rietveld 408576698