<?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>266359</bug_id>
          
          <creation_ts>2023-12-13 12:00:02 -0800</creation_ts>
          <short_desc>[ews] revert-pull-request-changes step does not appear to delete the build directory</short_desc>
          <delta_ts>2024-05-13 08:28:06 -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>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=235825</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="Elliott Williams">emw</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>emw</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1999349</commentid>
    <comment_count>0</comment_count>
    <who name="Elliott Williams">emw</who>
    <bug_when>2023-12-13 12:00:02 -0800</bug_when>
    <thetext>In builds like https://ews-build.webkit.org/#/builders/14/builds/31777, I see it running `git clean -f -d` only, which is not enough to delete the WebKitBuild directory, since it&apos;s gitignore&apos;d.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2001134</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-20 12:00:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/119947440&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013229</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2024-02-13 11:32:36 -0800</bug_when>
    <thetext>In patch workflow we run the step UnApplyPatch which runs Tools/Scripts/clean-webkit. Whereas in PR workflow we run RevertPullRequestChanges step which run this git clean command.

I wonder in PR workflow, we un-intentionally stopped doing proper clean build.

Note that the same UnApplyPatch wasn&apos;t used in PR workflow for reason mentioned in https://bugs.webkit.org/show_bug.cgi?id=235825#c0 , but maybe we can have both UnApplyPatch as well as RevertPullRequestChanges step in PR workflow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013231</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2024-02-13 11:34:54 -0800</bug_when>
    <thetext>&gt; both UnApplyPatch as well as RevertPullRequestChanges
I mean both CleanWorkingDirectory and RevertPullRequestChanges steps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034627</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-05-10 15:13:47 -0700</bug_when>
    <thetext>I didn&apos;t realize we intended to delete the WebKitBuild directory, in this circumstance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034632</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-05-10 15:25:20 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/28412</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034936</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-13 08:28:04 -0700</bug_when>
    <thetext>Committed 278689@main (55a78ab59e0a): &lt;https://commits.webkit.org/278689@main&gt;

Reviewed commits have been landed. Closing PR #28412 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>