WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
76722
Garden-o-matic should tell me which revisions have been checked by all the bots
https://bugs.webkit.org/show_bug.cgi?id=76722
Summary
Garden-o-matic should tell me which revisions have been checked by all the bots
Adam Barth
Reported
2012-01-20 11:36:25 PST
Garden-o-matic should tell me which revisions have been checked by all the bots
Attachments
Patch
(4.52 KB, patch)
2012-01-20 11:37 PST
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2012-01-20 11:37:12 PST
Created
attachment 123349
[details]
Patch
Adam Barth
Comment 2
2012-01-20 11:44:20 PST
Committed
r105530
: <
http://trac.webkit.org/changeset/105530
>
Adam Roben (:aroben)
Comment 3
2012-01-20 12:42:35 PST
Comment on
attachment 123349
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=123349&action=review
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:148 > + var revision = 0; > + Object.keys(model.state.resultsByBuilder).forEach(function(builderName) { > + var results = model.state.resultsByBuilder[builderName]; > + var testedRevision = parseInt(results.revision); > + revision = revision ? Math.min(revision, testedRevision) : testedRevision; > + }); > + return revision;
Aww, so close to total functional goodness! var revisions = Object.keys(model.state.resultsByBuilder).map(function(builderName) { var results = model.state.resultsByBuilder[builderName]; var testedRevision = parseInt(results.revision); return revision ? revision : 1e100; }); return Math.min.apply(Math, revisions); :-)
Adam Roben (:aroben)
Comment 4
2012-01-20 12:43:30 PST
Or you could use Array.prototype.filter to get rid of the non-revisions instead of substituting a large number for them… </bikeshed>
Adam Barth
Comment 5
2012-01-20 12:54:21 PST
:-)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug