Skip to content

Avoid large browser runtime plugin payloads#397

Merged
chubes4 merged 1 commit into
mainfrom
fix/browser-runtime-local-plugin-path
Jun 1, 2026
Merged

Avoid large browser runtime plugin payloads#397
chubes4 merged 1 commit into
mainfrom
fix/browser-runtime-local-plugin-path

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 1, 2026

Summary

  • Keep browser runtime/component plugin ZIP payloads small by using stable upload URLs once a package exceeds the inline data URL budget.
  • Preserve tiny inline plugin delivery and continue generating Playground-installable installPlugin blueprint steps.
  • Include the prior browser runtime fixes needed for this path: local package: server plugin paths, direct client.run({ code }), Playground wp-load bootstrap, /wordpress/ sandbox guard, blank component path fallbacks, and avoiding unnecessary component packaging for plain starter previews.

Fixes #396.

Verification

  • php tests/smoke-wordpress-plugin.php passed: 242 assertions.
  • npm run browser-runtime-operation-smoke passed.
  • Studio Web live eval passed the previous /studio-web/v1/projects memory exhaustion and now fails later with Studio Web preview client unavailable; targets REST returned 200.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implementing and verifying WP Codebox browser runtime/session payload fixes under Chris's review.

@chubes4 chubes4 merged commit 2428938 into main Jun 1, 2026
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.

Avoid inlining large browser runtime plugin ZIPs in session payloads

1 participant