Skip to content

fix: normalize browser runner Playground calls#568

Merged
chubes4 merged 1 commit into
mainfrom
fix/browser-runner-execution-context
Jun 4, 2026
Merged

fix: normalize browser runner Playground calls#568
chubes4 merged 1 commit into
mainfrom
fix/browser-runner-execution-context

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 4, 2026

Summary

  • Normalize browser runner PHP execution helpers across Playground client request, file write, mkdir, and direct run API shapes.
  • Prefer the worker endpoint { request } envelope for request-handler clients while retaining direct-client request compatibility.
  • Add structured runtime error phase/code details and smoke coverage for worker endpoint and object-shaped file writes.

Fixes #567.

Tests

  • node --check packages/wordpress-plugin/assets/browser-runtime.js
  • php tests/smoke-wordpress-plugin.php
  • npm run browser-runtime-operation-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Inspected the browser runtime contract, drafted the normalization changes and smoke coverage, and ran verification commands for Chris to review.

@chubes4 chubes4 merged commit 345e007 into main Jun 4, 2026
@chubes4 chubes4 deleted the fix/browser-runner-execution-context branch June 4, 2026 12:57
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.

Stabilize browser recipe runner execution context

1 participant