Skip to content

Harden bench plugin load diagnostics#581

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-570-bench-loading-diagnostics
Jun 4, 2026
Merged

Harden bench plugin load diagnostics#581
chubes4 merged 1 commit into
mainfrom
fix/issue-570-bench-loading-diagnostics

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 4, 2026

Summary

  • Adds structured wordpress.bench plugin-load diagnostics for missing directories, missing plugin headers, activation failures, unreadable plugin files, include failures, and post-include verification failures.
  • Preserves the generic dependency/component loading path while naming the plugin role, slug, expected paths, active state, include state, and error in failure messages.
  • Extends the bench smoke fixture to prove a dependency already active through recipe blueprint/setup is still included in the benchmark request and exposes both a function and a class to workloads.

Verification

  • npm run build
  • npm run bench-bootstrap-files-smoke
  • npm run recipe-bench-smoke

Issue

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the diagnostic helper changes, fixture coverage updates, and targeted verification commands for Chris to review.

@chubes4 chubes4 merged commit 6417ece into main Jun 4, 2026
@chubes4 chubes4 deleted the fix/issue-570-bench-loading-diagnostics 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.

wordpress.bench should load declared plugin dependencies in the benchmark request

1 participant