Skip to content

Repair wp/6.5 branch Actions: Pin wp-env to the correct WordPress Core version - #69

Closed
desrosj wants to merge 1 commit into
fix-actions-6.5/single-node-version-testingfrom
fix-actions-6.5/pin-wp-env-core-version
Closed

desrosj wants to merge 1 commit into
fix-actions-6.5/single-node-version-testingfrom
fix-actions-6.5/pin-wp-env-core-version

Conversation

@desrosj

@desrosj desrosj commented Aug 26, 2026 •

Copy link
Copy Markdown
Owner

What?

This pins .wp-env.json's "core" value to WordPress/WordPress#6.5-branch, and removes the wordpress test matrix dimension, the WP_ENV_CORE environment variable override, and the compute-previous-wordpress-version job from unit-test.yml's test-php job.

Why?

Previously an unpinned WordPress/WordPress was used, which tracks core's active development trunk. This caused the PHPUnit tests (the "PHP 8.3 on Linux" job) on the wp/6.5 branch to fail in a number of places due to significant code divergence between 6.5-era core and current trunk.

When WP_ENV_CORE is not set, @wordpress/env falls back to the value specified within the .wp-env.json file.

The wordpress matrix dimension existed to test the previous major WordPress version, which is useful for active development but pointless on an outdated branch that is only eligible for security fixes, none of which are shipped in new plugin versions or backported to wp/X.-1 branches.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 439362a to bc722ab Compare August 26, 2026 13:17
@desrosj
desrosj changed the base branch from fix-actions-6.5/update-actions-to-latest to fix-actions-6.5/single-node-version-testing August 26, 2026 14:11
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from bc722ab to 663a77c Compare August 26, 2026 14:11
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch 2 times, most recently from 20a0c29 to 02b735d Compare August 27, 2026 00:10
@desrosj desrosj changed the title Repair wp/6.5 branch Actions: Pin wp-env to the correct WordPress core version Repair wp/6.5 branch Actions: Pin wp-env to the correct WordPress Core version Aug 27, 2026
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 02b735d to 61a4d2a Compare August 27, 2026 15:02
@desrosj
desrosj removed this pull request from stack #87 September 10, 2026 19:37
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 61a4d2a to 9cdfb18 Compare September 10, 2026 19:39
@desrosj
desrosj added this pull request to stack #190 September 10, 2026 19:40
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 9cdfb18 to 81a1dc2 Compare September 11, 2026 00:02
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 81a1dc2 to 19e2258 Compare September 11, 2026 00:27
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 19e2258 to 17c8a6f Compare September 11, 2026 01:13
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 17c8a6f to e3beb90 Compare September 11, 2026 02:17
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from e3beb90 to 2e1d233 Compare September 11, 2026 02:30
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 03:10
@desrosj
desrosj marked this pull request as draft September 11, 2026 03:21
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 2e1d233 to 25df970 Compare September 14, 2026 01:57
@desrosj
desrosj marked this pull request as ready for review September 15, 2026 19:01
Pins `wp-env`'s WordPress core checkout to `WordPress/WordPress#6.5-branch`
via `.wp-env.json`'s `"core"` value, and removes the `wordpress` test
matrix dimension, the `WP_ENV_CORE` environment variable override, and
the `compute-previous-wordpress-version` job it depended on to compute
the previous WordPress version, from `unit-test.yml`'s `test-php` job.
@desrosj
desrosj force-pushed the fix-actions-6.5/pin-wp-env-core-version branch from 25df970 to 019d67c Compare September 15, 2026 19:22
@desrosj
desrosj removed this pull request from stack #190 September 15, 2026 21:18
@desrosj
desrosj added this pull request to stack #376 September 15, 2026 21:22
@desrosj

desrosj commented Sep 16, 2026

Copy link
Copy Markdown
Owner Author

Migrated to the real WordPress/gutenberg repository as WordPress#82992.

@desrosj desrosj closed this Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant