Skip to content

fix: recover IPC framing after stray closing braces - #5573

Merged
jxom merged 1 commit into
wevm:mainfrom
yinbowen-dc:codex/fix-5563-ipc-stray-braces
Nov 18, 2026
Merged

jxom merged 1 commit into
wevm:mainfrom
yinbowen-dc:codex/fix-5563-ipc-stray-braces

Conversation

@yinbowen-dc

Copy link
Copy Markdown
Contributor

Fixes #5563.

Skip a closing brace outside a JSON message instead of letting the nesting level become negative. Discard the skipped prefix, so later complete or fragmented responses are still delivered. Braces inside strings are unaffected.

Validation: the three new noise cases fail on main; all 17 framing tests pass, including every split position and byte-at-a-time delivery. Biome passed. Includes a patch changeset. Full project types require generated test-contract artifacts; a combined production type check will also be run for these transport fixes.

AI assistance: implementation and tests prepared with Codex at the account owner's request.

@vercel

vercel Bot commented Nov 18, 2026

Copy link
Copy Markdown

@yinbowen-dc is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5471a9c

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

This PR includes changesets to release 1 package
Name Type
viem 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

@jxom
jxom merged commit a44ad6c into wevm:main Nov 18, 2026
2 of 3 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 18, 2026
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.

ipc transport: one stray } from the server drops every later reply on the socket

2 participants