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

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

Issue 1667383002: [Findit] Adding master_name, builder_name, and try_job_type to try_job_data (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Adding index Created 4 years, 10 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/monitor_try_job_pipeline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/wf_try_job_data.py
diff --git a/appengine/findit/model/wf_try_job_data.py b/appengine/findit/model/wf_try_job_data.py
index 9c528a4e833019bfdc6e32c02c2775c5d1d9563d..8a90f4cd05da7022b5240841cb3dcaed06deee30 100644
--- a/appengine/findit/model/wf_try_job_data.py
+++ b/appengine/findit/model/wf_try_job_data.py
@@ -7,12 +7,16 @@ from google.appengine.ext import ndb
class WfTryJobData(ndb.Model):
stgao 2016/02/05 00:59:13 Just found that we didn't save the try job type, w
stgao 2016/02/05 00:59:13 A side note: later, we need to monitor the number
lijeffrey 2016/02/05 01:11:20 Done.
"""Represents a tryjob's data for a completed try job."""
+ # The original master on which the build was detected to have failed.
+ master_name = ndb.StringProperty(indexed=True)
+ # The original buildername on which the build was detected to have failed.
+ builder_name = ndb.StringProperty(indexed=True)
# When the try job was created.
- request_time = ndb.DateTimeProperty(indexed=False)
+ request_time = ndb.DateTimeProperty(indexed=True)
# When the try job began executing.
- start_time = ndb.DateTimeProperty(indexed=False)
+ start_time = ndb.DateTimeProperty(indexed=True)
# When the try job completed.
- end_time = ndb.DateTimeProperty(indexed=False)
+ end_time = ndb.DateTimeProperty(indexed=True)
# Number of commits in the revision range.
regression_range_size = ndb.IntegerProperty(indexed=False)
# Number of commits analyzed to determine a culprit if any.
« no previous file with comments | « no previous file | appengine/findit/waterfall/monitor_try_job_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698