Constrain PHPUnit discovery to selected suites - #2153
Merged
Conversation
Collaborator
Author
|
Full compatibility proof completed after merge, combined with #2154:
Reproduction: run |
This was referenced Jul 29, 2026
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
--testsuite nameand--testsuite=namebefore XML-backed file discoveryFixes #2150.
Verification
npm run buildnpm exec -- tsx tests/phpunit-project-autoload.test.tsnpm run test:phpunit-structured-evidencenpm run test:phpunit-runtime-rejectionnpm run test:playground-worker-runtime-rejection7ae9ae21ca30f7fc9724aecfb54a16f674f82a23:api-v2-agentic-commercediscovery changed from 7,018 API-v2 tests to exactly 6 files underbin/tests/api-v2/suites/AgenticCommercenode scripts/run-wpcom-teamcity-parity.mjs --mode execute --allow-execute true --manifest artifacts/phpunit-profiles/teamcity-parity-manifest-7ae9ae21-corrected.json --concurrency 6 --shards 4 --timeout-multiplier 3from the WPCOM Codebox parity workspace with the certified runtime inputsTwo broader diagnostics commands remained red on unchanged
origin/mainbehavior: the exact generated-wrapper shape assertion and the local Playground fixture mount visibility integration. Raw run artifacts remain in private Lab storage and are intentionally not linked as public evidence.AI Assistance
OpenAI
gpt-5.6-solvia OpenCode implemented the change, added executable generated-PHP regression coverage, ran local verification, and executed the Lab WPCOM proof. Chris Huber remains responsible for the change.