Skip to content
This repository was archived by the owner on Nov 2, 2026. It is now read-only.

test: restore managed WordPress release harness - #308

Merged
chubes4 merged 1 commit into
mainfrom
fix-305-phpunit-discovery
Jul 29, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix-305-phpunit-discovery

Conversation

@chubes4

@chubes4 chubes4 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • select WP Codebox's managed WordPress PHPUnit bootstrap after the legacy project bootstrap was removed
  • route the required multisite MySQL suite through the existing external test-database provider contract used by Extra Chill Events
  • keep database credentials out of repository configuration by declaring environment-variable references only

Root Cause

Users declared database_type=mysql and multisite mode, but omitted both a managed bootstrap mode and an executable database-service provider. The default provider attempted Docker on a host without Docker, so PHPUnit never started. Bare composer test also has no project bootstrap/config because the canonical runtime is WP Codebox-managed.

Verification

  • npm run test:unit:js -- --runInBand: 1 suite, 4 tests passed
  • managed WP Codebox recipe generation verified with the Users worktree as test root, multisite enabled, managed bootstrap selected, and all validation dependencies mounted
  • default Docker failure was retained as evidence: Managed runtime service failed: wordpress-database
  • external-provider execution currently stops before PHPUnit because Homeboy does not provision WP_CODEBOX_DB_HOST into the adapter child; this existing upstream defect remains tracked in fix: release test adapter cannot resolve WP_CODEBOX_DB_HOST homeboy#10402

No secret values were printed, committed, or serialized. No release or deployment was performed by this PR.

Closes #305

@chubes4
chubes4 merged commit 40403e4 into main Jul 29, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore PHPUnit discovery in repository and release gates

1 participant