Skip to content

fix(platform-bun): preserve readable stream failures - #8036

Merged
tim-smart merged 1 commit into
Effect-TS:mainfrom
nikhilsnayak:fix/bun-stream-preserve-failure
Sep 7, 2026
Merged

fix(platform-bun): preserve readable stream failures#8036
tim-smart merged 1 commit into
Effect-TS:mainfrom
nikhilsnayak:fix/bun-stream-preserve-failure

Conversation

@nikhilsnayak

@nikhilsnayak nikhilsnayak commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Keep Bun readable stream errors in the mapped error channel and prevent cleanup from adding a defect. Adds regression coverage for errored streams.

Related

  • N/A

@changeset-bot

changeset-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a3e1258

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@effect/platform-bun Patch
effect Patch
@effect/opentelemetry Patch
@effect/vitest Patch
@effect/ai-anthropic Patch
@effect/ai-openai-compat Patch
@effect/ai-openai Patch
@effect/ai-openrouter Patch
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/platform-browser Patch
@effect/platform-deno Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-pglite Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/docgen Patch
@effect/doctest Patch
@effect/openapi-generator Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 33.88 KB 33.88 KB 0.00 KB (0.00%)
basic.ts 6.87 KB 6.87 KB 0.00 KB (0.00%)
batching.ts 10.14 KB 10.14 KB 0.00 KB (0.00%)
brand.ts 6.45 KB 6.45 KB 0.00 KB (0.00%)
cache.ts 10.76 KB 10.76 KB 0.00 KB (0.00%)
config.ts 21.50 KB 21.50 KB 0.00 KB (0.00%)
differ.ts 20.27 KB 20.27 KB 0.00 KB (0.00%)
http-client.ts 22.10 KB 22.10 KB 0.00 KB (0.00%)
http-router.ts 33.55 KB 33.55 KB 0.00 KB (0.00%)
logger.ts 10.87 KB 10.87 KB 0.00 KB (0.00%)
metric.ts 9.00 KB 9.00 KB 0.00 KB (0.00%)
optic.ts 6.70 KB 6.70 KB 0.00 KB (0.00%)
pubsub.ts 15.26 KB 15.26 KB 0.00 KB (0.00%)
queue.ts 11.84 KB 11.84 KB 0.00 KB (0.00%)
schedule.ts 10.95 KB 10.95 KB 0.00 KB (0.00%)
schema-binary.ts 39.47 KB 39.47 KB 0.00 KB (0.00%)
schema-class.ts 20.04 KB 20.04 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 30.40 KB 30.40 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 26.24 KB 26.24 KB 0.00 KB (0.00%)
schema-string-transformation.ts 13.63 KB 13.63 KB 0.00 KB (0.00%)
schema-string.ts 11.11 KB 11.11 KB 0.00 KB (0.00%)
schema-template-literal.ts 15.44 KB 15.44 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 33.43 KB 33.43 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 24.47 KB 24.47 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 19.23 KB 19.23 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 19.38 KB 19.38 KB 0.00 KB (0.00%)
schema-toFormatter.ts 19.48 KB 19.48 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 23.57 KB 23.57 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 19.53 KB 19.53 KB 0.00 KB (0.00%)
schema.ts 19.25 KB 19.25 KB 0.00 KB (0.00%)
stm.ts 12.78 KB 12.78 KB 0.00 KB (0.00%)
stream.ts 9.81 KB 9.81 KB 0.00 KB (0.00%)

@tim-smart
tim-smart merged commit 66e2bec into Effect-TS:main Sep 7, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants