Skip to content

feat: patch Cloudflare browser engine support - #5

Open
onmax wants to merge 17 commits into
mainfrom
feat/kitesurf-preview
Open

feat: patch Cloudflare browser engine support#5
onmax wants to merge 17 commits into
mainfrom
feat/kitesurf-preview

Conversation

@onmax

@onmax onmax commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • patch @vite-hub/browser 0.0.3 with the upstream Cloudflare engine support from feat(browser): default Cloudflare to Kitesurf vitehub#915
  • pin @cloudflare/playwright 1.3.5 so Kitesurf is available to Browser Definitions on Cloudflare
  • keep Drop’s existing Ray.so renderer and public API unchanged
  • select Chromium for Drop’s Ray definition because Ray.so currently does not hydrate in Kitesurf

Verification

  • pnpm typecheck
  • generated Worker contains the patched Kitesurf provider and the explicit Chromium runtime selection
  • deployed end-to-end flow against https://vitehub-drop-preview.maximogarciamtnez.workers.dev
  • both Cloudflare Workers Builds checks pass

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
vitehub-drop ab2635b Aug 19 2026, 11:33 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
vitehub-drop-preview ab2635b Aug 19 2026, 11:33 AM

@onmax onmax changed the title feat: use Kitesurf for code previews feat: patch Cloudflare browser engine support Aug 6, 2026
@onmax

onmax commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Kitesurf reproduction

  1. Open the Kitesurf playground.
  2. Load https://ray.so/.
  3. Click Export Image to export a PNG.
  4. Ray remains stuck on Exporting PNG.
  5. The console reports a Kitesurf engine panic:
called `Option::unwrap()` on a `None` value
blitz_dom::net::collect_font_faces

This reproduces from a clean Ray.so load and persisted across reloads. The DROP integration is available in commit aeccfaf; the current PR head temporarily selects Chromium because Kitesurf cannot complete the PNG export.

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