#60127 closed task (blessed) (fixed)
Fix the Performance Testing workflow in the 6.4 branch
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | performance | Cc: |
Description
Since [57198] all runs of the Performance Workflow on the 6.4 branch are failing on the "Run baseline performance tests" step.
This is likely due to that step trying to run performance tests against BASE_TAG
version that has been set to 6.1.1 since the workflow was introduced, since that WP version did not support PHP 8.3.
Some potential options to consider:
- Update the version used for the baseline tests each major version.
- Set the PHP version used by performance tests to the current recommended version, rather than the latest version.
- Run benchmarks using independent environments rather than changing the WP version on the same install between tests.
Change History (35)
This ticket was mentioned in Slack in #core-performance by joemcgill. View the logs.
15 months ago
This ticket was mentioned in Slack in #core-performance by joemcgill. View the logs.
14 months ago
This ticket was mentioned in Slack in #core-performance by joemcgill. View the logs.
14 months ago
This ticket was mentioned in Slack in #core-performance by joemcgill. View the logs.
14 months ago
This ticket was mentioned in Slack in #core by joemcgill. View the logs.
14 months ago
This ticket was mentioned in Slack in #core by desrosj. View the logs.
14 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
14 months ago
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
13 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
13 months ago
This ticket was mentioned in Slack in #core by chaion07. View the logs.
13 months ago
#14
@
13 months ago
Thanks @joemcgill for reporting this. We reviewed this ticket during a recent bug-scrub session. Here's the summary of the feedback received:
- Still needs a patch
- @thelovekesh is willing to work on it as per this discussion
- @thelovekesh mentioned that he is looking in to it and would take this up following some discussion with the core performance team.
Cheers!
Props to @thelovekesh @poena @kirasong and @adarshposimyth for the discussion
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
13 months ago
This ticket was mentioned in Slack in #core-performance by joemcgill. View the logs.
12 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
12 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
11 months ago
#21
@
10 months ago
While discussing the performance testing workflow in the context of #61213 with @swissspidy today, we questioned whether running these tests in older branches has any benefits.
Instead of fixing this, would it make more sense to only run the workflow on branches that support the same versions of PHP? Or only run on trunk
and the currently supported major version branch?
#22
@
10 months ago
Or only run on trunk and the currently supported major version branch?
I think this probably makes sense, or at minimum, only trigger error notices on those two branches.
At some point, we've switched trunk back to running these on PHP 8.2, but that didn't get backported the 6.4 branch. That would also fix this issue.
Somewhat related, we've been using the 6.1.1 release as the base branch for long enough that we're starting to see some strange drift show up in our dashboard metrics (related discussion). Bumping the base branch each release, like the Gutenberg performance tests do, could also help keep these running longer term.
#23
@
10 months ago
Actually, looking into the PHP version issue more, I didn't realize that the problem was that you were pinning old branches only to the highest supported PHP version in #60095. You've not done the same for the 6.5 branch yet, but will end up having the same effect on the Performance workflow when that occurs.
I'm thinking that bumping the BASE_TAG
value is probably worth trying regardless, but we could also fix the 6.4 branch by defining LOCAL_PHP=8.2-fpm
in the workflow.
This ticket was mentioned in PR #6587 on WordPress/wordpress-develop by @joemcgill.
10 months ago
#24
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/60127
@joemcgill commented on PR #6587:
10 months ago
#25
The Performance Tests are passing with PHP pinned to 8.2.
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
10 months ago
This ticket was mentioned in PR #6674 on WordPress/wordpress-develop by @desrosj.
10 months ago
#28
This adds a php-version
input to the reusable performance testing workflow. This is to accommodate the changes to fix the workflow in the 6.4 branch once that branch is updated to make use of the new reusable workflows.
Trac ticket: https://core.trac.wordpress.org/ticket/60127
#29
@
10 months ago
Thanks all! It does indeed look like the PR fixes the issue.
I've opened an additional PR that updates the reusable performance test workflow in trunk
to accept a PHP version as well. This will ensure that a specific PHP version can be configured when the changes associated with #61213 through [58165] and [58166] are backported to the 6.4 branch.
@joemcgill commented on PR #6587:
10 months ago
#30
@desrosj, given the state of #6674 do you think we should commit this or wait and update the workflow in the 6.4 branch to use the new reusable workflow?
10 months ago
#33
Thanks all! Merged in https://core.trac.wordpress.org/changeset/58269.
This probably makes the most sense. Gutenberg updates the baseline version regularly as well.
That sounds reasonable to me.
That probably negates the whole point of the baseline comparison as the tests are no longer running on the same environment.