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

Issue 2299883005: [Findit] Add findit_for_client to do analysis based on client_id (Closed)

Created:
4 years, 3 months ago by Sharu Jiang
Modified:
4 years, 2 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org, aarya, lijeffrey, chanli
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Add findit_for_client to do analysis based on client_id Add findit_for_client on top of findit_for_fracas and findit_for_clusterfuzz(to be implemented) to do client-specific checking and call different module to do analysis based on client_id. Doc: https://docs.google.com/a/google.com/document/d/1XkGjz7O2WNoGz2_x2JpbaCFZKsKqYpeLy9LiwfgKsZA/edit?usp=sharing BUG=645203 Committed: https://chromium.googlesource.com/infra/infra/+/bdee0f60631fbffc47f4ca7c58b9b1241da8af86

Patch Set 1 #

Patch Set 2 : Add an if else. #

Total comments: 14

Patch Set 3 : Address comments and rename findit_for_fracas to findit_for_chromecrash #

Total comments: 24

Patch Set 4 : Address comments. #

Total comments: 2

Patch Set 5 : Fix nit. #

Total comments: 6

Patch Set 6 : Fix nits. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+530 lines, -384 lines) Patch
M appengine/findit/common/appengine_util.py View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M appengine/findit/common/constants.py View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download
M appengine/findit/crash/crash_pipeline.py View 1 2 3 4 5 6 6 chunks +49 lines, -89 lines 0 comments Download
A + appengine/findit/crash/findit_for_chromecrash.py View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A appengine/findit/crash/findit_for_client.py View 1 2 3 4 5 1 chunk +167 lines, -0 lines 0 comments Download
D appengine/findit/crash/findit_for_fracas.py View 1 2 3 4 5 6 1 chunk +0 lines, -144 lines 0 comments Download
M appengine/findit/crash/test/crash_pipeline_test.py View 1 2 10 chunks +20 lines, -15 lines 0 comments Download
A + appengine/findit/crash/test/findit_for_chromecrash_test.py View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
A appengine/findit/crash/test/findit_for_client_test.py View 1 2 3 4 5 1 chunk +214 lines, -0 lines 0 comments Download
D appengine/findit/crash/test/findit_for_fracas_test.py View 1 2 1 chunk +0 lines, -126 lines 0 comments Download
M appengine/findit/crash/type_enums.py View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M appengine/findit/handlers/crash/crash_handler.py View 2 chunks +33 lines, -3 lines 0 comments Download
M appengine/findit/handlers/crash/test/crash_handler_test.py View 1 chunk +2 lines, -1 line 0 comments Download
M appengine/findit/model/crash/crash_config.py View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M appengine/findit/model/crash/test/crash_config_test.py View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
Sharu Jiang
PTAL :)
4 years, 3 months ago (2016-09-08 20:31:18 UTC) #8
stgao
https://codereview.chromium.org/2299883005/diff/100001/appengine/findit/crash/crash_pipeline.py File appengine/findit/crash/crash_pipeline.py (right): https://codereview.chromium.org/2299883005/diff/100001/appengine/findit/crash/crash_pipeline.py#newcode92 appengine/findit/crash/crash_pipeline.py:92: logging.info('Published analysis result for %s', repr(crash_identifiers)) include client_id https://codereview.chromium.org/2299883005/diff/100001/appengine/findit/crash/crash_pipeline.py#newcode103 ...
4 years, 3 months ago (2016-09-13 16:37:31 UTC) #11
Sharu Jiang
https://codereview.chromium.org/2299883005/diff/100001/appengine/findit/crash/crash_pipeline.py File appengine/findit/crash/crash_pipeline.py (right): https://codereview.chromium.org/2299883005/diff/100001/appengine/findit/crash/crash_pipeline.py#newcode92 appengine/findit/crash/crash_pipeline.py:92: logging.info('Published analysis result for %s', repr(crash_identifiers)) On 2016/09/13 16:37:31, ...
4 years, 3 months ago (2016-09-14 20:38:38 UTC) #12
lijeffrey
https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/findit_for_client.py File appengine/findit/crash/findit_for_client.py (right): https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/findit_for_client.py#newcode9 appengine/findit/crash/findit_for_client.py:9: and can be refered to as chromecrash.""" nit: referred ...
4 years, 3 months ago (2016-09-16 16:28:56 UTC) #14
Martin Barbella
https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/crash_pipeline.py File appengine/findit/crash/crash_pipeline.py (right): https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/crash_pipeline.py#newcode89 appengine/findit/crash/crash_pipeline.py:89: client_config = getattr(CrashConfig.Get(), client_id) This feels pretty hacky. If ...
4 years, 3 months ago (2016-09-17 23:20:35 UTC) #16
Sharu Jiang
https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/crash_pipeline.py File appengine/findit/crash/crash_pipeline.py (right): https://codereview.chromium.org/2299883005/diff/120001/appengine/findit/crash/crash_pipeline.py#newcode89 appengine/findit/crash/crash_pipeline.py:89: client_config = getattr(CrashConfig.Get(), client_id) On 2016/09/17 23:20:35, Martin Barbella ...
4 years, 3 months ago (2016-09-19 21:36:00 UTC) #19
Martin Barbella
lgtm https://codereview.chromium.org/2299883005/diff/140001/appengine/findit/crash/findit_for_client.py File appengine/findit/crash/findit_for_client.py (right): https://codereview.chromium.org/2299883005/diff/140001/appengine/findit/crash/findit_for_client.py#newcode82 appengine/findit/crash/findit_for_client.py:82: def CreateAnalysisForClient(crash_identifiers, client_id): Nit: missing docstring on this ...
4 years, 3 months ago (2016-09-19 21:42:37 UTC) #20
Sharu Jiang
https://codereview.chromium.org/2299883005/diff/140001/appengine/findit/crash/findit_for_client.py File appengine/findit/crash/findit_for_client.py (right): https://codereview.chromium.org/2299883005/diff/140001/appengine/findit/crash/findit_for_client.py#newcode82 appengine/findit/crash/findit_for_client.py:82: def CreateAnalysisForClient(crash_identifiers, client_id): On 2016/09/19 21:42:37, Martin Barbella wrote: ...
4 years, 3 months ago (2016-09-19 23:30:39 UTC) #21
stgao
lgtm with nits. https://codereview.chromium.org/2299883005/diff/200001/appengine/findit/common/constants.py File appengine/findit/common/constants.py (right): https://codereview.chromium.org/2299883005/diff/200001/appengine/findit/common/constants.py#newcode12 appengine/findit/common/constants.py:12: CRASH_BACKEND = {'fracas': 'crash-backend-fracas', style nit: ...
4 years, 3 months ago (2016-09-20 23:00:10 UTC) #22
Sharu Jiang
https://codereview.chromium.org/2299883005/diff/200001/appengine/findit/common/constants.py File appengine/findit/common/constants.py (right): https://codereview.chromium.org/2299883005/diff/200001/appengine/findit/common/constants.py#newcode12 appengine/findit/common/constants.py:12: CRASH_BACKEND = {'fracas': 'crash-backend-fracas', On 2016/09/20 23:00:10, stgao (slow) ...
4 years, 2 months ago (2016-09-21 18:06:03 UTC) #23
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/2299883005/220001
4 years, 2 months ago (2016-09-21 18:15:22 UTC) #26
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/2299883005/240001
4 years, 2 months ago (2016-09-21 18:28:22 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-09-21 18:42:46 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:240001) as
https://chromium.googlesource.com/infra/infra/+/bdee0f60631fbffc47f4ca7c58b9b...

Powered by Google App Engine
This is Rietveld 408576698