You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PHPUnit dependency plugin entrypoints ignore sourceSubpath and pick the repo root's plugin header #2617
phpunitDependencyPlugins in packages/runtime-core/src/recipe-builders.ts resolves each dependency's entrypoint with resolvePluginEntrypointContract({ source: plugin.source ?? plugin.sourcePath, … }). For an extra plugin declared as source: <repo root> + sourceSubpath: <plugin dir>, that scans the repo root, not the plugin directory. The mount and the activate_plugins phase both honor sourceSubpath, so activation succeeds and then the PHPUnit load_deps stage fails.
Observed with Jetpack's wpcomsh via Homeboy (source = Jetpack monorepo root, sourceSubpath = projects/plugins/wpcomsh). The monorepo root has a stub jetpack.php with a Plugin Name: header, so the header fallback returned wpcomsh/jetpack.php:
BOOTSTRAP FAILURE: load_deps:RuntimeException: managed PHPUnit dependency entrypoint is not a readable contained file: wpcomsh/jetpack.php
PHPUNIT_ZERO_TESTS cause=bootstrap_failed
Desired
PHPUnit dependency entrypoint resolution uses the same plugin directory the mount uses (source joined with sourceSubpath when present), so dependency-plugins-json names wpcomsh/wpcomsh.php here.
AI disclosure: Claude Opus (Pi, via Roadie) traced this from a Homeboy Lab run and wrote this issue.
Activity
chubes4 commentedon Dec 2, 2026
Fixed by #2618.