Bug 36638 - Commit bot tried to land r? cq+ patch
Summary: Commit bot tried to land r? cq+ patch
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 19:09 PDT by Julien Chaffraix
Modified: 2011-01-10 03:22 PST (History)
3 users (show)

See Also:


Attachments
should work, needs testing (1.79 KB, patch)
2011-01-09 15:23 PST, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff
Patch (6.01 KB, patch)
2011-01-10 01:56 PST, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2010-03-25 19:09:43 PDT
Found in https://bugs.webkit.org/show_bug.cgi?id=36531

After having attached a patch for review and set the cq to +, the bot tried to land the patch directly and failed due to not finding any reviewer.

When posting the second patch, the first patch was still r? but I obsoleted it. The new patch original flags were r? and cq+.
Comment 1 Adam Barth 2010-03-26 16:46:34 PDT
If you mark a patch commit-queue+, the bot will try to land it.  If it wasn't reviewed, it doesn't sound like it's ready for commit.  Why did you mark it commit-queue+?
Comment 2 Eric Seidel (no email) 2010-03-26 16:48:04 PDT
Oh posh.  I think we should handle this case.  We should not try to land patches which still have r? or which are marked r-.  Only empty review or r+.
Comment 3 Julien Chaffraix 2010-03-26 16:55:49 PDT
(In reply to comment #1)
> If you mark a patch commit-queue+, the bot will try to land it.  If it wasn't
> reviewed, it doesn't sound like it's ready for commit.  Why did you mark it
> commit-queue+?

Simple, because I wanted the bot to land it for me (I usually land my patches manually to deal with the fallout). This one was special: it was a test fix so it was better to get it landed ASAP.
I have barely used the commit bot so my naive thought was that the bot would just wait until was reviewed to land it.
Comment 4 Eric Seidel (no email) 2011-01-09 15:23:41 PST
Created attachment 78357 [details]
should work, needs testing
Comment 5 Adam Barth 2011-01-09 15:53:31 PST
Comment on attachment 78357 [details]
should work, needs testing

Looks right.
Comment 6 Eric Seidel (no email) 2011-01-10 01:56:38 PST
Created attachment 78381 [details]
Patch
Comment 7 Adam Barth 2011-01-10 02:09:30 PST
Comment on attachment 78381 [details]
Patch

Now, this patch, on the other hand, is very nice.
Comment 8 WebKit Commit Bot 2011-01-10 03:21:55 PST
Comment on attachment 78381 [details]
Patch

Clearing flags on attachment: 78381

Committed r75366: <http://trac.webkit.org/changeset/75366>
Comment 9 WebKit Commit Bot 2011-01-10 03:22:00 PST
All reviewed patches have been landed.  Closing bug.