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

Unified Diff: appengine/findit/findit_api.py

Issue 2411893002: [Findit] Adding metadata for manually vs automatically triggered flake analyses (Closed)
Patch Set: Addressing comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/findit/handlers/flake/check_flake.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/findit_api.py
diff --git a/appengine/findit/findit_api.py b/appengine/findit/findit_api.py
index f38411bbb9970bfbe9ab6eedcd509a4f80a9fb60..a0e27f57a6e195986757944090629727ea843078 100644
--- a/appengine/findit/findit_api.py
+++ b/appengine/findit/findit_api.py
@@ -30,6 +30,7 @@ from model.wf_try_job import WfTryJob
from waterfall import buildbot
from waterfall import waterfall_config
from waterfall.flake import flake_analysis_service
+from waterfall.flake import triggering_sources
# This is used by the underlying ProtoRpc when creating names for the ProtoRPC
@@ -300,7 +301,8 @@ class FindItApi(remote.Service):
logging.info('Flake: %s', CreateFlakeAnalysisRequest(request))
analysis_triggered = flake_analysis_service.ScheduleAnalysisForFlake(
- CreateFlakeAnalysisRequest(request), user_email, is_admin)
+ CreateFlakeAnalysisRequest(request), user_email, is_admin,
+ triggering_sources.FINDIT_API)
if analysis_triggered is None:
raise endpoints.UnauthorizedException(
« no previous file with comments | « no previous file | appengine/findit/handlers/flake/check_flake.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698