Skip to content

Build/Test Tools: Trim the routine PHPUnit database matrix in the 7.0 branch - #13541

Closed
lancewillett wants to merge 1 commit into
WordPress:7.0from
lancewillett:chore/trim-phpunit-db-matrix-7-0
Closed

lancewillett wants to merge 1 commit into
WordPress:7.0from
lancewillett:chore/trim-phpunit-db-matrix-7-0

Conversation

@lancewillett

Copy link
Copy Markdown
Member

Trac ticket: https://core.trac.wordpress.org/ticket/66069

Carries the routine MariaDB trim from r63584 to the 7.0 branch. The MySQL list already matches trunk's routine set.

  • MariaDB: 5.5, 10.6, 10.11, 11.4, and 11.8 on pushes and pull requests. 10.3 and 10.5 run on dispatched runs.

Scheduled runs only fire from the default branch, so this keys the full list on workflow_dispatch rather than schedule. test-old-branches.yml dispatches this branch's PHPUnit workflow monthly, so the dropped versions keep running there.

MySQL and MariaDB jobs on a pull request: 67 → 55. Dispatched runs: 67, unchanged.

Validation

  • Expanded both matrices for pull_request and workflow_dispatch, before and after: 67 → 55 and 67 → 67.
  • actionlint and zizmor --persona=regular report the same findings before and after.

Use of AI tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5
Used for: Measuring job counts, the workflow edit, matrix validation, and drafting this description. Reviewed by me.


This pull request is for code review only. Please keep other discussion in the Trac ticket. Do not merge this pull request.

… branch.

Test MariaDB 5.5, 10.6, 10.11, 11.4, and 11.8 on pushes and pull requests. Dispatched runs, including the monthly run from test-old-branches.yml, keep the full database matrix.

Scheduled runs only fire from the default branch, so on a release branch the dispatch is the equivalent of the weekly full run on trunk. Reduces the MySQL and MariaDB jobs on a pull request from 67 to 55.

Follow-up to [63584].

See #66069.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 15, 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. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props lancewillett, adrianmoldovanwp, desrosj.

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

@desrosj desrosj 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.

Same comment as on #13540

The changes themselves look fine. However, I find the new syntax to be pretty hard to read. I've opened #13547 to propose a different syntax to accomplish the same thing. Not a hill I am going to die on, but happy for you to at least consider this as a suggestion to improve readability.

@desrosj

desrosj commented Sep 16, 2026

Copy link
Copy Markdown
Member

I did just notice that there's no support for the full matrix label in this branch, though. Is that intentional?

@lancewillett

Copy link
Copy Markdown
Member Author

#13547

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants