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

Issue 2406163003: Milo: Clean up builds that are no longer current. (Closed)

Created:
4 years, 2 months ago by Ryan Tseng
Modified:
4 years, 1 month ago
Reviewers:
estaab, 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

Milo: Clean up builds that are no longer current. Sometimes when masters restart, they don't flush builds, so that current builds continue to linger in Milo despite being expired (and finished). This uses the signal that if a build exists in Milo but isn't in the master JSON, then it should get marked as expired. BUG=654623 Committed: https://github.com/luci/luci-go/commit/a94e9e33c00d7ecc2acd4a8489732f026c768a35

Patch Set 1 #

Total comments: 1

Patch Set 2 : Clean up debug output #

Total comments: 2

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -16 lines) Patch
M milo/appengine/buildbot/pubsub.go View 1 2 2 chunks +72 lines, -6 lines 0 comments Download
M milo/appengine/buildbot/pubsub_test.go View 7 chunks +45 lines, -10 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
hinoka
nodir would you mind taking a look at this, since estaab is OOO? https://codereview.chromium.org/2406163003/diff/1/milo/appengine/buildbot/pubsub_test.go File ...
4 years, 2 months ago (2016-10-12 06:58:31 UTC) #4
hinoka
+estaab,martiniss reviewer This is necessary for getting the "current build" view on milo
4 years, 2 months ago (2016-10-17 22:00:13 UTC) #10
estaab
https://codereview.chromium.org/2406163003/diff/20001/milo/appengine/buildbot/pubsub.go File milo/appengine/buildbot/pubsub.go (right): https://codereview.chromium.org/2406163003/diff/20001/milo/appengine/buildbot/pubsub.go#newcode309 milo/appengine/buildbot/pubsub.go:309: // Extract current builds data out of the master ...
4 years, 2 months ago (2016-10-20 03:30:39 UTC) #11
hinoka
https://codereview.chromium.org/2406163003/diff/20001/milo/appengine/buildbot/pubsub.go File milo/appengine/buildbot/pubsub.go (right): https://codereview.chromium.org/2406163003/diff/20001/milo/appengine/buildbot/pubsub.go#newcode309 milo/appengine/buildbot/pubsub.go:309: // Extract current builds data out of the master ...
4 years, 1 month ago (2016-10-26 01:28:04 UTC) #13
estaab
lgtm
4 years, 1 month ago (2016-10-26 21:31:16 UTC) #17
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/2406163003/40001
4 years, 1 month ago (2016-10-26 21:36:33 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 21:39:50 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/a94e9e33c00d7ecc2acd4a8489732f026c768a35

Powered by Google App Engine
This is Rietveld 408576698