Skip to content

refactor(core): carry typed host errors - #109

Merged
yashranaway merged 2 commits into
mainfrom
t3code/typed-host-errors
Aug 10, 2026
Merged

refactor(core): carry typed host errors#109
yashranaway merged 2 commits into
mainfrom
t3code/typed-host-errors

Conversation

@yashranaway

Copy link
Copy Markdown
Collaborator

Closes #22

Summary

  • return browser-operation failures from the isolated runtime in a bounded JSON envelope with an allowlisted code
  • unwrap both WebKit and CDP results into one shared HostError with the protocol code and recovery suggestion
  • remove host-side semantic message.contains(...) classification and fail unknown codes closed
  • replace the recording startup test's flaky wall-clock assertion with an exact bounded-attempt assertion

Validation

  • npx --yes pnpm@9.15.0 test:runtime
  • Swift 6.3 protocol suite in Docker (42/42)
  • npx --yes pnpm@9.15.0 test:e2e:linux
  • git diff --check

@yashranaway yashranaway added the macos-e2e Run the macOS WKWebView E2E suite label Aug 10, 2026
@yashranaway
yashranaway merged commit dd12e7d into main Aug 10, 2026
14 checks passed
@yashranaway
yashranaway deleted the t3code/typed-host-errors branch August 10, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

macos-e2e Run the macOS WKWebView E2E suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

B2 — Typed errors end-to-end

1 participant