Split playground command handlers#384
Merged
Merged
Conversation
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
packages/runtime-playground/src/commands.tsinto focused command-family modules for ability, bench, checks, arg parsing, PHPUnit, and WP-CLI helpers.commands.tsas a compatibility re-export layer so existing command names, imports, inputs, outputs, artifacts, and error behavior stay unchanged.Tests
npm run buildnpm run command-registry-smokenpm run discovery-command-smokenpm run package-distribution-smokenpm run plugin-check-normalization-smoke(rerun serially after the first 120s tool timeout)npm run theme-check-normalization-smokenpm run core-phpunit-command-smokenpm run browser-probe-artifact-smokenpm run browser-actions-artifact-smokenpm run wp-codebox -- run --mount ./examples/simple-plugin:/wordpress/wp-content/plugins/simple-plugin --command wordpress.run-php --arg code-file=./examples/simple-plugin/probe.php --artifacts ./artifacts --jsonCaveats
commands.tsfor compatibility.npm installwas required because the skipped-bootstrap worktree was missing dependencies. Incidentalpackage-lock.jsonversion churn from install was reverted and is not part of the diff.AI assistance
runtime-playgroundcommand helper modules, running verification, and drafting this PR body for Chris to review.