Skip to content

fix: refresh bench REST routes after activation#413

Merged
chubes4 merged 2 commits into
mainfrom
fix/bench-rest-route-activation
Jun 1, 2026
Merged

fix: refresh bench REST routes after activation#413
chubes4 merged 2 commits into
mainfrom
fix/bench-rest-route-activation

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented Jun 1, 2026

Summary

  • Refresh the REST server after wordpress.bench activates mounted plugins late in a runtime.
  • Covers plugins that register routes on rest_api_init, matching normal WordPress activation/load behavior more closely.
  • Extends the bench fixture smoke to assert a plugin REST route is visible to bench workloads.

Testing

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

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the late plugin activation REST route gap, drafted the route refresh fix, and added smoke coverage. Chris remains responsible for review and merge.

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