Align Playground runtime bootstrap dependencies - #1931
Merged
Conversation
…ntime # Conflicts: # packages/runtime-playground/src/playground-cli-runner.ts # tests/playground-cli-runner-bootstrap-ini.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
3.1.46@php-wasm/universalso Node loaders and WordPress wrappers share one runtime registry0.9.19/internal/wp-codeboxand delegate to Playground's canonical/internal/shared/auto_prepend_file.phpFixes #1915.
Root cause
Two independent failures collapsed into the same runtime startup boundary:
@php-wasm/universalcopies, so runtime IDs created by@php-wasm/nodewere invisible to the WordPress wrapper.Current
mainindependently landed the stronger CLI-side file-level mount primitive while this branch was in flight. This branch was merged forward and retains that implementation; its remaining source change applies the same ownership boundary to the programmatic runner.Verification
npm cinpm run buildnpm run test:runtime-sources-playground-integrationnpx tsx tests/playground-cli-runner-bootstrap-ini.test.tsnpm run test:playground-readonly-mountsnpm run test:agent-task-contractsnpm run test:native-agent-task-playground-e2enpm run test:runtime-servicesnpm run test:runtime-services-lifecyclegit diff --checkAI assistance
openai/gpt-5.6-sol