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

Unified Diff: appengine/findit/model/wf_analysis.py

Issue 2139093002: [Findit] Trigger swarming tasks after detech_first_faliure_pipeline (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: . Created 4 years, 5 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/waterfall/analyze_build_failure_pipeline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/wf_analysis.py
diff --git a/appengine/findit/model/wf_analysis.py b/appengine/findit/model/wf_analysis.py
index 2838adea93c03ac67cdba4ecd42d05e4cdaf226f..5cf2bd30c107268c8d99987eb2bb1f01a204ee50 100644
--- a/appengine/findit/model/wf_analysis.py
+++ b/appengine/findit/model/wf_analysis.py
@@ -24,8 +24,10 @@ class WfAnalysis(BaseBuildModel):
@staticmethod
def Create(master_name, builder_name, build_number): # pragma: no cover
- return WfAnalysis(
+ analysis = WfAnalysis(
key=WfAnalysis._CreateKey(master_name, builder_name, build_number))
+ analysis.failure_result_map = analysis.failure_result_map or {}
+ return analysis
@staticmethod
def Get(master_name, builder_name, build_number): # pragma: no cover
« no previous file with comments | « no previous file | appengine/findit/waterfall/analyze_build_failure_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698