Skip to content

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

@ert78gb

Description

@ert78gb

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.

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p1This is a high priority issuequeuedThis issues is on the AWS team's backlog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions