Skip to content

Repair wp/7.1 branch Actions: Update the PHP version test matrix - #82795

Open
desrosj wants to merge 2 commits into
fix-actions-7.1/pin-wp-env-core-versionfrom
fix-actions-7.1/update-php-test-matrix
Open

desrosj wants to merge 2 commits into
fix-actions-7.1/pin-wp-env-core-versionfrom
fix-actions-7.1/update-php-test-matrix

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Part of #82781.

What?

Changes the test-php job's PHP version matrix in unit-test.yml from 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5 to 7.4, 8.0, 8.5, and removes the exclude: list that limited pull requests to the PHP 7.4 and 8.5 single site legs.

Why?

WordPress 7.1 supports PHP 7.4 and 8.0 through 8.5, per the PHP compatibility policy. The matrix now tests the lowest and highest supported minor version of each major PHP version. PHP 7 is tested once, since 7.4 is its only supported minor version.

With the exclusions, pull requests to this branch ran 2 of the 14 legs, and the rest ran only after merging. The new matrix has 6 legs, and pull requests run all of them.

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.

Summary by CodeRabbit

  • Tests
    • Updated automated test coverage to run against PHP 7.4, 8.0, and 8.5.
    • PHP versions 8.1–8.4 are no longer included in the test matrix.

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Sep 11, 2026
@desrosj desrosj self-assigned this Sep 11, 2026
@desrosj
desrosj added this pull request to stack #82796 September 11, 2026 20:39
@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6748006-1a1c-4f72-a89a-9f43021a2d86

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 13467265-81e8-42eb-a3c6-0124c6b07fde

📥 Commits

Reviewing files that changed from the base of the PR and between 26ce2c7 and a205fa5.

📒 Files selected for processing (1)
  • .github/workflows/unit-test.yml

Included review availability: Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Walkthrough

The unit test workflow now tests PHP 7.4, 8.0, and 8.5. PHP 8.1–8.4 test entries and their pull-request exclusions were removed.

Changes: PHP test matrix

Layer / File(s) Summary
Narrow PHP test matrix
.github/workflows/unit-test.yml
The test-php matrix now includes PHP 7.4, 8.0, and 8.5. The PHP 8.1–8.4 pull-request exclusions were removed. The PHP 8.0 exclusion remains.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: manzoorwanijk

Merge Risk: Minimal · up to a205f

The PHP matrix change is consistent with the stated testing convention and is ready to merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the wp/7.1 branch and the main change: updating the PHP version test matrix.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-actions-7.1/update-php-test-matrix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused matrix update matches the stated testing convention without altering surrounding job behavior.

Pull request overview

Updates the wp/7.1 PHP test matrix to cover supported boundary versions.

Changes:

  • Tests PHP 7.4, 8.0, and 8.5.
  • Removes redundant exclusions for deleted matrix versions.
File summaries
File Description
.github/workflows/unit-test.yml Trims the PHP matrix while preserving PR and multisite behavior.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

📦 Bundle size

Size Change: 0 B

Total Size: 7.75 MB

d7ffe64 Run

@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from a205fa5 to ad90264 Compare September 14, 2026 00:28
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from ad90264 to 68d0d39 Compare September 14, 2026 01:39
@desrosj
desrosj marked this pull request as ready for review September 14, 2026 02:14
@github-actions

github-actions Bot commented Sep 14, 2026 •

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.

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>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>

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


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from d4f1c50 to c6f5754 Compare September 14, 2026 02:40
@desrosj
desrosj removed this pull request from stack #82796 September 22, 2026 16:26
@desrosj
desrosj changed the base branch from fix-actions-7.1/add-workflow-concurrency to wp/7.1 September 22, 2026 16:26
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from c6f5754 to b67b4f3 Compare September 22, 2026 16:28
Comment thread .github/workflows/build-plugin-zip.yml Fixed
Comment thread .github/workflows/build-plugin-zip.yml Fixed
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/pin-wp-env-core-version September 22, 2026 16:28
@desrosj
desrosj added this pull request to stack #83383 September 22, 2026 16:29
@desrosj
desrosj removed this pull request from stack #83383 September 22, 2026 23:50
@desrosj
desrosj changed the base branch from fix-actions-7.1/pin-wp-env-core-version to wp/7.1 September 22, 2026 23:50
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from b67b4f3 to e513e06 Compare September 22, 2026 23:52
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/pin-wp-env-core-version September 22, 2026 23:52
@desrosj
desrosj added this pull request to stack #83417 September 22, 2026 23:52
@desrosj
desrosj removed this pull request from stack #83417 September 28, 2026 15:31
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from e513e06 to 540f02a Compare September 28, 2026 15:31
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/pin-wp-env-core-version September 28, 2026 15:31
@desrosj
desrosj added this pull request to stack #83629 September 28, 2026 15:31
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from 540f02a to 7f848ea Compare October 7, 2026 13:42
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from 7f848ea to 396f05d Compare October 7, 2026 15:55
@desrosj
desrosj removed this pull request from stack #83629 October 8, 2026 21:07
@desrosj
desrosj changed the base branch from fix-actions-7.1/pin-wp-env-core-version to wp/7.1 October 8, 2026 21:08
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from 396f05d to 12e4c29 Compare October 8, 2026 21:08
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/pin-wp-env-core-version October 8, 2026 21:09
@desrosj
desrosj added this pull request to stack #84346 October 8, 2026 21:10
@desrosj
desrosj removed this pull request from stack #84346 October 9, 2026 23:21
@desrosj
desrosj changed the base branch from fix-actions-7.1/pin-wp-env-core-version to wp/7.1 October 9, 2026 23:21
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from 12e4c29 to d7ffe64 Compare October 9, 2026 23:22
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/pin-wp-env-core-version October 9, 2026 23:23
@desrosj
desrosj added this pull request to stack #84466 October 9, 2026 23:23
@desrosj desrosj changed the title Repair wp/7.1 branch Actions: update test-php job's PHP version matrix Repair wp/7.1 branch Actions: Update the PHP version test matrix Oct 16, 2026
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from d7ffe64 to 0bc2fc5 Compare October 19, 2026 17:02

@ramonjd ramonjd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Matrix matches the PHP compatibility table for this WordPress version: the lowest and highest supported minor of each PHP major.

Each job's PHPUnit Runtime: matches the PHP version in its name.

This PR's own PHP jobs stop at the test bootstrap (Interface "WP_Secrets_Store" not found). #84760, higher in this stack, fixes that.

@desrosj
desrosj removed this pull request from stack #84466 October 21, 2026 18:35
@desrosj
desrosj added this pull request to stack #85326 October 21, 2026 18:36
@desrosj
desrosj force-pushed the fix-actions-7.1/update-php-test-matrix branch from 0bc2fc5 to 5be93c4 Compare October 24, 2026 18:02
@desrosj
desrosj removed this pull request from stack #85326 October 24, 2026 18:04
@desrosj
desrosj added this pull request to stack #85508 October 24, 2026 18:04

This branch has not been deployed

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

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants