<?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>236654</bug_id>
          
          <creation_ts>2022-02-15 10:36:19 -0800</creation_ts>
          <short_desc>[EWS] Support PRs when sending layout test failure emails</short_desc>
          <delta_ts>2022-02-16 12:55:48 -0800</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=234847</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=235926</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=236705</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clopez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1841795</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-15 10:36:19 -0800</bug_when>
    <thetext>AnalyzeLayoutTestsResults emails change authors when their change fails EWS. We should support pull-requests in this step.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841796</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-15 10:36:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/88974170&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841800</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-15 10:39:56 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/147</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842269</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-16 06:48:30 -0800</bug_when>
    <thetext>Landed 247326@main (r289888)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842456</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2022-02-16 12:40:58 -0800</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #3)
&gt; Landed 247326@main (r289888)

there are a few issues with this patch:

a few _addToLog() calls miss the two parameters needed and there is one variable undefined.

I detected this meanwhile working on bug 236705 which adds unit tests to test the send_email() calls

This would be the fix: http://sprunge.us/BNhsG4

I can include it as part of bug 236705</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842469</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2022-02-16 12:55:33 -0800</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #4)
&gt; (In reply to Jonathan Bedard from comment #3)
&gt; &gt; Landed 247326@main (r289888)
&gt; 
&gt; there are a few issues with this patch:
&gt; 
&gt; a few _addToLog() calls miss the two parameters needed and there is one
&gt; variable undefined.
&gt; 
&gt; I detected this meanwhile working on bug 236705 which adds unit tests to
&gt; test the send_email() calls
&gt; 
&gt; This would be the fix: http://sprunge.us/BNhsG4
&gt; 
&gt; I can include it as part of bug 236705

I landed 289947 that includes also those fixes.

Now the unit tests exercise the code for the send_email_* functions so this should be easier to detect in the future</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842470</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2022-02-16 12:55:48 -0800</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #5)
&gt; (In reply to Carlos Alberto Lopez Perez from comment #4)
&gt; &gt; (In reply to Jonathan Bedard from comment #3)
&gt; &gt; &gt; Landed 247326@main (r289888)
&gt; &gt; 
&gt; &gt; there are a few issues with this patch:
&gt; &gt; 
&gt; &gt; a few _addToLog() calls miss the two parameters needed and there is one
&gt; &gt; variable undefined.
&gt; &gt; 
&gt; &gt; I detected this meanwhile working on bug 236705 which adds unit tests to
&gt; &gt; test the send_email() calls
&gt; &gt; 
&gt; &gt; This would be the fix: http://sprunge.us/BNhsG4
&gt; &gt; 
&gt; &gt; I can include it as part of bug 236705
&gt; 
&gt; I landed 289947 that includes also those fixes.
&gt; 
&gt; Now the unit tests exercise the code for the send_email_* functions so this
&gt; should be easier to detect in the future

r289947</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>