Skip to content

Backport #2142: [codex] Handle stream write failures without unhandled rejections#2149

Merged
pranaygp merged 1 commit into
stablefrom
backport/pr-2142-to-stable
May 28, 2026
Merged

Backport #2142: [codex] Handle stream write failures without unhandled rejections#2149
pranaygp merged 1 commit into
stablefrom
backport/pr-2142-to-stable

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated backport of #2142 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to existing functionality in packages/core/src/flushable-stream.ts and packages/world-vercel/src/streamer.ts, both of which exist on stable. The change prevents failed stream writes from surfacing as unhandled rejections and improves error diagnostics, with corresponding test coverage and patch-level changesets — exactly the kind of fix that should flow to the stable channel.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-4.7). Please review the conflict resolution carefully before merging.

Signed-off-by: Pranay Prakash <pranay.gp@gmail.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

🦋 Changeset detected

Latest commit: 81d824a

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

This PR includes changesets to release 17 packages
Name Type
@workflow/core Patch
@workflow/world-vercel Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/web Patch
workflow Patch
@workflow/world-testing Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt 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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment May 28, 2026 11:41pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment May 28, 2026 11:41pm
example-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-astro-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-express-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-fastify-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-hono-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-nitro-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-nuxt-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-sveltekit-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-tanstack-start-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workbench-vite-workflow Ready Ready Preview, Comment May 28, 2026 11:41pm
workflow-docs Ready Ready Preview, Comment, Open in v0 May 28, 2026 11:41pm
workflow-swc-playground Ready Ready Preview, Comment May 28, 2026 11:41pm
workflow-tarballs Ready Ready Preview, Comment May 28, 2026 11:41pm
workflow-web Ready Ready Preview, Comment May 28, 2026 11:41pm

@pranaygp pranaygp merged commit 3113738 into stable May 28, 2026
20 of 21 checks passed
@pranaygp pranaygp deleted the backport/pr-2142-to-stable branch May 28, 2026 23:39
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.

1 participant