Skip to content

chore: bump webrun-http-browser 0.7, webrun-http-streams 0.3, webrun-rpc 0.5 - #19

Merged
mkotelnikov merged 1 commit into
mainfrom
chore/webrun-wire-0.7
Oct 29, 2026
Merged

mkotelnikov merged 1 commit into
mainfrom
chore/webrun-wire-0.7

Conversation

@mkotelnikov

Copy link
Copy Markdown
Contributor

Closes #13

What changed

  • pnpm-workspace.yaml catalog: @statewalker/webrun-http-browser ^0.6.0 -> ^0.7.0.
  • packages/cellb/package.json: webrun-http-streams ^0.2.2 -> ^0.3.0, webrun-rpc ^0.4.0 -> ^0.5.0, and the devDependency copy of webrun-http-browser ^0.6.0 -> ^0.7.0. webrun-msgpack is not a dependency of cellb.
  • pnpm-lock.yaml refreshed. Biome stays at 2.5.15.

The two behaviour changes need no code change

  • webrun-rpc 0.5 (closing a link rejects in-flight calls): src/transport/port.ts only wraps connect / serve, and src/isolate/protocol.ts uses callPort with NO_TIMEOUT; neither had a workaround for the old hang. Fire-and-forget release calls in protocol.ts already end in .catch(() => {}), so a close that now rejects them stays silent.
  • webrun-http-streams 0.3 (abandoning a body releases the producer): neither file worked around the "known gap"; an aborted fetch now simply reaches the handler as a cancellation.

Deferred

Replacing cellb's ServiceWorker and WebSocket layer with webrun-http-browser 0.7 moved to #18, which carries over the "What can move to the package" table and the "Some details differ" list.

Note: @statewalker/webrun-site-host 0.2.5 still depends on webrun-http-browser 0.6.5, so the lockfile keeps both versions (and the old webrun-http-streams / webrun-rpc under it).

Verification (packages/cellb)

  • pnpm test: 48 files passed, 5 skipped; 360 tests passed, 6 expected fail, 55 skipped.
  • pnpm e2e (e2e-browser, Chromium): 209 passed, 15 skipped.
  • pnpm typecheck: clean.
  • pnpm biome check --write --unsafe packages/cellb/package.json: no fixes.

🤖 Generated with Claude Code

…rpc 0.5

Both behaviour changes (closing an rpc link rejects in-flight calls; abandoning
a fetchOverDuplex body releases the producer) need no change in
src/transport/port.ts or src/isolate/protocol.ts: neither worked around the old
hangs, and the rejected release calls are already swallowed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mkotelnikov
mkotelnikov merged commit 4040725 into main Oct 29, 2026
1 check passed
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.

Update to webrun-http-browser 0.7, webrun-http-streams 0.3, webrun-rpc 0.5 (and build on the ported ServiceWorker layer)

1 participant