Skip to content

fix(phpunit): resolve relative config paths against plugin root - #2602

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-2601-wp-codebox
Nov 27, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix/issue-2601-wp-codebox

Conversation

@chubes4

@chubes4 chubes4 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Committed fix and passing regression test in 21a2a0de. Ready for Homeboy verification and PR publication.

What changed

  • Resolve PHPUnit config paths against the plugin root using posix.resolve when building runner options.
  • Add regression coverage confirming relative and absolute managed config paths generate identical PHP and return identical absolute discovery paths.

Verification

  • 1-verify-16c0e4305ac213dff39fc82b69b6e08aeeb8758e33cd72d7c409752a70e9f054.txt (npm run build): passed on 21a2a0d. Base main@cb0a30c unchanged. 433 ms; retained gate metadata.

  • 2-verify-91e7f32867143fd9d8ab5cde21801a59690e6a266a8053551c1aae7af4848fec.txt (npx tsx tests/phpunit-discovery-only.test.ts): passed on 21a2a0d. Base main@cb0a30c unchanged. 933 ms; retained gate metadata.

  • HOMEBOY_LINT_BASE=cb0a30c61bdac129d319c52ca90e11ca25f8a0bb homeboy --placement l (HOMEBOY_LINT_BASE=cb0a30c61bdac129d319c52ca90e11ca25f8a0bb homeboy --placement local review lint wp-codebox --path . --…): passed on 21a2a0d. Base main@cb0a30c unchanged. 2941 ms; retained gate metadata.

  • repro: none (no repro gate was declared, so these gates do not prove the issue).

  • CI: pending

Cook run
  • Gate 1: tree c6cd4a9a1c12bb3cbcab8d887b46e396d33f6548
  • Gate 2: tree c6cd4a9a1c12bb3cbcab8d887b46e396d33f6548
  • Gate 3: tree c6cd4a9a1c12bb3cbcab8d887b46e396d33f6548

Delivery

  • Delivered: Committed fix and regression test
  • Not delivered: Pull request (Checkout has a push-disabled remote; publication requires downstream handoff.)

Evidence

  • git diff --check passed. Declared full verification gates left to Homeboy.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.1-sol. Cook time: 11m39s.

Implementation and reviewer documentation were written by the AI, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Refs #2601

@chubes4
chubes4 marked this pull request as ready for review November 27, 2026 05:27
@chubes4
chubes4 merged commit 4fb002d into main Nov 27, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant