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

Issue 2980153002: Milo: Fix project importer so it doesn't error out on a bad config (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: Fix project importer so it doesn't error out on a bad config So that a single bad config doesn't cause the importer to stop working. Also use luci-config ids as canonical IDs in milo Removed testing code for dupes since they're impossible now. BUG=468053 Review-Url: https://codereview.chromium.org/2980153002 Committed: https://github.com/luci/luci-go/commit/e3f06de0b3cadca58b8fce1680fa0a2f5b602fc6

Patch Set 1 #

Patch Set 2 : stuff #

Total comments: 2

Patch Set 3 : review #

Total comments: 2

Patch Set 4 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -37 lines) Patch
M milo/common/config.go View 1 2 3 4 chunks +30 lines, -21 lines 0 comments Download
M milo/common/config_test.go View 4 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 26 (19 generated)
Ryan Tseng
3 years, 5 months ago (2017-07-15 00:27:02 UTC) #7
iannucci
https://codereview.chromium.org/2980153002/diff/20001/milo/common/config.go File milo/common/config.go (right): https://codereview.chromium.org/2980153002/diff/20001/milo/common/config.go#newcode192 milo/common/config.go:192: if err := cfgclient.Projects(c, cfgclient.AsService, cfgName, textproto.Slice(&configs), &metas); err ...
3 years, 5 months ago (2017-07-15 00:45:54 UTC) #10
Ryan Tseng
https://codereview.chromium.org/2980153002/diff/20001/milo/common/config.go File milo/common/config.go (right): https://codereview.chromium.org/2980153002/diff/20001/milo/common/config.go#newcode192 milo/common/config.go:192: if err := cfgclient.Projects(c, cfgclient.AsService, cfgName, textproto.Slice(&configs), &metas); err ...
3 years, 5 months ago (2017-07-15 00:53:57 UTC) #13
iannucci
lgtm https://codereview.chromium.org/2980153002/diff/40001/milo/common/config.go File milo/common/config.go (right): https://codereview.chromium.org/2980153002/diff/40001/milo/common/config.go#newcode195 milo/common/config.go:195: logging.WithError(err).Errorf(c, "Encountered error while getting project config for ...
3 years, 5 months ago (2017-07-15 01:23:15 UTC) #16
Ryan Tseng
https://codereview.chromium.org/2980153002/diff/40001/milo/common/config.go File milo/common/config.go (right): https://codereview.chromium.org/2980153002/diff/40001/milo/common/config.go#newcode195 milo/common/config.go:195: logging.WithError(err).Errorf(c, "Encountered error while getting project config for %s", ...
3 years, 5 months ago (2017-07-15 01:24:24 UTC) #18
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/2980153002/60001
3 years, 5 months ago (2017-07-15 01:25:45 UTC) #23
commit-bot: I haz the power
3 years, 5 months ago (2017-07-15 01:32:17 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/luci-go/commit/e3f06de0b3cadca58b8fce1680fa0a2f5b602fc6

Powered by Google App Engine
This is Rietveld 408576698