Execute bounded PHP commands in clean Playground processes - #1938
Execute bounded PHP commands in clean Playground processes#1938chubes4 wants to merge 18 commits into
Conversation
7cd5178 to
72e2acd
Compare
|
Full-stack proof update for the clean-process PHPUnit path:
Using that combined Playground build plus this PR on Homeboy Lab, real focused WPCOM PHPUnit execution passed under the new non-zero test-summary gate:
The unfiltered |
|
Closing the stale implementation branch while retaining issue #1937. This PR is conflicted and intentionally blocked on still-open WordPress/wordpress-playground#4146; after that API lands, the WP Codebox change should be re-cut minimally from current main using the preserved full-stack evidence here.\n\nAI assistance disclosure: OpenCode using OpenAI gpt-5.6-sol verified the upstream dependency, divergence, CI state, and retained tracker. Chris Huber authorized this cleanup. |
Fixes #1937.
Depends on WordPress/wordpress-playground#4146.
What changed
processIdentitythrough Playground'srunInFreshProcess().bootstrap=none./wordpress/wp-load.php.main.Verification
npm run buildnpx tsx tests/playground-cli-runner-bootstrap-ini.test.tsnpx tsx tests/phpunit-project-autoload.test.tsMerge dependency
The code intentionally fails closed for bounded process identities until the selected Playground backend provides
runInFreshProcess(). Merge/release coordination should therefore follow WordPress/wordpress-playground#4146.AI assistance
OpenCode using
openai/gpt-5.6-solhelped merge currentmain, reconcile runtime-service output fan-out, preserve PHPUnit runtime behavior, and run focused verification. Chris Huber remains responsible for the submitted change.