Repository navigation
Build/Test Tools: Run PHPUnit timing reports on PHP 8.6. - #16317
Open
lancewillett wants to merge 1 commit into
Open
lancewillett wants to merge 1 commit into
lancewillett wants to merge 1 commit into
Conversation
The routine matrix stopped scheduling PHP 8.5 when Core declared support for PHP 8.6. Select the existing PHP 8.6 reporting job so pull requests show slow tests and trunk pushes publish PHPUnit metrics again.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: 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:
|
lancewillett
requested review from
desrosj
and
a balanced review from Copilot
November 29, 2026 00:54
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the update aligning PHPUnit timing-reporting selectors with PHP 8.6.
No open issues 🎉
What changed in this PR
Aligns PHPUnit timing reporting with the routine PHP 8.6 matrix, replacing selectors that no longer match an eligible job.
Changes:
- Selects PHP 8.6 for advisory slow-test annotations on pull requests and trunk pushes.
- Selects the same reporting job for publishing six timing metrics to CodeVitals, without adding matrix jobs.
| File | Description |
|---|---|
.github/workflows/reusable-phpunit-tests-v3.yml |
Updates both reporting selectors from PHP 8.5 to PHP 8.6. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trac ticket: https://core.trac.wordpress.org/ticket/66867
After https://core.trac.wordpress.org/changeset/65384, the routine PHPUnit matrix runs PHP 8.6 and omits PHP 8.5. The slow-test annotations and CodeVitals steps still require PHP 8.5. A trunk run can therefore succeed without reporting any PHPUnit timings.
Select the existing PHP 8.6 single-site MySQL 8.4 reporting job for both steps. Pull requests can flag slow tests again, and trunk pushes can publish the six timing metrics. This adds no matrix jobs. The historical samples used PHP 8.5, which matters when comparing the trend across this change.
Verification
actionlintpassed. The unchanged reporting script flagged four slow redirect tests and produced all six metric values from a local full-suite JUnit report. Actual delivery to CodeVitals can be checked on the first trunk push after landing.AI assistance: Codex helped compare the runs, prepare the change, and validate the workflow.