Skip to content

Conversation

@josephfusco
Copy link
Member

  • Add WordPress 6.9 to the CI test matrix
  • Exclude PHP 7.4 from WordPress 6.9 tests (per existing pattern)
  • Update nightly workflow to use WordPress 6.9 as base
  • Update .env.dist default to WordPress 6.9

Closes #397

- Add WordPress 6.9 to the CI test matrix
- Exclude PHP 7.4 from WordPress 6.9 tests (per existing pattern)
- Update nightly workflow to use WordPress 6.9 as base
- Update .env.dist default to WordPress 6.9

Closes #397
@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2025

🦋 Changeset detected

Latest commit: 4b90611

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

- Reduce test matrix to WordPress 6.9 and 6.8 only
- Test against PHP 8.3, 8.2, and 8.1
- Update nightly workflow to use WordPress 6.9 as base
- Update .env.dist default to WordPress 6.9

Closes #397
- Reduce test matrix to WordPress 6.9 and 6.8 only
- Test against PHP 8.3, 8.2, and 8.1
- Update nightly workflow to use WordPress 6.9 as base
- Update .env.dist default to WordPress 6.9

Closes #397
- Reduce test matrix to WordPress 6.9 and 6.8 only
- Test against PHP 8.3, 8.2, and 8.1
- Update nightly workflow to use WordPress 6.9 as base
- Update .env.dist default to WordPress 6.9
- Fix MySQL SSL option syntax (--ssl-mode=DISABLED)

Closes #397
The --ssl-mode=DISABLED option doesn't work in GitHub Actions.
Community-standard fix: don't specify SSL options at all - MySQL
defaults work for local test connections.
Creates wordpress_unit_test database on MySQL container startup.
This ensures the test database exists before PHPUnit runs.
WordPress 6.9 introduces expected schema changes (new blocks, changed
field types, removed templates). The schema inspector should report
these changes for release notes, but not block CI.
@josephfusco josephfusco marked this pull request as ready for review December 8, 2025 15:30
@josephfusco josephfusco requested a review from a team as a code owner December 8, 2025 15:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI test matrix to add support for WordPress 6.9 and modernizes the PHP version support. The changes align the testing infrastructure with WordPress 6.9's requirements while removing outdated version combinations.

Key Changes:

  • Updated test matrix to test WordPress 6.9 and 6.8 with PHP 8.3, 8.2, and 8.1
  • Updated default WordPress version from 6.2 to 6.9 in environment configuration
  • Added SQL script for test database creation

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/test-plugin.yml Simplified test matrix to WordPress 6.9/6.8 with PHP 8.3/8.2/8.1, removing older versions and exclusion rules
.github/workflows/test-plugin-nightly.yml Updated base WordPress version from 6.8 to 6.9 for nightly builds
.github/workflows/schema-linter.yml Added continue-on-error: true to Schema Inspector step
.env.dist Updated default WordPress version from 6.2 to 6.9
.docker/mysql/00-create-test-db.sql Added new SQL script to create test database with appropriate permissions
.changeset/wordpress-69-compatibility.md Added changeset documenting WordPress 6.9 compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Headless OSS Dec 8, 2025
@josephfusco josephfusco moved this from 🆕 Backlog to 👀 In review in Headless OSS Dec 8, 2025
@josephfusco josephfusco self-assigned this Dec 8, 2025
@josephfusco josephfusco requested a review from Copilot December 8, 2025 15:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@justlevine
Copy link
Contributor

Exclude PHP 7.4 from WordPress 6.9 tests (per existing pattern)

(@josephfusco beyond the scope of this PR, but take a glance at wp-graphql/wp-graphql#3446 that replaces the custom docker + plugin ci/cd with wp-env.
Once it's done there my plan is to backport it to other parts of the ecosystem, but in addition to less boilerplate/maintenance, we'll be able to test against custom PHP-WP combos without worrying about missing docker images for popular-but-unsupported PHP versions.
Even easier to do for content blocks, since it's PHPUnit and not Codeception , which is built-in).

@josephfusco josephfusco moved this from 👀 In review to 🏗 In progress in Headless OSS Dec 9, 2025
Bump the default PHP version from 8.0 to 8.1 for local development and testing environments.
Introduces a 'wp-version' input to the setup-wordpress composite action, allowing the WordPress version to be specified (defaulting to 6.8). Updates the schema-linter workflow to use this input, improving flexibility for WordPress version management in CI.
Bump the WordPress version in the setup step from 6.8 to 6.9. Add comments and set 'continue-on-error: true' for the schema inspector step to ensure schema changes do not block CI, as they are expected between WordPress versions.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@josephfusco josephfusco requested review from ahuseyn and removed request for justlevine December 12, 2025 12:09
@josephfusco josephfusco moved this from 🏗 In progress to 👀 In review in Headless OSS Dec 12, 2025
@josephfusco josephfusco requested a review from Copilot December 12, 2025 13:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

WordPress 6.9 Compatibility

3 participants