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

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

Issue 1906293002: [Findit] Adding additional fields to try job metadata (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments Created 4 years, 8 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_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 96daade5c467a285a48b1b1e67df6ab6b13f51f4..cf9a4d588e157fac37626fe95a0c34ec48874f5c 100644
--- a/appengine/findit/model/wf_try_job_data.py
+++ b/appengine/findit/model/wf_try_job_data.py
@@ -11,6 +11,8 @@ class WfTryJobData(ndb.Model):
master_name = ndb.StringProperty(indexed=True)
# The original buildername on which the build was detected to have failed.
builder_name = ndb.StringProperty(indexed=True)
+ # The original build number.
+ build_number = ndb.IntegerProperty(indexed=True)
# The type of try job, such as 'compile' or 'test'.
try_job_type = ndb.StringProperty(indexed=True)
# When the try job was created.
@@ -29,6 +31,8 @@ class WfTryJobData(ndb.Model):
try_job_url = ndb.StringProperty(indexed=False)
# Error message and reason, if any.
error = ndb.JsonProperty(indexed=False)
+ # The last buildbucket build response received.
+ last_buildbucket_response = ndb.JsonProperty(indexed=False, compressed=True)
# TODO(lijeffrey): We may want to determine whether or not a try job
# was triggered as a redo of another if the first failed to find a culprit.
« no previous file with comments | « appengine/findit/common/waterfall/buildbucket_client.py ('k') | appengine/findit/waterfall/monitor_try_job_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698