[research] API Publish with Intermittent script timeout
Sometimes when publishing to CF workers, or starting a CF Worker in Dev mode, the script timeouts after the build finishes.
It is likely related to the S3 client dependency added to the bundle in https://github.com/web3-storage/web3.storage/pull/417
I could not replicate this locally, but @olizilla can. On latest releases, it happened once and it might become annoying if it is recurrent. Let's track this and if it is frequent, we should probably just rely on S3 HTTP PutObject API instead, given all the other most used s3 client are not well suited for a browser environment.
cc @hugomrdias
hey @vasco-santos are we still experiencing this?
Way less often since https://github.com/web3-storage/web3.storage/pull/679 but still get it a few times (only in staging I believe, so maybe the production app has different capabilities per the CF plan)