<?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>304213</bug_id>
          
          <creation_ts>2025-12-15 14:56:06 -0800</creation_ts>
          <short_desc>[WPE] Debug bot is unable to upload build products to Amazon S3 due to hitting the 5GB hard limit for PUT requests</short_desc>
          <delta_ts>2025-12-18 17:44:32 -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>WPE WebKit</component>
          <version>WebKit Nightly 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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2166033</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2025-12-15 14:56:06 -0800</bug_when>
    <thetext>WPE Debug bot is unable to upload the built products to S3 anymore: https://build.webkit.org/#/builders/66/builds/40810

Upon further manual debugging of the issue inside the machine where this bot runs I can see this:

$ curl -v --trace-ascii /tmp/curl-trace.log -X PUT -H &apos;Content-Length: 5371794756&apos; -T WebKitBuild/debug.zip &apos;https://s3.us-west-2.amazonaws.com/archives.webkit.org/wpe-x86_64-debug/304470%40main.zip?AWSAccessKeyId=[redacted]&apos;
Warning: --trace-ascii overrides an earlier trace/verbose option
Note: Unnecessary use of -X or --request, PUT is already inferred.
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;Error&gt;&lt;Code&gt;EntityTooLarge&lt;/Code&gt;&lt;Message&gt;Your proposed upload exceeds the maximum allowed size&lt;/Message&gt;&lt;ProposedSize&gt;5371794756&lt;/ProposedSize&gt;&lt;MaxSizeAllowed&gt;5368709120&lt;/MaxSizeAllowed&gt;&lt;RequestId&gt;7WZ8258MSB7KFATF&lt;/RequestId&gt;&lt;HostId&gt;cRaNq1clrmow4cjwOev+8jOnRDAFPuuDPICRAwH0cjk54ySrcmtww72pggTk42sUozpNI0Ek9fXpGVISrUGC30jkX4dws5ANMrLoccaxC+w=&lt;/HostId&gt;&lt;/Error&gt;

This is related to https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html

Depending on the size of the data that you&apos;re uploading, Amazon S3 offers the following options:

* Upload an object in a single operation by using the AWS SDKs, REST API, or AWS CLI – With a single PUT operation, you can upload a single object up to 5 GB in size.

* Upload a single object by using the Amazon S3 console – With the Amazon S3 console, you can upload a single object up to 160 GB in size.

* Upload an object in parts by using the AWS SDKs, REST API, or AWS CLI – Using the multipart upload API operation, you can upload a single large object, up to 50 TB in size.


We are hitting the 5GB limit for single PUT operations


The fix to allow uploads of files bigger than 5GB to S3 is to use the multi-part upload API, but that is not trivial as it doesn&apos;t work with one single pre-signed URL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167131</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2025-12-18 17:44:32 -0800</bug_when>
    <thetext>This issue has been temporally workaround-ed in WPE by linking jsc and other jsc-related binaries (testb3, testair, TestJavaScriptCore, etc) against libWPEWebKit. See: 304666@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>