Changeset 180091 in webkit
- Timestamp:
- Feb 13, 2015, 4:59:20 PM (11 years ago)
- Location:
- trunk/Websites/perf.webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/perf.webkit.org/ChangeLog
r180035 r180091 1 2015-02-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 The status of a A/B testing request always eventually becomes "Failed" 4 https://bugs.webkit.org/show_bug.cgi?id=141523 5 6 Reviewed by Andreas Kling. 7 8 The bug was caused by /api/build-requests always setting the status of a build request to 'failed' when 9 'failedIfNotCompleted' was sent by the buildbot sync'er. 10 11 Fixed the bug by only setting the status to 'failed' if it wasn't set to 'completed'. 12 13 * public/api/build-requests.php: 14 (main): 15 1 16 2015-02-13 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/Websites/perf.webkit.org/public/api/build-requests.php
r178234 r180091 29 29 if ($status == 'failedIfNotCompleted') { 30 30 $db->query_and_get_affected_rows('UPDATE build_requests SET (request_status, request_url) = ($1, $2) 31 WHERE request_id = $3 AND request_status != $ 1', array('failed', $url, $id));31 WHERE request_id = $3 AND request_status != $4', array('failed', $url, $id, 'completed')); 32 32 } else { 33 33 if (!in_array($status, array('pending', 'scheduled', 'running', 'failed', 'completed'))) {
Note:
See TracChangeset
for help on using the changeset viewer.