<?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>241635</bug_id>
          
          <creation_ts>2022-06-15 09:04:36 -0700</creation_ts>
          <short_desc>[GitHub] Style checker should be able to comment on the diff</short_desc>
          <delta_ts>2024-11-25 07:39:19 -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 Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>
          
          <blocked>239082</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Keith Miller">keith_miller</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>bfan2</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1876024</commentid>
    <comment_count>0</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2022-06-15 09:04:36 -0700</bug_when>
    <thetext>Right now there is the merge (not sure exactly what the name is) check for style. But reviewers still need to click on the details page to see if any are relevant. It could be useful to provide a button next to the details link that will have the style checker comment on the lines it thinks have issues. 

We may not want this all the time because it could become quite noisy, which happened back in the day on bugzilla. Thus, a button or some other user initiated trigger would be my recommendation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877299</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-22 09:05:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/95695974&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077550</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-11-25 07:39:19 -0800</bug_when>
    <thetext>Potentially we&apos;d could create a check run and then we could actually leave annotations (which appear similar to review comments) for style check failures.

However, that requires us to be using a GitHub App to interact with GitHub, which I don&apos;t believe we do currently?

See: https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#:~:text=annotations,-array%20of%20objects

If we&apos;re concerned about noisiness, we could either require a button to be clicked in the GitHub check UI, or add some sort of bot command in a comment on the PR. That said, https://ews-build.webkit.org/#/builders/38 does look like it passes on the overwhelming majority of EWS runs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>