You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
playground: self-contain + publish to Pages at /playground/
Make wasm/playground/ self-contained so it deploys as a static dir: vendor the C-ABI driver (transpile.mjs + wasi-shim.mjs) and check in the prebuilt compiler roundhouse_wasm.wasm (3.2 MB) + a seed fixture.json; playground.js now imports/fetches from ./ instead of ../browser-spike/.
Add a build-site CI step that bundles _site/playground/ (copies the dir, regenerates fixture.json from the freshly-built real-blog so the editor's seed app tracks create-blog), mirroring how /blog/ is assembled. Link it from the landing page and the demo page.
The compiler wasm is checked in, NOT built in CI: a runner build needs the WASI SDK + a published ruby-rbs-sys (upstream-pending as ruby/rbs#2992). Rather than block on that, the binary is committed and refreshed by hand on compiler/emit changes (see wasm/playground/README.md). Switch to a CI build + drop the binary once #2992 lands. Documented in docs/browser-demo-plan.md (new 'Publishing to Pages' section).
Verified: self-contained playground and the CI-assembled bundle both pass verify-playground.mjs (Playwright); ci.yml is valid YAML.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments