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

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

Issue 838003004: [Findit] Add three sub-pipelines to analyze build failure. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Just rebase. Created 5 years, 11 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/model/step.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/build_analysis.py
diff --git a/appengine/findit/model/build_analysis.py b/appengine/findit/model/build_analysis.py
index 78dba6bfa7c6402d45961d6f71eabf62eb90d811..eed6c8eaecea7863a5085b5f56e96014e7436cd5 100644
--- a/appengine/findit/model/build_analysis.py
+++ b/appengine/findit/model/build_analysis.py
@@ -39,7 +39,7 @@ class BuildAnalysis(BaseBuildModel):
return self.status == BuildAnalysisStatus.ERROR
def Reset(self): # pragma: no cover
- """Reset to the state as if no analysis is run."""
+ """Resets to the state as if no analysis is run."""
self.pipeline_url = None
self.status = BuildAnalysisStatus.PENDING
self.start_time = None
@@ -53,3 +53,6 @@ class BuildAnalysis(BaseBuildModel):
default=BuildAnalysisStatus.PENDING, indexed=False)
start_time = ndb.DateTimeProperty(indexed=False)
updated_time = ndb.DateTimeProperty(indexed=False, auto_now=True)
+
+ # Analysis result.
+ result = ndb.JsonProperty(indexed=False, compressed=True)
« no previous file with comments | « no previous file | appengine/findit/model/step.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698