<?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>257854</bug_id>
          
          <creation_ts>2023-06-08 09:01:48 -0700</creation_ts>
          <short_desc>WPT export should not use the bug URL in the commit subject (title)</short_desc>
          <delta_ts>2026-05-23 18:32:15 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=274079</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=297919</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="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>bfan2</cc>
    
    <cc>gsnedders</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1960560</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-06-08 09:01:48 -0700</bug_when>
    <thetext>That&apos;s not great context for the upstream project.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961008</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-12 05:24:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/110638179&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961009</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2023-06-12 05:28:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/14859</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019689</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-03-08 12:47:52 -0800</bug_when>
    <thetext>*** Bug 270349 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2072571</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-11-04 12:16:16 -0800</bug_when>
    <thetext>From the dupe:

(In reply to Sam Sneddon [:gsnedders] from comment #0)
&gt; Currently Chromium and Mozilla exports contain the full commit message, with
&gt; some metadata. e.g.
&gt; https://github.com/web-platform-tests/wpt/commit/
&gt; 9aa0f67e426fac988de1625eb6c8926e225df602 (Chromium) or
&gt; https://github.com/web-platform-tests/wpt/commit/
&gt; 91dd2eb6f5a512dc4329a0d334e17a498c249f24 (Mozilla).
&gt; 
&gt; By comparison, our exporter produces a commit message like &quot;WebKit export of
&gt; https://bugs.webkit.org/show_bug.cgi?id=269971&quot; or &quot;Export made from a
&gt; WebKit repository&quot;.
&gt; 
&gt; These are much less useful, and provide much less context for the change
&gt; being made (especially in the latter case!).

Which is arguably broader in scope than just the summary line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124031</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-06-16 11:52:56 -0700</bug_when>
    <thetext>I do wonder if this is better fixed by using `git-am` rather than `git-apply`; but we should almost certainly add more metadata (e.g., linking to where it was reviewed as is true for Chromium and Firefox).

That also then leaves the commit in a state where if there&apos;s a merge conflict you can run `git-am --continue` and get the right commit message and author etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138858</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-08-26 10:56:26 -0700</bug_when>
    <thetext>I&apos;d suggest, based on our commit messages:

 * We move bugs away from the summary line (because &quot;Limit the scope of invalidation traversal for :has(&gt; .changed) .subject https://bugs.webkit.org/show_bug.cgi?id=297893 rdar://159173631&quot; is a ridiculous summary line, when you fold whitespace) into `Bug` trailers
 * Rename our `Canonical Link` &quot;trailer&quot; to `WebKit-Canonical-Link`
 * Possibly add a `Reviewed-on: [PR]` trailer
 * Maybe move the &quot;Reviewed by…&quot; line to something more like Chromium&apos;s `Reviewed-by: [name] &lt;[email]&gt;` or Mozilla&apos;s `gecko-reviewers: [username]`, so that the start of the commit message is the actual content?
 * Maybe drop the changelog from the commit message?

Brianna&apos;s code to parse commit messages and extract sections would be helpful here…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138912</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2025-08-26 15:13:35 -0700</bug_when>
    <thetext>*** Bug 297925 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213573</commentid>
    <comment_count>8</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2026-05-23 18:32:15 -0700</bug_when>
    <thetext>Currently, the title is a load-bearing part of how wpt-pr-bot detects WebKit exports, given it has to handle exports from arbitrary users (to mitigate the risk of a malicious actor getting review approved by claiming to be a WPT export): https://github.com/web-platform-tests/wpt-pr-bot/blob/3348953311e68835f1a2d03ca3384ee37b6fa199/lib/metadata/index.js#L113-L133

This needs to be changed prior to us landing any change here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>