Skip to content

Fix bounded host HTTP transport for PHP.wasm - #2260

Merged
chubes4 merged 1 commit into
mainfrom
fix/2258-bounded-host-http-transport
Aug 15, 2026
Merged

Fix bounded host HTTP transport for PHP.wasm#2260
chubes4 merged 1 commit into
mainfrom
fix/2258-bounded-host-http-transport

Conversation

@chubes4

@chubes4 chubes4 commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a GET-only host HTTP transport with runtime network-policy enforcement, host-side DNS intersection, public-IP pinning, response limits, and absolute cancellation
  • expose it through both direct PHP message listeners and a token-protected local preview route for worker-backed Playground runtimes
  • inject a PHP helper into wordpress.run-php and wordpress.ability without exposing the route token to runtime inputs

Closes #2258.

Verification

  • npm run build
  • npm run test:host-http-transport (5 tests)
  • npm run test:browser-provider-bridge-inheritance
  • downstream Shopify acceptance crossed the previous empty bridge response, discovered 80 routes, and cached 19.3 MB across 149 network misses; the larger workload exhausted its continuation budget before final acceptance gates

AI Assistance

OpenAI GPT-5.6 Sol via OpenCode was used to trace the backend capability mismatch, implement the transport and tests, and analyze acceptance evidence. Chris Huber reviewed and remains responsible for the change.

@chubes4
chubes4 merged commit 7c6c035 into main Aug 15, 2026
4 checks passed
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.

Expose bounded host HTTP transport to PHP.wasm commands

1 participant