Skip to content

Fix Data Machine handler integration gate#592

Merged
chubes4 merged 1 commit into
mainfrom
fix-handler-trait-gate
Jun 7, 2026
Merged

Fix Data Machine handler integration gate#592
chubes4 merged 1 commit into
mainfrom
fix-handler-trait-gate

Conversation

@chubes4

@chubes4 chubes4 commented Jun 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Switches the Data Machine handler integration gate from class_exists() to trait_exists() for HandlerRegistrationTrait.
  • Adds smoke coverage proving the GitHub issue publish handler bootstrap checks for the trait correctly.

Fixes #591.

Testing

  • php tests/smoke-github-issue-publish-handler.php
  • php tests/smoke-github-pr-publish-handler.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosing the wp-site-generator loop failure, implementing the trait-gate fix, and drafting the PR text. Chris remains responsible for review and testing.

@chubes4 chubes4 merged commit 0bc4788 into main Jun 7, 2026
5 checks passed
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.

Use trait_exists for Data Machine handler integration gate

1 participant