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

Issue 1874053002: [alerts-dispatcher] update to build again :) also fixes a concurrent map access (Closed)

Created:
4 years, 8 months ago by seanmccullough1
Modified:
4 years, 8 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[alerts-dispatcher] update to build again :) also fixes a concurrent map access and fixes some gatekeeper config interpretation problems. BUG= Committed: https://chromium.googlesource.com/infra/infra/+/4f6952e3ecdc32af1b70d3938c7ab8552e0d4808

Patch Set 1 #

Patch Set 2 : make tests compile. still don't pass though #

Total comments: 8

Patch Set 3 : add gatekeeper.go #

Patch Set 4 : nits #

Patch Set 5 : fix typoi #

Patch Set 6 : fix typo #

Total comments: 4

Patch Set 7 : fix broken tests #

Patch Set 8 : merge to master, fix tests #

Total comments: 7

Patch Set 9 : typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -140 lines) Patch
M go/src/infra/monitoring/analyzer/analyzer.go View 1 2 3 4 5 6 7 8 16 chunks +71 lines, -94 lines 0 comments Download
M go/src/infra/monitoring/analyzer/analyzer_test.go View 1 2 3 4 5 6 15 chunks +48 lines, -35 lines 0 comments Download
A go/src/infra/monitoring/analyzer/gatekeeper.go View 1 2 3 4 5 6 7 8 1 chunk +105 lines, -0 lines 0 comments Download
M go/src/infra/monitoring/dispatcher/dispatcher.go View 1 2 3 6 chunks +32 lines, -11 lines 0 comments Download
M go/src/infra/monitoring/messages/alerts.go View 1 chunk +2 lines, -0 lines 0 comments Download
M go/src/infra/monitoring/messages/gatekeeper.go View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
seanmccullough1
This fixes some alerts-dispatcher issues and makes it closer to working with the new alerts.json ...
4 years, 8 months ago (2016-04-08 23:50:28 UTC) #2
martiniss
https://codereview.chromium.org/1874053002/diff/20001/go/src/infra/monitoring/dispatcher/dispatcher.go File go/src/infra/monitoring/dispatcher/dispatcher.go (right): https://codereview.chromium.org/1874053002/diff/20001/go/src/infra/monitoring/dispatcher/dispatcher.go#newcode278 go/src/infra/monitoring/dispatcher/dispatcher.go:278: log.Errorf("Error reading gatekeeper json: %v", err) Maybe update this ...
4 years, 8 months ago (2016-04-11 21:33:34 UTC) #3
seanmccullough
https://codereview.chromium.org/1874053002/diff/20001/go/src/infra/monitoring/dispatcher/dispatcher.go File go/src/infra/monitoring/dispatcher/dispatcher.go (right): https://codereview.chromium.org/1874053002/diff/20001/go/src/infra/monitoring/dispatcher/dispatcher.go#newcode278 go/src/infra/monitoring/dispatcher/dispatcher.go:278: log.Errorf("Error reading gatekeeper json: %v", err) On 2016/04/11 21:33:34, ...
4 years, 8 months ago (2016-04-11 23:11:08 UTC) #5
martiniss
lgtm Looks like a fairly trivial refactoring change to me. Couple comments but nothing major. ...
4 years, 8 months ago (2016-04-12 22:02:55 UTC) #6
seanmccullough
thanks! https://codereview.chromium.org/1874053002/diff/100001/go/src/infra/monitoring/analyzer/gatekeeper.go File go/src/infra/monitoring/analyzer/gatekeeper.go (right): https://codereview.chromium.org/1874053002/diff/100001/go/src/infra/monitoring/analyzer/gatekeeper.go#newcode74 go/src/infra/monitoring/analyzer/gatekeeper.go:74: mc := mcs[0] On 2016/04/12 22:02:54, martiniss wrote: ...
4 years, 8 months ago (2016-04-12 22:13:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874053002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874053002/160001
4 years, 8 months ago (2016-04-12 22:40:39 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 22:44:37 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/infra/infra/+/4f6952e3ecdc32af1b70d3938c7ab...

Powered by Google App Engine
This is Rietveld 408576698