Opened 6 months ago
Last modified 3 weeks ago
#64083 reopened task (blessed)
Trim the GitHub Actions workflows for older branches (and possibly `trunk`)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch |
| Focuses: | Cc: |
Description (last modified by )
For older branches (ie. prior to 6.9 currently) I propose:
- Unused workflow files (mostly the reusable ones) are trimmed. This has been done previously on an ad-hoc basis, this is just catching up recent branches.
- The
performance.ymlworkflow is additionally removed. Realistically this is not something that anybody looks at outside of trunk and the current major, and results for branches aren't available on codevitals.run. - The matrices for PHPUnit tests are reduced to boundary testing of each major PHP version, which means the highest and lowest supported version in each of 5, 7, and 8. This reduces the time for tests to run and reduces the number of minutes consumed by workflows. This is especially useful when preparing backports to multiple branches.
Change History (69)
This ticket was mentioned in PR #10165 on WordPress/wordpress-develop by @johnbillion.
6 months ago
#1
- Keywords has-patch added
This ticket was mentioned in Slack in #core by johnbillion. View the logs.
6 months ago
#3
@
5 months ago
- Milestone changed from Future Release to 7.0
- Summary changed from Trim the GitHub Actions workflows for older branches to Trim the GitHub Actions workflows for older branches (and possibly `trunk`)
After the bottleneck that occurred leading up to the 6.9 beta 1 release that resulted in the need for [61018], I am going to move this to the 7.0 milestone.
While [61018] was a great short-term fix, it is not a sustainable way to limit the number of jobs long-term. I've updated the ticket summary to also include trunk.
@johnbillion commented on PR #10165:
8 weeks ago
#9
This ticket was mentioned in PR #11043 on WordPress/wordpress-develop by @johnbillion.
8 weeks ago
#10
Previously: #10165
This ticket was mentioned in PR #11044 on WordPress/wordpress-develop by @johnbillion.
8 weeks ago
#11
Previously: #10165
The reusable workflow files have already been removed from this branch.
This ticket was mentioned in PR #11045 on WordPress/wordpress-develop by @johnbillion.
8 weeks ago
#12
Previously: #10165
The reusable workflow files have already been removed from this branch.
This ticket was mentioned in PR #11046 on WordPress/wordpress-develop by @johnbillion.
8 weeks ago
#13
Previously: #10165
The reusable workflow files have already been removed from this branch.
This ticket was mentioned in PR #11048 on WordPress/wordpress-develop by @johnbillion.
8 weeks ago
#14
Previously: #10165
- The reusable workflow files have already been removed from this branch.
- This additionally pins the e2e test workflow to PHP 8.2 as they fail on
latest(which is 8.3) in this branch.
This ticket was mentioned in PR #11060 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#15
Previously: #10165
- The reusable workflow files have already been removed from this branch.
- The e2e test workflow in this branch is already pinned to PHP 8.0.
@johnbillion commented on PR #11043:
7 weeks ago
#19
@johnbillion commented on PR #11044:
7 weeks ago
#20
@johnbillion commented on PR #11045:
7 weeks ago
#21
@johnbillion commented on PR #11046:
7 weeks ago
#23
@johnbillion commented on PR #11048:
7 weeks ago
#25
@johnbillion commented on PR #11060:
7 weeks ago
#27
This ticket was mentioned in PR #11134 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#28
Previously: #10165
- The reusable workflow files have already been removed from this branch.
- The e2e test workflow in this branch is already pinned to PHP 8.0.
This ticket was mentioned in PR #11136 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#29
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e test workflow in this branch is already pinned to PHP 8.0.
This ticket was mentioned in PR #11137 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#30
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e test workflow in this branch is already pinned to PHP 8.0.
This ticket was mentioned in PR #11138 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#31
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11139 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#32
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11140 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#33
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11141 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#34
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11142 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#35
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11143 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#36
Previously: #10165
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11144 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#37
Previously: #10165
This trims the matrix down to PHP 5.3-5.6 and 7.0-7.3, the difference from later branches is the 5.6 and 7.0 jobs are built from the include directive instead of directly in the martrix due to the older PHPUnit version requirements.
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11145 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#38
Previously: #10165
This trims the matrix down to PHP 5.3, 5.6, 7.0, and 7.3. Similarly to the 5.1 branch, the 5.6, 7.0, and 7.3 jobs are built from the include directive instead of directly in the matrix due to the older PHPUnit version requirements.
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11146 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#39
Previously: #10165
This trims the matrix down to PHP 5.3, 5.6, 7.0, and 7.2. Similarly to the 5.0 and 5.1 branches, the later jobs are built from the include directive instead of directly in the matrix due to the older PHPUnit version requirements.
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11147 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#40
Previously: #10165
This trims the matrix down to PHP 5.3, 5.6, 7.0, and 7.1. The 5.6 jobs are built from the include directive.
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
This ticket was mentioned in PR #11148 on WordPress/wordpress-develop by @johnbillion.
7 weeks ago
#41
Previously: #10165
This trims the matrix down to PHP 5.3, 5.6, 7.0, and 7.1. The 5.6 and 7.x jobs are built from the include directive.
- No workflow files need deleting from this branch.
- The e2e workflow doesn't exist in this branch.
@desrosj commented on PR #11134:
7 weeks ago
#42
@johnbillion What do you think of also trimming 8.1 here? It's set to allow-failures. The release did have beta support. But if the suite does not fully pass to begin with, is it worth keeping those combinations?
I reviewed this one after th 5.9 PR (#11136). But the same question goes for that branch also.
@johnbillion commented on PR #11134:
7 weeks ago
#57
@johnbillion commented on PR #11136:
7 weeks ago
#58
@johnbillion commented on PR #11137:
7 weeks ago
#59
@johnbillion commented on PR #11145:
7 weeks ago
#60
#61
@
6 weeks ago
- Resolution fixed deleted
- Status changed from closed to reopened
@johnbillion reopening this because it seems like the commit to the 6.0 branch caused some unexpected changes to the built files.
I noticed the 6.0-branch branch as one of two in the Active list by chance looking into whether the branch created in [61863] made it to the WordPress/WordPress mirror on GitHub.
I'm not at all clear what caused this since no changes were made to package.json or package-lock.json, but a good number of JavaScript files and any generated files containing computed hashes of those files were updated. The changes all seem similar to what you'd expect if webpack or a related dependency were updated, and I believe the changes all look OK.
But this will increase the package size for the next 6.0 auto-update should a security patch need to be shipped to this branch.
I'm reopening for now just to look into this a bit more. It would be good to understand what happened.
#62
@
6 weeks ago
Jon and I looked through the branches that were changed last week (4.7 - 6.9). The only affected branch is 6.0. I'll speak with the systems team to find out what changed on the build server since the last commit in the 6.0 branch in November.
#64
@
6 weeks ago
CC @isabel_brison, @peterwilsoncc, @sergeybiryukov, @davidbaumwald, see the comments above. I was just pointed to [57982] by @jorbin. Do you have any idea why the built files in the 6.0 branch might have changed?
For the 6.7 branch: