Skip to content

WordPress test recipes ignore absolute validation_dependencies from settings JSON #2384

Description

@chubes4

Problem

A WordPress component test configured with an absolute dependency path in HOMEBOY_SETTINGS_JSON passes dependency integrity checks but does not mount that dependency into the WP Codebox PHPUnit recipe.

Evidence

Data Machine Events PR Extra-Chill/data-machine-events#530, run https://github.com/Extra-Chill/data-machine-events/actions/runs/30029697373:

  • HOMEBOY_SETTINGS_JSON={\"validation_dependencies\":[\"/tmp/homeboy-data-machine\"]}
  • /tmp/homeboy-data-machine exists because the prior workflow step cloned it
  • Homeboy reports PHP dependency integrity checks passed
  • Recipe mount_plugins reports count: 1 and mounts only data-machine-events
  • executions: []
  • wordpress.phpunit crashes before structured output because DataMachine\\Core\\Steps\\Fetch\\Handlers\\FetchHandler is unavailable

The component's homeboy.json also declares validation_dependencies: [\"data-machine\"]; the explicit absolute override was intended to make that dependency resolvable in CI.

Expected

Resolved absolute validation dependency paths should be included in the generated Codebox recipe's plugin mounts and loaded before the component under test.

Current component workaround

Set HOMEBOY_WORDPRESS_DEPENDENCY_PATHS=/tmp/homeboy-data-machine explicitly on the Homeboy action step. This issue should determine why the equivalent settings value reaches preflight but not recipe mounting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions