Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3Object.Body.transformToWebStream().pipeTo(Writable.toWeb(destinationStream)) promise never settle from 3.729.0 #6827

Open
3 of 4 tasks
ert78gb opened this issue Jan 18, 2025 · 0 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@ert78gb
Copy link

ert78gb commented Jan 18, 2025

Checkboxes for prior research

Describe the bug

await s3Object.Body.transformToWebStream().pipeTo(Writable.toWeb(destinationStream)) never settle from @aws-sdk/[email protected].
Everything works fine with @aws-sdk/[email protected]

The issue is present in the latest 3.731.1 version too.

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/[email protected], @aws-sdk/[email protected]

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

v22.13.0, v23.6.0

Reproduction Steps

Reproduction repo https://github.com/ert78gb/aws-sdk3-729-0-s3-streampipe-issue

Observed Behavior

The stream pipe crashes

Expected Behavior

no crash

Possible Solution

If you don't use stream, but consume much memory in case of large files.

Additional Information/Context

Maybe the related Node.js issue nodejs/node#56139
BUT everything works fine with node 22 and 23 with @aws-sdk/[email protected]
so an aws sdk modification breaks this.

@ert78gb ert78gb added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant