Skip to content

Conversation

@mhart
Copy link
Contributor

@mhart mhart commented Nov 11, 2025

Ensure errors are correctly handled in the Writable stream write.

Previously this would throw an unhandled exception if the response stream had closed (eg, connection had been terminated). This is handled correctly if Node.js 24 stream behaviour is used, but not Node.js 22 or earlier.

Returning the callback with the error ensures consistent behaviour for all Node.js versions (or compat versions)

Ensure errors are correctly handled in the Writable stream write.

Previously this would throw an unhandled exception if the response stream had closed (eg, connection had been terminated). This is handled correctly if Node.js 24 stream behaviour is used, but not Node.js 22 or earlier.

Returning the callback with the error ensures consistent behaviour for all Node.js versions (or compat versions)
@changeset-bot
Copy link

changeset-bot bot commented Nov 11, 2025

⚠️ No Changeset found

Latest commit: f690ee3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 11, 2025

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@1035

commit: f690ee3

@github-actions
Copy link
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 28.03% 2855 / 10182
🔵 Statements 28.03% 2855 / 10182
🔵 Functions 52.46% 149 / 284
🔵 Branches 76.19% 717 / 941
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/open-next/src/overrides/wrappers/cloudflare-node.ts 0% 0% 0% 0% 1-133
Generated in workflow #1625 for commit f690ee3 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants