Repository navigation
fix(phpunit): resolve dependency plugin entrypoints from sourceSubpath - #2618
Merged
Merged
Conversation
Collaborator
Author
|
End-to-end check against Jetpack's real monorepo layout.
The AI disclosure: Claude Opus (Pi, via Roadie) reviewed this and ran the check. The implementation is GPT-6.2 Sol (Homeboy Cook). |
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
PHPUnit looked for dependency entrypoints at the repository root even when the plugin was mounted from a nested directory. PHPUnit now shares source-subpath resolution with mounting and activation, so the regression fixture emits
demo/demo.phpinstead ofdemo/root.php.What changed
pluginFilevalues authoritative.Verification
All gates passed on
19d2ed8. Basemain@d8ea741unchanged.HOMEBOY_LINT_BASE=d8ea74149cf83d3b3b9a3513a88699f659fbcb5a homeboy --placement local review lint wp-codebox --path . --…: passed, 101568 ms; retained gate metadata.npm run build: passed, 3399 ms; retained gate metadata.npx tsx --test tests/phpunit-discovery-only.test.ts tests/phpunit-project-autoload.test.ts: passed, 1436 ms; retained gate evidence.Gate 3 output
Cook run
agent-task-dee6616f-9740-4a03-954b-217615610230agent-task-dee6616f-9740-4a03-954b-217615610230-attempt-1-b3c97b38d493d30cf99d27dbd34070e17c1132e6a46ed6e9d493d30cf99d27dbd34070e17c1132e6a46ed6e9d493d30cf99d27dbd34070e17c1132e6a46ed6e9Evidence
demo/root.php. After the fix, the PHPUnit project-autoload and nested plugin source tests passed, as did the focused TypeScript compilation. Full gate verification is left to Homeboy.AI disclosure
Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.2-sol. Cook time: 25m12s.
The AI reproduced the bug, shared the source-resolution logic, and added regression coverage, under the direction of the Cook requester. Homeboy reports controller verification separately from this account of the AI's work. A human reviews before merge.
Refs #2617