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

Side by Side Diff: appengine/findit/model/base_try_job_data.py

Issue 2605803002: [Findit] Refactoring WfTryJobData into BaseTryJobData, WfTryJobData, and FlakeTryJobData (Closed)
Patch Set: Fixing whitespace Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from google.appengine.ext import ndb
6
7
8 class BaseTryJobData(ndb.Model):
9 """Represents a tryjob's data for a completed try job."""
stgao 2017/01/05 21:15:11 nit: not necessarily completed?
lijeffrey 2017/01/06 04:22:21 Done.
10 # When the try job completed.
11 end_time = ndb.DateTimeProperty(indexed=True)
12
13 # Error message and reason, if any.
14 error = ndb.JsonProperty(indexed=False)
15
16 # Error code if anything went wrong with the try job.
17 error_code = ndb.IntegerProperty(indexed=True)
18
19 # The last buildbucket build response received.
20 last_buildbucket_response = ndb.JsonProperty(indexed=False, compressed=True)
21
22 # When the try job was created.
23 request_time = ndb.DateTimeProperty(indexed=True)
24
25 # When the try job began executing.
26 start_time = ndb.DateTimeProperty(indexed=True)
27
28 # The url to the try job build page.
29 try_job_url = ndb.StringProperty(indexed=False)
30
31 # An ndb key to the try job entity this data is associated with.
32 try_job_key = ndb.KeyProperty(indexed=False)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698