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

Issue 1852383002: [Findit] Integrate with Fracas through Pub/Sub. (Closed)

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

Description

[Findit] Integrate with Fracas through Pub/Sub. Main changes are: 1. Add a new frontend to handle crashes, and update dispatching rule accordingly. 2. Add a new backend and a new task queue to run analysis of crashes from Fracas. 3. Add crash configration(NDB module, handler, and UI template). 4. Add a handler to accept Pub/Sub push of Fracas messages. 5. Add the NDB model to save Fracas crashes and the analysis result. 6. Add the pipeline to run the analysis and publish results to a configured topic. 7. Update util_scripts/run.sh to set the app id through ENV for testing deployment. A demo client app to mimic Fracas is in https://chromereviews.googleplex.com/392327013/. The implementation is according to design doc https://docs.google.com/a/google.com/document/d/1fDhJ2suyTsCLXukJwNDqtTAx_hK0hjHrOuUFFR_jDtE/edit?usp=sharing BUG=600460 Committed: https://chromium.googlesource.com/infra/infra/+/0c1485443c65aeab3e432bb86ecbe583cb7bb989

Patch Set 1 : Not for review -- experimenting GCS Object Change Notification #

Patch Set 2 : Not for review -- switch to Pub/Sub. #

Patch Set 3 : Not for review -- rebase on the huge refactoring #

Patch Set 4 : #

Total comments: 26

Patch Set 5 : Address comments. #

Total comments: 24

Patch Set 6 : Fix nits. #

Total comments: 8

Patch Set 7 : Rebase. #

Patch Set 8 : Address comments. #

Patch Set 9 : Address comments by katesonia@ in an earlier patchset. #

Patch Set 10 : Just rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+921 lines, -22 lines) Patch
M appengine/findit/common/constants.py View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
A appengine/findit/common/pubsub_util.py View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A + appengine/findit/crash-backend-fracas.yaml View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -12 lines 0 comments Download
A + appengine/findit/crash-frontend.yaml View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A appengine/findit/crash/fracas.py View 1 2 3 4 5 6 7 8 1 chunk +69 lines, -0 lines 0 comments Download
A appengine/findit/crash/fracas_crash_pipeline.py View 1 2 3 4 5 6 7 1 chunk +153 lines, -0 lines 0 comments Download
A appengine/findit/crash/test/crash_testcase.py View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
A appengine/findit/crash/test/fracas_crash_pipeline_test.py View 1 2 3 4 5 6 7 1 chunk +142 lines, -0 lines 0 comments Download
M appengine/findit/dispatch.yaml View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A + appengine/findit/handlers/crash/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/handlers/crash/crash_config.py View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
A appengine/findit/handlers/crash/fracas_crash.py View 1 2 3 4 5 6 1 chunk +56 lines, -0 lines 0 comments Download
A + appengine/findit/handlers/crash/test/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/handlers/crash/test/fracas_crash_test.py View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
M appengine/findit/main.py View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -5 lines 0 comments Download
A + appengine/findit/model/crash/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/model/crash/crash_analysis.py View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A appengine/findit/model/crash/crash_config.py View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/findit/model/crash/fracas_crash_analysis.py View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A + appengine/findit/model/crash/test/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/model/crash/test/crash_analysis_test.py View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A appengine/findit/model/crash/test/fracas_crash_analysis_test.py View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M appengine/findit/queue.yaml View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A appengine/findit/templates/crash/crash_config.html View 1 1 chunk +45 lines, -0 lines 0 comments Download
A appengine/findit/third_party/googleapiclient View 1 1 chunk +1 line, -0 lines 0 comments Download
A + appengine/findit/third_party/httplib2 View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/third_party/oauth2client View 1 1 chunk +1 line, -0 lines 0 comments Download
A + appengine/findit/third_party/six.py View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/third_party/uritemplate View 1 1 chunk +1 line, -0 lines 0 comments Download
M appengine/findit/util_scripts/run.sh View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
stgao
Hi forks, Do you mind a review of this CL for the integration with Fracas ...
4 years, 8 months ago (2016-04-07 19:25:35 UTC) #7
mimee
I only managed to skim through these. Marty and Jao-ke will also take a look ...
4 years, 8 months ago (2016-04-07 23:43:10 UTC) #9
stgao
Thanks for the quick review. Marty, Jao-ke, and Sharu, do you mind a reviewing? https://codereview.chromium.org/1852383002/diff/100001/appengine/findit/crash/fracas.py ...
4 years, 8 months ago (2016-04-08 01:14:08 UTC) #10
mimee
https://codereview.chromium.org/1852383002/diff/100001/appengine/findit/crash/fracas.py File appengine/findit/crash/fracas.py (right): https://codereview.chromium.org/1852383002/diff/100001/appengine/findit/crash/fracas.py#newcode27 appengine/findit/crash/fracas.py:27: "dep_short_name": "v8", # A short name to represent the ...
4 years, 8 months ago (2016-04-08 15:36:04 UTC) #11
Martin Barbella
I want to do another pass on this, but some initial comments. https://codereview.chromium.org/1852383002/diff/110001/appengine/findit/crash/fracas.py File appengine/findit/crash/fracas.py ...
4 years, 8 months ago (2016-04-08 18:10:24 UTC) #12
stgao
Comments are all addressed. https://codereview.chromium.org/1852383002/diff/100001/appengine/findit/crash/fracas.py File appengine/findit/crash/fracas.py (right): https://codereview.chromium.org/1852383002/diff/100001/appengine/findit/crash/fracas.py#newcode27 appengine/findit/crash/fracas.py:27: "dep_short_name": "v8", # A short ...
4 years, 8 months ago (2016-04-11 20:32:20 UTC) #13
Martin Barbella
LGTM overall, just a few more comments. I didn't look too closely at the tests. ...
4 years, 8 months ago (2016-04-11 21:46:32 UTC) #14
Sharu
Sorry for the delay, was too busy with the demo last week. https://codereview.chromium.org/1852383002/diff/110001/appengine/findit/crash/fracas.py File appengine/findit/crash/fracas.py ...
4 years, 8 months ago (2016-04-12 00:23:14 UTC) #16
stgao
Comments are addressed. If I don't receive more comments by end of day today, I ...
4 years, 8 months ago (2016-04-12 18:19:18 UTC) #17
stgao
It seems I missed comments by katesonia@ in an earlier patchset. https://codereview.chromium.org/1852383002/diff/110001/appengine/findit/crash/fracas.py File appengine/findit/crash/fracas.py (right): ...
4 years, 8 months ago (2016-04-12 18:27:36 UTC) #18
Sharu
lgtm
4 years, 8 months ago (2016-04-12 18:53:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852383002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852383002/210001
4 years, 8 months ago (2016-04-14 23:21:20 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 23:25:19 UTC) #24
Message was sent while issue was closed.
Committed patchset #10 (id:210001) as
https://chromium.googlesource.com/infra/infra/+/0c1485443c65aeab3e432bb86ecbe...

Powered by Google App Engine
This is Rietveld 408576698