Skip to content

Harden wordpress.bench dependency loading#571

Merged
chubes4 merged 1 commit into
mainfrom
fix/bench-load-active-plugins
Jun 4, 2026
Merged

Harden wordpress.bench dependency loading#571
chubes4 merged 1 commit into
mainfrom
fix/bench-load-active-plugins

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 4, 2026

Summary

  • Load wordpress.bench dependency/component plugins by plugin header discovery instead of assuming slug/slug.php.
  • Replay callbacks registered by late-loaded plugins/bootstrap files for plugins_loaded and init before workloads run.
  • Fail fast when a heavyweight plugin source declares a Composer package autoloader but the mounted dependency lacks vendor autoload files, preventing partial bootstrap workloads.

Verification

  • npm run build
  • npm run bench-bootstrap-files-smoke
  • npm run recipe-bench-smoke
  • Homeboy WooCommerce/Stripe rig now fails before workload execution with a clear missing vendor autoload diagnostic for the unbuilt WooCommerce dependency mount.

Notes

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the bench loading hardening, fixture coverage, and local/Homeboy verification; Chris directed the scope and reviewed the runtime behavior.

@chubes4 chubes4 merged commit 9631500 into main Jun 4, 2026
@chubes4 chubes4 deleted the fix/bench-load-active-plugins branch June 4, 2026 20:59
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