Changeset 174115 in webkit
- Timestamp:
- Sep 30, 2014, 12:48:09 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueue.js
r173050 r174115 106 106 latestMessageTime: patch.latest_message_time ? new Date(patch.latest_message_time) : null, 107 107 detailedResultsURLForLatestMessage: patch.latest_results, 108 messageCount: patch.message_count,108 retryCount: patch.retry_count, 109 109 active: patch.active, 110 110 activeSince: new Date(activeSinceTime), -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueueView.js
r173048 r174115 155 155 this.addLinkToRow(rowElement, "patch-details-link", patch.attachmentID, patch.statusPageURL); 156 156 157 if (patch. messageCount)158 this.addTextToRow(rowElement, "failure-count", patch. messageCount + "\xa0" + (patch.messageCount === 1 ? "attempt" : "attempts"));157 if (patch.retryCount) 158 this.addTextToRow(rowElement, "failure-count", patch.retryCount + "\xa0" + (patch.retryCount === 1 ? "attempt" : "attempts")); 159 159 160 160 if (patch.detailedResultsURLForLatestMessage) -
trunk/Tools/ChangeLog
r174114 r174115 1 2014-09-30 Alexey Proskuryakov <ap@apple.com> 2 3 build.webkit.org/dashboard: Switch EWS view to using actual retry count 4 https://bugs.webkit.org/show_bug.cgi?id=137240 5 6 Reviewed by Ryosuke Niwa. 7 8 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueue.js: 9 (EWSQueue.prototype.loadDetailedStatus): 10 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueueView.js: 11 (EWSQueueView.prototype._popoverContentForEWSQueue): 12 Use the new retry_count data member from JSON. 13 14 * QueueStatusServer/app.yaml: Updating the version. 15 16 * QueueStatusServer/handlers/queuestatusjson.py: (QueueStatusJSON._rows_for_work_items): 17 Instead of message_count, produce retry_count. 18 1 19 2014-09-30 Alexey Proskuryakov <ap@apple.com> 2 20 -
trunk/Tools/QueueStatusServer/app.yaml
r174114 r174115 1 1 application: webkit-queues 2 version: 17411 4# Bugzilla bug ID of last major change2 version: 174115 # Bugzilla bug ID of last major change 3 3 runtime: python 4 4 api_version: 1 -
trunk/Tools/QueueStatusServer/handlers/queuestatusjson.py
r162358 r174115 27 27 from google.appengine.ext.webapp import template 28 28 29 from model.patchlog import PatchLog 29 30 from model.queues import Queue 30 31 from model.queuestatus import QueueStatus … … 58 59 results_url = self.request.host_url + "/results/" + str(statuses[0].key().id()) if statuses[0].results_file else None 59 60 60 row s.append({61 row = { 61 62 "attachment_id": item_id, 62 63 "bug_id": bug_id, … … 65 66 "latest_message": message, 66 67 "latest_message_time": message_time, 67 "message_count": patchStatusQuery.count(),68 68 "status_page": self.request.host_url + "/patch/" + str(item_id), 69 69 "latest_results": results_url, 70 }) 70 } 71 72 patch_log = PatchLog.lookup_if_exists(item_id, queue.name()) 73 if patch_log and patch_log.retry_count: 74 row["retry_count"] = patch_log.retry_count 75 76 rows.append(row) 71 77 return rows 72 78 -
trunk/Tools/QueueStatusServer/templates/statusbubble.html
r174114 r174115 37 37 } 38 38 .started { 39 background-color: # D8FFFA;39 background-color: #E1F5FF; 40 40 } 41 41 .provisional-fail {
Note:
See TracChangeset
for help on using the changeset viewer.