<?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>208811</bug_id>
          
          <creation_ts>2020-03-09 07:48:14 -0700</creation_ts>
          <short_desc>Generate commit-queue status bubble from new EWS</short_desc>
          <delta_ts>2020-03-18 07:44:50 -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>Other</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=209215</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>
          
          <blocked>201934</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1627748</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-03-09 07:48:14 -0700</bug_when>
    <thetext>Display commit-queue status bubble from new EWS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627749</commentid>
    <comment_count>1</comment_count>
      <attachid>393033</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-03-09 07:49:56 -0700</bug_when>
    <thetext>Created attachment 393033
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627758</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-03-09 08:08:39 -0700</bug_when>
    <thetext>Sample runs:
https://ews.webkit-uat.org/status-bubble/391081/
https://ews.webkit-uat.org/status-bubble/392839/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627809</commentid>
    <comment_count>3</comment_count>
      <attachid>393033</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-03-09 09:33:49 -0700</bug_when>
    <thetext>Comment on attachment 393033
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393033&amp;action=review

&gt; Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
&gt; +            for queue in StatusBubble.ALL_QUEUES:

This part confuses me a bit because it seems to be the inverse of what we had before.

Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627814</commentid>
    <comment_count>4</comment_count>
      <attachid>393033</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-03-09 09:41:58 -0700</bug_when>
    <thetext>Comment on attachment 393033
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393033&amp;action=review

&gt;&gt; Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
&gt;&gt; +            for queue in StatusBubble.ALL_QUEUES:
&gt; 
&gt; This part confuses me a bit because it seems to be the inverse of what we had before.
&gt; 
&gt; Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.

Before, if a patch was not sent to buildbot, we would exit early and display submit-to-ews button. If the patch was sent to buildbot, we would generate all it&apos;s bubbles. Should be same now as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627865</commentid>
    <comment_count>5</comment_count>
      <attachid>393033</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-03-09 11:48:21 -0700</bug_when>
    <thetext>Comment on attachment 393033
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393033&amp;action=review

&gt;&gt;&gt; Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
&gt;&gt;&gt; +            for queue in StatusBubble.ALL_QUEUES:
&gt;&gt; 
&gt;&gt; This part confuses me a bit because it seems to be the inverse of what we had before.
&gt;&gt; 
&gt;&gt; Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.
&gt; 
&gt; Before, if a patch was not sent to buildbot, we would exit early and display submit-to-ews button. If the patch was sent to buildbot, we would generate all it&apos;s bubbles. Should be same now as well.

I&apos;m sorry, you&apos;re right, was mis-reading the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1628193</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-03-10 05:27:25 -0700</bug_when>
    <thetext>Committed r258198: &lt;https://trac.webkit.org/changeset/258198&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 393033.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1628194</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-03-10 05:28:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/60269688&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>393033</attachid>
            <date>2020-03-09 07:49:56 -0700</date>
            <delta_ts>2020-03-10 05:27:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-208811-20200309104954.patch</filename>
            <type>text/plain</type>
            <size>2255</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0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pZGVfaWNvbnMpCisgICAgICAgICAgICAgICAgaWYgYnViYmxl
OgorICAgICAgICAgICAgICAgICAgICBzaG93X3N1Ym1pdF90b19ld3MgPSBGYWxzZQorICAgICAg
ICAgICAgICAgICAgICBidWJibGVzLmFwcGVuZChidWJibGUpCisgICAgICAgICAgICAgICAgICAg
IGlmIGJ1YmJsZVsnc3RhdGUnXSBpbiAoJ2ZhaWwnLCAnZXJyb3InKToKKyAgICAgICAgICAgICAg
ICAgICAgICAgIHNob3dfcmV0cnkgPSBUcnVlCisKKyAgICAgICAgaWYgcGF0Y2guc2VudF90b19j
b21taXRfcXVldWU6CisgICAgICAgICAgICBpZiBub3QgcGF0Y2guc2VudF90b19idWlsZGJvdDoK
KyAgICAgICAgICAgICAgICBoaWRlX2ljb25zID0gVHJ1ZQorICAgICAgICAgICAgY3FfYnViYmxl
ID0gc2VsZi5fYnVpbGRfYnViYmxlKHBhdGNoLCAnY29tbWl0JywgaGlkZV9pY29ucykKKyAgICAg
ICAgICAgIGlmIGNxX2J1YmJsZToKKyAgICAgICAgICAgICAgICBidWJibGVzLmluc2VydCgwLCBj
cV9idWJibGUpCiAKICAgICAgICAgcmV0dXJuIChidWJibGVzLCBzaG93X3N1Ym1pdF90b19ld3Ms
IGZhaWxlZF90b19hcHBseSwgc2hvd19yZXRyeSkKIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>