Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🤖 PR meta 🤖🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. should update the URL from the last navigation if only varies in the URL fragment in
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
bcbcaf6 to
8346c8b
Compare
Part of #82781.
What?
Pins the PHP version used by the end-to-end tests to
8.5, the highest version WordPress 7.1 supports.Why?
The end-to-end workflow sets no PHP version and
.wp-env.jsonhas nophpVersion, sowp-envbuilds the WordPress containers from the floatingwordpressandwordpress:cliimages. Those follow Docker Hub'slatesttag, which is PHP 8.3 today, and they move to a new PHP version whenever Docker Hub retagslatest, with no change on this branch. The unit tests already pin their PHP version throughWP_ENV_PHP_VERSION.wp/5.5ran into this: on the floating image's PHP 8.3, 10 of its end-to-end tests failed, which led to #85012 and #85013.With this change, the end-to-end tests run on PHP
8.5, a higher version than today's PHP 8.3.How?
.github/workflows/end2end-test.ymlsetsWP_ENV_PHP_VERSION: '8.5'in the workflow-levelenv:.wp-envalready reads this variable and builds its WordPress and WP-CLI images fromwordpress:php8.5andwordpress:cli-php8.5, the same images the8.5unit-test legs use.Testing Instructions
Check that the end-to-end jobs on this pull request pass.
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.
🤖 Generated with Claude Code