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

Issue 2125603002: Adds initial Tricium service GAE configs (Closed)

Created:
4 years, 5 months ago by emso
Modified:
4 years, 5 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

Adds initial Tricium service GAE configs This change has been deployed to chrome-infra-tricim-dev and tested manually. To re-run the test, go to the landing page and click the dummy analysis request button. The expected result is a task that goes through the three queues of the app (verified on the task queue overview page). BUG=625781 Committed: https://chromium.googlesource.com/infra/infra/+/269063afbcba7c7f870e9522668d789673555f08

Patch Set 1 #

Total comments: 14

Patch Set 2 : Switches to templates and cleans up garbage from testing #

Total comments: 2

Patch Set 3 : Adds optional display of the request form #

Total comments: 1

Patch Set 4 : Updates go packages for appengine #

Patch Set 5 : Adds infra test coverage expectation #

Patch Set 6 : Temporarily lowers testing expectation #

Patch Set 7 : Adds copyright comments and infra testing files #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, --5 lines) Patch
A + go/src/infra/tricium/service/default/default.infra_testing View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/tricium/service/default/default.yaml View 1 chunk +11 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/default/handlers.go View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 2 comments Download
A go/src/infra/tricium/service/default/templates View 1 1 chunk +1 line, -0 lines 0 comments Download
A go/src/infra/tricium/service/dispatch.yaml View 1 1 chunk +18 lines, -0 lines 0 comments Download
A + go/src/infra/tricium/service/gerrit-poller/gerrit-poller.infra_testing View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-poller/gerrit-poller.yaml View 1 1 chunk +11 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-poller/handlers.go View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-poller/templates View 1 1 chunk +1 line, -0 lines 0 comments Download
A + go/src/infra/tricium/service/gerrit-reporter/gerrit-reporter.infra_testing View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-reporter/gerrit-reporter.yaml View 1 chunk +11 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-reporter/handlers.go View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/gerrit-reporter/templates View 1 1 chunk +1 line, -0 lines 0 comments Download
A go/src/infra/tricium/service/queue.yaml View 1 chunk +10 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/templates/base.html View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/workflow-launcher/handlers.go View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/workflow-launcher/templates View 1 1 chunk +1 line, -0 lines 0 comments Download
A + go/src/infra/tricium/service/workflow-launcher/workflow-launcher.infra_testing View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/tricium/service/workflow-launcher/workflow-launcher.yaml View 1 chunk +11 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/workflow-listener/handlers.go View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A go/src/infra/tricium/service/workflow-listener/templates View 1 1 chunk +1 line, -0 lines 0 comments Download
A + go/src/infra/tricium/service/workflow-listener/workflow-listener.infra_testing View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/tricium/service/workflow-listener/workflow-listener.yaml View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (18 generated)
Paweł Hajdan Jr.
https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/default/handler.go File go/src/infra/tricium/service/default/handler.go (right): https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/default/handler.go#newcode16 go/src/infra/tricium/service/default/handler.go:16: var landingPage = ` Please consider using https://golang.org/pkg/html/template/ https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/default/handler.go#newcode53 ...
4 years, 5 months ago (2016-07-05 12:16:00 UTC) #3
Sergiy Byelozyorov
https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/dispatch.yaml File go/src/infra/tricium/service/dispatch.yaml (right): https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/dispatch.yaml#newcode7 go/src/infra/tricium/service/dispatch.yaml:7: - url: "*/_ah/queue/analysis-requests*" Why is this necessary? Looks like ...
4 years, 5 months ago (2016-07-05 14:41:48 UTC) #4
emso
Thanks for the comments so far. I've uploaded an update. https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/default/handler.go File go/src/infra/tricium/service/default/handler.go (right): https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/default/handler.go#newcode16 ...
4 years, 5 months ago (2016-07-06 06:21:28 UTC) #5
Sergiy Byelozyorov
lgtm w/ suggestion https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/queue.yaml File go/src/infra/tricium/service/queue.yaml (right): https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/queue.yaml#newcode4 go/src/infra/tricium/service/queue.yaml:4: rate: 1/s On 2016/07/06 06:21:28, emso ...
4 years, 5 months ago (2016-07-06 08:46:35 UTC) #6
emso
https://codereview.chromium.org/2125603002/diff/20001/go/src/infra/tricium/service/templates/base.html File go/src/infra/tricium/service/templates/base.html (right): https://codereview.chromium.org/2125603002/diff/20001/go/src/infra/tricium/service/templates/base.html#newcode14 go/src/infra/tricium/service/templates/base.html:14: <div><input type="submit" value="Dummy Analysis Request"></div> On 2016/07/06 08:46:34, Sergiy ...
4 years, 5 months ago (2016-07-06 09:05:16 UTC) #7
Paweł Hajdan Jr.
LGTM https://codereview.chromium.org/2125603002/diff/40001/go/src/infra/tricium/service/default/templates File go/src/infra/tricium/service/default/templates (right): https://codereview.chromium.org/2125603002/diff/40001/go/src/infra/tricium/service/default/templates#newcode1 go/src/infra/tricium/service/default/templates:1: ../templates Is this a symlink? This repo may ...
4 years, 5 months ago (2016-07-06 09:49:38 UTC) #8
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/2125603002/40001
4 years, 5 months ago (2016-07-06 10:13:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/2796)
4 years, 5 months ago (2016-07-06 10:21:14 UTC) #13
emso
https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/dispatch.yaml File go/src/infra/tricium/service/dispatch.yaml (right): https://codereview.chromium.org/2125603002/diff/1/go/src/infra/tricium/service/dispatch.yaml#newcode5 go/src/infra/tricium/service/dispatch.yaml:5: module: workflow-launcher On 2016/07/06 06:21:28, emso wrote: > On ...
4 years, 5 months ago (2016-07-07 09:18:45 UTC) #14
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/2125603002/60001
4 years, 5 months ago (2016-07-07 09:50:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/2831)
4 years, 5 months ago (2016-07-07 09:58:19 UTC) #19
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/2125603002/80001
4 years, 5 months ago (2016-07-07 10:25:48 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/2832)
4 years, 5 months ago (2016-07-07 10:33:52 UTC) #24
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/2125603002/100001
4 years, 5 months ago (2016-07-07 10:50:41 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/2833)
4 years, 5 months ago (2016-07-07 10:58:12 UTC) #29
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/2125603002/120001
4 years, 5 months ago (2016-07-08 08:42:21 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/infra/infra/+/269063afbcba7c7f870e9522668d789673555f08
4 years, 5 months ago (2016-07-08 09:57:26 UTC) #34
nodir
https://codereview.chromium.org/2125603002/diff/120001/go/src/infra/tricium/service/default/handlers.go File go/src/infra/tricium/service/default/handlers.go (right): https://codereview.chromium.org/2125603002/diff/120001/go/src/infra/tricium/service/default/handlers.go#newcode28 go/src/infra/tricium/service/default/handlers.go:28: basePage.Execute(w, data) drive by: the returned error is silently ...
4 years, 5 months ago (2016-07-12 17:10:38 UTC) #36
emso
4 years, 5 months ago (2016-07-14 06:48:42 UTC) #37
Message was sent while issue was closed.
https://codereview.chromium.org/2125603002/diff/120001/go/src/infra/tricium/s...
File go/src/infra/tricium/service/default/handlers.go (right):

https://codereview.chromium.org/2125603002/diff/120001/go/src/infra/tricium/s...
go/src/infra/tricium/service/default/handlers.go:28: basePage.Execute(w, data)
On 2016/07/12 17:10:38, nodir wrote:
> drive by: the returned error is silently ignored. it won't show up in logs
> applies to all Execute calls

Yes, added a fix for this in https://codereview.chromium.org/2149853003/.
Thanks.

Powered by Google App Engine
This is Rietveld 408576698