<?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>207219</bug_id>
          
          <creation_ts>2020-02-04 12:44:22 -0800</creation_ts>
          <short_desc>results.webkit.org: Better order upload callbacks</short_desc>
          <delta_ts>2020-02-04 14:09:11 -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>
          
          
          <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="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1614683</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-04 12:44:22 -0800</bug_when>
    <thetext>Our upload callbacks should be ordered based on how users will interact with the data and how long the callback tasks take.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614684</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-04 12:50:46 -0800</bug_when>
    <thetext>Alexey brought a bug to my attention where he was getting a 404 when trying to investigate a link to Buildbot. I couldn&apos;t reproduce the issue a few hours later, but it occurred to me what was likely happening.

Our callback tasks are executed in order, but some callback tasks are nearly instant while others may take minutes. If you look, the callback which generates links to Buildbot is executed after the one generating test results, which is the most expensive callback and the callback that tends to generate the data users most often use to discover a test run. While I can&apos;t be certain, I&apos;m pretty sure that that what was happening to Alexey was that he followed a Buildbot link for a test run where the results had been processed (or at least, the result he was interested in) but the Buildbot links had not yet been generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614685</commentid>
    <comment_count>2</comment_count>
      <attachid>389693</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-04 12:59:06 -0800</bug_when>
    <thetext>Created attachment 389693
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614715</commentid>
    <comment_count>3</comment_count>
      <attachid>389693</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-02-04 14:02:12 -0800</bug_when>
    <thetext>Comment on attachment 389693
Patch

Clearing flags on attachment: 389693

Committed r255694: &lt;https://trac.webkit.org/changeset/255694&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614716</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-02-04 14:02:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614719</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-04 14:04:42 -0800</bug_when>
    <thetext>&lt;rdar://problem/59163912&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614728</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-02-04 14:09:11 -0800</bug_when>
    <thetext>While this definitely was a theoretical issue, it wasn&apos;t what Alexey was encountering. He showed me his reproduction steps, it&apos;s a different bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>389693</attachid>
            <date>2020-02-04 12:59:06 -0800</date>
            <delta_ts>2020-02-04 14:02:12 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-207219-20200204125906.patch</filename>
            <type>text/plain</type>
            <size>1648</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI1NTY5MCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE5IEBACisyMDIwLTAyLTA0ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICByZXN1bHRzLndlYmtpdC5vcmc6IEJldHRlciBvcmRlciB1cGxvYWQgY2Fs
bGJhY2tzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0y
MDcyMTkKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBP
cmRlciB1cGxvYWQgY2FsbGJhY2tzIG1vcmUgZGVsaWJlcmF0ZWx5IHNvIHRoYXQgdGhlIHF1aWNr
ZXN0IGNhbGxiYWNrcworICAgICAgICB0aGF0IGFyZSBsZWFzdCBsaWtlbHkgdG8gbGluayB0byBp
bmZvcm1hdGlvbiBmcm9tIHVuZmluaXNoZWQgY2FsbGJhY2tzIGFyZQorICAgICAgICBleGVjdXRl
ZCBmaXJzdC4KKworICAgICAgICAqIHJlc3VsdHNkYnB5L3Jlc3VsdHNkYnB5L21vZGVsL21vZGVs
LnB5OgorICAgICAgICAoTW9kZWwuX19pbml0X18pOiBHZW5lc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29u
dGV4dCwgc2VsZi50ZXN0X2NvbnRleHRdOgogICAgICAgICAgICAgc2VsZi51cGxvYWRfY29udGV4
dC5yZWdpc3Rlcl91cGxvYWRfY2FsbGJhY2soY29udGV4dC5uYW1lLCBjb250ZXh0LnJlZ2lzdGVy
KQogCiAgICAgICAgIHNlbGYuYXJjaGl2ZV9jb250ZXh0ID0gQXJjaGl2ZUNvbnRleHQoCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>