- Replaced Buffer.concat with chunk accumulation to reduce time complexity during writes.
- Introduced bufferedBytes to track total size of accumulated chunks.
- Updated upload logic to handle parts more efficiently, minimizing memory overhead.
- Enhanced logging in upload function to include selected encoder format for better traceability.
(cherry picked from commit ce8bba2f18d807d4872b168e451e4501b1acb824)
* add try catch to getUpload to catch init errors with invalid credentials
* properly handle errors occured while streaming
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
* feat google storage
* feat google storage
* add google storage writablestream
* add google storage writablestream
* add google storage writablestream
* add metadata to google storage
* add metadata to google storage
* add metadata to google storage
* add tags to google storage
* fix
* fix
* fix
* fix