Skip to content

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

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

desrosj wants to merge 1 commit into
fix-actions-6.7/single-node-version-testingfrom
fix-actions-6.7/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.7-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.7 branch to fail in a number of places due to significant code divergence between 6.7-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.7/pin-wp-env-core-version branch from a2dcf00 to c6fb2a5 Compare August 26, 2026 13:12
Base automatically changed from fix-actions-6.7/update-actions-to-latest to fix-actions-6.7/single-node-version-testing August 26, 2026 14:15
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from c6fb2a5 to 190b294 Compare August 26, 2026 14:15
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch 2 times, most recently from beea72a to eac972c Compare August 27, 2026 00:10
@desrosj desrosj changed the title Repair wp/6.7 branch Actions: Pin wp-env to the correct WordPress core version Repair wp/6.7 branch Actions: Pin wp-env to the correct WordPress Core version Aug 27, 2026
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from eac972c to de09fa8 Compare August 27, 2026 00:44
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from de09fa8 to 7d959a0 Compare August 27, 2026 15:09
@desrosj
desrosj removed this pull request from stack #90 September 10, 2026 19:33
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from 7d959a0 to 5d5f97a Compare September 10, 2026 19:34
@desrosj
desrosj added this pull request to stack #185 September 10, 2026 19:36
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from 5d5f97a to dfb41c1 Compare September 10, 2026 23:56
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from dfb41c1 to 22dc06d Compare September 11, 2026 00:28
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from 22dc06d to 5771796 Compare September 11, 2026 01:14
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from 5771796 to d4ea3c4 Compare September 11, 2026 02:18
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 02:44
@desrosj
desrosj marked this pull request as draft September 11, 2026 03:22
@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.7/pin-wp-env-core-version branch from d4ea3c4 to c31cd5f Compare September 14, 2026 01:47
Pins `wp-env`'s WordPress core checkout to `WordPress/WordPress#6.7-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 from
`unit-test.yml`'s `test-php` job.
@desrosj
desrosj force-pushed the fix-actions-6.7/pin-wp-env-core-version branch from c31cd5f to b243673 Compare September 14, 2026 19:06
@desrosj
desrosj marked this pull request as ready for review September 14, 2026 19:29
@desrosj
desrosj marked this pull request as draft September 14, 2026 19:31
@desrosj
desrosj marked this pull request as ready for review September 14, 2026 19:38
@desrosj

desrosj commented Sep 15, 2026

Copy link
Copy Markdown
Owner Author

Migrated to real upstream: WordPress#82900. Closing this fork PR.

@desrosj desrosj closed this Sep 15, 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