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

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

Issue 2227223002: [Findit] Fix 1500 byte cap on failed_steps_and_tests and output_nodes (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Added . Created 4 years, 4 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/try_job_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/wf_failure_group.py
diff --git a/appengine/findit/model/wf_failure_group.py b/appengine/findit/model/wf_failure_group.py
index d43a17bd47dd856fe8f48de20c0e28a6639978dd..565f28ecdf8513aff7de82e322cbb23bf6e541cf 100644
--- a/appengine/findit/model/wf_failure_group.py
+++ b/appengine/findit/model/wf_failure_group.py
@@ -31,12 +31,15 @@ class WfFailureGroup(BaseBuildModel):
# Refer to common/waterfall/failure_type.py for all the failure types.
build_failure_type = ndb.IntegerProperty(indexed=True)
+ # When the group was created.
+ created_time = ndb.DateTimeProperty(indexed=True)
+
# The blame list of CLs that make up the regression range for this group.
blame_list = ndb.JsonProperty(indexed=False, compressed=True)
# The list of compile failure output nodes (from signals).
# Only not None if this group represents a compile failure.
- output_nodes = ndb.JsonProperty(indexed=True)
+ output_nodes = ndb.JsonProperty(indexed=False)
# A sorted list of lists of the failed steps and tests of a test failure.
# Only not None if this group represents a test failure.
@@ -57,7 +60,7 @@ class WfFailureGroup(BaseBuildModel):
# went to the database) were JSONified to string in a different order than the
# keys of the dict used in the query. For example:
# '{"step_a": [], "step_y": []}' versus '{"step_y": [], "step_a": []}'.
- failed_steps_and_tests = ndb.JsonProperty(indexed=True)
+ failed_steps_and_tests = ndb.JsonProperty(indexed=False)
# The sorted list of suspected tuples, if available, from heuristic analysis.
suspected_tuples = ndb.JsonProperty(indexed=False, compressed=True)
« no previous file with comments | « no previous file | appengine/findit/waterfall/try_job_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698