Repository navigation
Conversation
Add vip-manifest.yaml, run PHPUnit and Playwright from composer test, and widen the CI matrix to WP 6.9/7.0 and PHP 8.2-8.5.
Read the VIP_BEEHIIV_CONFIG array for the API base URL, falling back to the wp-config constant and the default. Missing or invalid config is ignored. Add fixtures, tests, and README examples.
Keep main's patched PHP 8.2 to 8.5 matrix and add WP 6.9 and 7.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gets the plugin through
@automattic/vip-integration validate(0.2.0) for the WordPress VIP Integration Center. The first run onmainfailed 3 of 9 rules. This branch passes all rules the check can run.Teamwork task: 19813979
VIP check rules
wordpress-pluginpackagecomposer testruns PHPUnit and an e2e runnervip-manifest.yamlis present and completeMain was merged into this branch on 2026-10-22 to resolve a conflict in
test.yml.Result after this branch: 8 passed, 0 failed, 1 skipped. Rule 9 is skipped because the plugin records no telemetry. A skipped rule is not a pass.
Changes
vip-manifest.yaml: new handoff manifest (rule 3).composer.json:composer testrunstest:unit(PHPUnit) thentest:e2e(npx playwright test) (rule 2)..github/workflows/test.yml: the matrix is main's patched PHP 8.2 to 8.5 with WP 6.8, 6.9, 7.0 andlatest. The PHPUnit job callscomposer test:unitinside wp-env (rule 7).includes/OAuth/Config.php: readsVIP_BEEHIIV_CONFIG.api_base_urlresolves from that array, then theBEEHIIV_API_BASE_URLconstant, then the default. Missing or invalid values are ignored (rules 4 and 5).tests/phpunit/VipConfigTest.phpandtests/phpunit/fixtures/: tests and four config fixtures (valid, minimal, incomplete, invalid).README.md: new "WordPress VIP runtime config" section with valid and incomplete examples (rule 6).Not covered
https://www.beehiiv.com/support, a support page. VIP may want a plugin documentation page.api_base_urlis a staging and local override today, not a customer setting.Testing
npx @automattic/vip-integration validate .: 8 passed, 0 failed, 1 not applicable.npm run lint:php,lint:jsandlint:css: clean.