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

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: Address comments 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
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..8401b6777ecd327f3fee0a5ec667213248dc67ed 100644
--- a/appengine/findit/model/wf_analysis.py
+++ b/appengine/findit/model/wf_analysis.py
@@ -145,7 +145,8 @@ class WfAnalysis(BaseBuildModel):
# Suspected CLs we found.
suspected_cls = ndb.JsonProperty(indexed=False, compressed=True)
# Record the id of try job results of each failure.
- failure_result_map = ndb.JsonProperty(indexed=False, compressed=True)
+ failure_result_map = ndb.JsonProperty(indexed=False, compressed=True,
+ default={})
stgao 2016/07/12 20:26:52 This possible pitfall might cause unexpected behav
chanli 2016/07/12 20:41:19 Done.
# The actual culprit CLs that are responsible for the failures.
culprit_cls = ndb.JsonProperty(indexed=False, compressed=True)

Powered by Google App Engine
This is Rietveld 408576698