[webkit-dev] The green tree era
abarth at webkit.org
Sun Apr 4 08:12:03 PDT 2010
On Sat, Apr 3, 2010 at 11:30 PM, Darin Adler <darin at apple.com> wrote:
> On Apr 3, 2010, at 10:36 AM, Adam Barth wrote:
>> Keeping the tree green will require a cultural shift in the project, but I think the near term costs of changing the culture are outweighed by the long term gains in productivity.
> Typically a cultural shift would come after some sort of group discussion, rather than being announced on the mailing list as a fait accompli.
We've been discussing this on the mailing list for a while. Here are
some recent threads:
In which the conclusion is that we should fix test flakiness rather
than skipping the tests or letting the flakiness persist.
In which we manually go through the process outlined above using
webkit-dev instead of more targeted channels.
In which we discuss how best to draw attention to buildbot failures.
This email in particular, in which Maciej asks someone to build a bot
that does precisely what sheriffbot does:
I'd actually like to see it email a mailing list, in addition to the
individuals it guesses are to blame. That could be either webkit-dev
or a new list. Maybe some won't want the spam but I bet a lot of
people would like to find out about every build break. If it's at all
possible, it would be great to email all of the patch author, the
reviewer and the committer (if different from the patch author).
I also think it would be neat if we could have a bot that alerts about
build breaks on IRC in #webkit.
And finally, it might be good to have extra notice if a build remains
broken for some time (every 24 hours maybe?)
This long thread where we discuss the motivations for keeping the tree
green and the possibility of using rollouts more than we already are.
Here are some important messages from that thread:
In which Dimitri Glazkov supports a "rollout first" strategy.
In which Maciej says that is polite (but not mandatory) to ask the
responsible person first.
In which Nikolas Zimmermann expresses concern about automatic rollouts
and asks for a 30 minute window to fix it.
In which Eric Seidel outlines a sheriffbot algorithm that's similar
(but slightly more agressive) than what we've built.
In which Jeremy Orlow supports that algorithm.
In which Alexey Proskuryakov asks for #webkit notification in addition
(which we did).
In which Maciej supports Geoffrey Garen in requesting that we build a
better failure notification system before we build an automatic
In which Maciej again asks that we have a sheriff (although I think he
had a human rather than a machine in mind):
What I'd prefer to see is that the sheriff
the person primarily responsible for reverting broken patches if not
fixed in a timely manner. Then we could have some human judgment in
the process and specific people with clear responsibility.
In which we go through the process manually on webkit-dev again.
In summary, there's been a lot of discussion on webkit-dev about how
to keep the tree green. Several people (including senior folks in the
project) have asked us to build exactly the system we've built. We
floated a bunch of approaches and algorithms, got feedback, and took
that feedback into account. For example,
1) We didn't just skip the failing/flaky tests. We spent months
fixing them. (Ok, we might have skipped one or two, but we and a lot
of folks put a lot of effort into fixing them.)
2) Sheriffbot integrates with IRC instead of just with bugs.webkit.org.
3) Sheriffbot doesn't roll out patches automatically. Instead, human
judgement is involved.
4) There's a minimum of process (e.g., no pre-set "fix or be rolled
5) There's no notion of a "closed tree".
Of course, Eric and I wrote the majority of the code and so got to
choose various details of the how things work. If other people are
passionate about this topic, we're open to suggestion and
contributions. All the code is in svn.webkit.org waiting to be
More information about the webkit-dev