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

Issue 2955223002: Milo: Buildbucket PubSub ingestion outline (Closed)

Created:
3 years, 5 months ago by Ryan Tseng
Modified:
3 years, 5 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: Buildbucket PubSub ingestion outline This is a basic buildbucket ingestion outline which: 1. Sets up the buildbucket pubsub subscription, given the correct permissions 2. Receives pubsub messages, acks them, and logs them. BUG=624960 Review-Url: https://codereview.chromium.org/2955223002 Committed: https://github.com/luci/luci-go/commit/20a1165ab0ef98cce14e4eac859879a4630abc92

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add tests #

Total comments: 31

Patch Set 3 : Review #

Patch Set 4 : Error handling #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+516 lines, -54 lines) Patch
M milo/api/config/settings.proto View 1 chunk +4 lines, -0 lines 0 comments Download
M milo/api/config/settings.pb.go View 3 chunks +32 lines, -21 lines 0 comments Download
M milo/buildsource/buildbot/pubsub.go View 1 2 3 4 4 chunks +1 line, -18 lines 0 comments Download
M milo/buildsource/buildbot/pubsub_test.go View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M milo/buildsource/buildbucket/builder_test.go View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
A milo/buildsource/buildbucket/pubsub.go View 1 2 3 4 1 chunk +104 lines, -0 lines 0 comments Download
M milo/common/config.go View 1 4 chunks +7 lines, -6 lines 0 comments Download
M milo/common/config_test.go View 1 3 chunks +5 lines, -4 lines 0 comments Download
A milo/common/pubsub.go View 1 2 1 chunk +231 lines, -0 lines 0 comments Download
A milo/common/pubsub_test.go View 1 2 1 chunk +116 lines, -0 lines 0 comments Download
M milo/frontend/config.go View 1 2 chunks +10 lines, -1 line 0 comments Download
M milo/frontend/main.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (33 generated)
Ryan Tseng
ptal. tests are red because they depend on https://codereview.chromium.org/2957413002/ Deployed and working on -dev right ...
3 years, 5 months ago (2017-06-28 22:14:19 UTC) #10
Ryan Tseng
See http://shortn/_U2MehmgA9G for monitoring
3 years, 5 months ago (2017-06-28 22:16:09 UTC) #11
Ryan Tseng
this green and ready for review now
3 years, 5 months ago (2017-07-06 20:51:32 UTC) #20
iannucci
lgtm https://codereview.chromium.org/2955223002/diff/20001/milo/build_source/buildbucket/pubsub.go File milo/build_source/buildbucket/pubsub.go (right): https://codereview.chromium.org/2955223002/diff/20001/milo/build_source/buildbucket/pubsub.go#newcode32 milo/build_source/buildbucket/pubsub.go:32: type transientError error use transient.Tag instead, and ditch ...
3 years, 5 months ago (2017-07-08 00:05:26 UTC) #21
Ryan Tseng
Not sure why it's failing, nothing appears to be failing in the logs o_0 https://codereview.chromium.org/2955223002/diff/20001/milo/build_source/buildbucket/pubsub.go ...
3 years, 5 months ago (2017-07-08 01:47:34 UTC) #26
iannucci
lgtm https://codereview.chromium.org/2955223002/diff/20001/milo/build_source/buildbucket/pubsub.go File milo/build_source/buildbucket/pubsub.go (right): https://codereview.chromium.org/2955223002/diff/20001/milo/build_source/buildbucket/pubsub.go#newcode56 milo/build_source/buildbucket/pubsub.go:56: func pubSubHandlerImpl(c context.Context, r *http.Request) int { On ...
3 years, 5 months ago (2017-07-08 02:08:41 UTC) #27
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/2955223002/80001
3 years, 5 months ago (2017-07-10 21:55:41 UTC) #38
commit-bot: I haz the power
3 years, 5 months ago (2017-07-10 22:01:30 UTC) #41
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-go/commit/20a1165ab0ef98cce14e4eac859879a4630abc92

Powered by Google App Engine
This is Rietveld 408576698