<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>36302</bug_id>
          
          <creation_ts>2010-03-18 10:37:09 -0700</creation_ts>
          <short_desc>EWS bots should process r+ bugs as well as r?</short_desc>
          <delta_ts>2010-04-16 17:34:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>35460</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201376</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-18 10:37:09 -0700</bug_when>
    <thetext>EWS bots should process r+ bugs as well as r?

We care just as much (or more) about r+ bugs not breaking anything (or knowing sooner that they will)!

Should be a pretty easy change.  May involve adding a new fetch_ method to BugzillaQueries:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/bugzilla.py

fetch_potential_patch_ids:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/queues.py#L255

is the method that would need to be overridden in:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/early_warning_system.py

We might have to change the hierarchy some too since the EWSes inherit from AbstractReviewQueue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201390</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-03-18 10:55:36 -0700</bug_when>
    <thetext>The case I care about is when something gets r+&apos;ed with comments. I need a way to make the changes and then send it through the EWS again. Are you saying I should post the patch and r+ it myself even though I&apos;m not a reviewer?

Would be nice if there were a way to send something to the EWS without tying it to review state, e.g. if I could put up an attachment and then paste the URL to the attachment on a web form somewhere, that would be sufficient. Then we could add a &quot;send to EWS&quot; link in bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201394</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-18 10:57:07 -0700</bug_when>
    <thetext>That sounds like try-bots. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201406</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-03-18 11:05:16 -0700</bug_when>
    <thetext>Well, it&apos;s try bots, except it actually posts your bug to bugzilla and emails the relevant people. But, the point is, what&apos;s there now is pretty darn close.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201460</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-03-18 12:23:03 -0700</bug_when>
    <thetext>If we have extra capacity, we can run on commit-queue? patches too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201472</commentid>
    <comment_count>5</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-03-18 12:38:57 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; If we have extra capacity, we can run on commit-queue? patches too.

But that would mean someone might come by and cq+ my change that I&apos;m waiting on the EWS results for, no?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201537</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-03-18 13:50:53 -0700</bug_when>
    <thetext>It sounds like you want try servers, not the EWS.  If something fails EWS, it notices various stakeholders.  If you&apos;re uploading patches you have no interest in committing, then we shouldn&apos;t be emailing folks on failure.

In the case you mentioned, that you have an R+ and you want to run it through some validation before landing, marking commit-queue? is appropriate.  If someone marks your patch commit-queue+, then it will get landed and go through our usual commit-queue (and, in the future, sheriff-bot) validation.

The more that I think about this, the more I think you should just use &quot;webkit-patch land-safely&quot;.  That will upload your patch to bugs.webkit.org and run it through the commit-queue machinery.  We should make the commit-queue machinery robust enough so you can do that without worrying too much about breaking things.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213528</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-16 17:34:07 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 35460 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>