| OLD | NEW | 
|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 from google.appengine.ext import ndb | 5 from google.appengine.ext import ndb | 
| 6 | 6 | 
| 7 from model.base_build_model import BaseBuildModel | 7 from model.base_build_model import BaseBuildModel | 
| 8 from model import wf_analysis_status | 8 from model import wf_analysis_status | 
| 9 from model import wf_analysis_result_status | 9 from model import wf_analysis_result_status | 
| 10 | 10 | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 105   # When the analysis was updated. | 105   # When the analysis was updated. | 
| 106   updated_time = ndb.DateTimeProperty(indexed=False, auto_now=True) | 106   updated_time = ndb.DateTimeProperty(indexed=False, auto_now=True) | 
| 107   # Record which version of analysis. | 107   # Record which version of analysis. | 
| 108   version = ndb.StringProperty(indexed=False) | 108   version = ndb.StringProperty(indexed=False) | 
| 109 | 109 | 
| 110   # Analysis result for the build failure. | 110   # Analysis result for the build failure. | 
| 111   not_passed_steps = ndb.StringProperty(indexed=False, repeated=True) | 111   not_passed_steps = ndb.StringProperty(indexed=False, repeated=True) | 
| 112   result = ndb.JsonProperty(indexed=False, compressed=True) | 112   result = ndb.JsonProperty(indexed=False, compressed=True) | 
| 113   # Suspected CLs we found. | 113   # Suspected CLs we found. | 
| 114   suspected_cls = ndb.JsonProperty(indexed=False, compressed=True) | 114   suspected_cls = ndb.JsonProperty(indexed=False, compressed=True) | 
| 115   # Record the id of tryjob results of each failure. | 115   # Record the id of try job results of each failure. | 
| 116   failure_result_map = ndb.JsonProperty(indexed=False, compressed=True) | 116   failure_result_map = ndb.JsonProperty(indexed=False, compressed=True) | 
| 117 | 117 | 
| 118   # The actual culprit CLs that are responsible for the failures. | 118   # The actual culprit CLs that are responsible for the failures. | 
| 119   culprit_cls = ndb.JsonProperty(indexed=False, compressed=True) | 119   culprit_cls = ndb.JsonProperty(indexed=False, compressed=True) | 
| 120   # Conclusion of analysis result for the build failure: 'Found' or 'Not Found'. | 120   # Conclusion of analysis result for the build failure: 'Found' or 'Not Found'. | 
| 121   result_status = ndb.IntegerProperty(indexed=True) | 121   result_status = ndb.IntegerProperty(indexed=True) | 
| 122   # Record the history of triage. | 122   # Record the history of triage. | 
| 123   triage_history = ndb.JsonProperty(indexed=False, compressed=True) | 123   triage_history = ndb.JsonProperty(indexed=False, compressed=True) | 
| OLD | NEW | 
|---|