Bug 59008

Summary: [buildbot]Show more recent builds on builder page
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, aroben, commit-queue, eric, galpeter, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
template patch
ossy: review-, ossy: commit-queue-
base template none

Description Csaba Osztrogonác 2011-04-20 10:44:24 PDT
If I click on a builder on waterfall page, 
I can see only 5 builds under the recent builds.

It would be great if we can see more than 5 to make gardening more effective.
I know that I can add "?numbuilds=100" to the URL, but it isn't so user friendly.
Can't we add this option to master.cfg somehow?
Comment 1 Peter Gal 2011-04-20 10:57:31 PDT
(In reply to comment #0)
> If I click on a builder on waterfall page, 
> I can see only 5 builds under the recent builds.
> 
> It would be great if we can see more than 5 to make gardening more effective.
> I know that I can add "?numbuilds=100" to the URL, but it isn't so user friendly.
> Can't we add this option to master.cfg somehow?

It is possible to pass 'numbuilds' argument to the WebStatus in the master.cfg, but that does not affects the builder's page. But we can override the build in template which will contain the required extra links.
Comment 2 Peter Gal 2011-04-20 11:01:03 PDT
Created attachment 90362 [details]
template patch

Simply added these lines to the built-in template:

( Show: <a href="{{ builder_url }}">default</a>
{% for count in [25, 50, 100, 200] %}
<a href="{{ builder_url }}?numbuilds={{ count }}">{{ count }}</a>
{% endfor %})

This will show five links with different 'numbuilds' parameters.
Comment 3 Csaba Osztrogonác 2011-04-20 11:03:43 PDT
Comment on attachment 90362 [details]
template patch

yay, shibbbyyyy! 

r=me
Comment 4 Csaba Osztrogonác 2011-04-20 11:05:08 PDT
Adam, could you run a reconfigure on the buildmaster after it is landed?
Comment 5 Peter Gal 2011-04-20 11:05:53 PDT
BTW, this template is from Buildbot v0.8.3, so it should apply cleanly to the apple's buildmaster.
Comment 6 Adam Roben (:aroben) 2011-04-20 11:28:44 PDT
It would be slightly clearer to check in the unmodified template first, and then customize it after that in a separate change.

I can take care of updating the master after this lands.
Comment 7 Csaba Osztrogonác 2011-04-20 11:32:19 PDT
Comment on attachment 90362 [details]
template patch

OK, let's check in the unmodified template first, and then patch it.
Comment 8 Peter Gal 2011-04-20 11:57:22 PDT
Created attachment 90375 [details]
base template

This is the built-in template from buildbot v0.8.3.
Comment 9 WebKit Commit Bot 2011-04-20 13:17:52 PDT
The commit-queue encountered the following flaky tests while processing attachment 90362 [details]:

http/tests/xmlhttprequest/logout.html bug 52047 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.
Comment 10 Csaba Osztrogonác 2011-04-20 14:50:16 PDT
Comment on attachment 90375 [details]
base template

Landed in http://trac.webkit.org/changeset/84421
Comment 11 Csaba Osztrogonác 2011-04-20 14:58:47 PDT
Modifying the default template landed in http://trac.webkit.org/changeset/84423
Comment 12 WebKit Review Bot 2011-04-20 15:05:20 PDT
http://trac.webkit.org/changeset/84423 might have broken Chromium Win Release
Comment 13 Peter Gal 2011-04-21 02:20:21 PDT
(In reply to comment #11)
> Modifying the default template landed in http://trac.webkit.org/changeset/84423

Cool, Thanks!