ci: adopt Worker Previews for playground - #2533
Conversation
Scope checkThis PR changes 1,338 lines across 6 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-demo-cache | 87010bb | Aug 17 2026, 04:29 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-playground | 87010bb | Aug 17 2026, 04:28 PM |
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
e3db27d to
87010bb
Compare
|
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-demo-do | 87010bb | Aug 17 2026, 04:29 PM |
What does this PR do?
Switches playground PR deployments from the prerelease Worker Preview workaround to the current Worker Previews flow.
SESSIONKV namespace while keeping Durable Object state automatically isolated per Preview.preview_urlssetting and the GitHub Action that reconstructed Preview URLs from Cloudflare bot comments.Created Cloudflare resource:
emdash-playground-preview-session(efd741f1e4d1443e841a187b3a4cb023).Before merge, update the playground Worker in Dash:
NODE_OPTIONS=--max-old-space-size=6144as a build variable.npx wrangler previewas the Preview command.Related issue: none.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change)pnpm formathas been runmessages.pochanges except in translation PRs — a workflow extracts catalogs on merge tomain.The unchecked items are not applicable: this changes CI/demo configuration without application behavior, user-visible strings, or a published package.
AI-generated code disclosure
Screenshots / test output
No visual change.
Validated with:
pnpm install --frozen-lockfile --lockfile-onlypnpm buildpnpm typecheckpnpm typecheck:demospnpm lintpnpm formatpnpm --filter @emdash-cms/playground buildwrangler types --checkwrangler deploy --dry-runTry this PR
Open a fresh playground →
A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.
Tracks
codex/worker-previews-cutover. Updated automatically when the playground redeploys.