Changeset 182960 in webkit


Ignore:
Timestamp:
Apr 17, 2015 12:08:11 PM (9 years ago)
Author:
ap@apple.com
Message:

build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
https://bugs.webkit.org/show_bug.cgi?id=143885

Reviewed by Tim Horton.

Fixed a case where we have two builds with the same revision(s). An in order build
is one for which the revision is strictly higher.

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:

(BuildbotQueue.prototype._checkForInOrderResult):
(BuildbotQueue.prototype.compareIterationsByRevisions):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js

    r182770 r182960  
    238238            var i1 = iterationsInOriginalOrder[i];
    239239            var i2 = iterationsInOriginalOrder[i + 1];
    240             if (i1.productive && i2.loaded && this.compareIterations(i1, i2) < 0) {
     240            if (i1.productive && i2.loaded && this.compareIterationsByRevisions(i1, i2) < 0) {
    241241                this._hasLoadedIterationForInOrderResult = true;
    242242                return;
     
    283283    },
    284284
     285    compareIterationsByRevisions: function(a, b)
     286    {
     287        var result = b.openSourceRevision - a.openSourceRevision;
     288        if (result)
     289            return result;
     290
     291        result = b.internalRevision - a.internalRevision;
     292        if (result)
     293            return result;
     294
     295        return 0;
     296    },
     297
    285298    sortIterations: function()
    286299    {
  • trunk/Tools/ChangeLog

    r182956 r182960  
     12015-04-17  Alexey Proskuryakov  <ap@apple.com>
     2
     3        build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
     4        https://bugs.webkit.org/show_bug.cgi?id=143885
     5
     6        Reviewed by Tim Horton.
     7
     8        Fixed a case where we have two builds with the same revision(s). An in order build
     9        is one for which the revision is strictly higher.
     10
     11        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
     12        (BuildbotQueue.prototype._checkForInOrderResult):
     13        (BuildbotQueue.prototype.compareIterationsByRevisions):
     14
    1152015-04-17  Commit Queue  <commit-queue@webkit.org>
    216
Note: See TracChangeset for help on using the changeset viewer.