Repository navigation
Repair wp/6.4 branch Actions: Ignore Browserslist old-data warning in unit tests - #113
Closed
desrosj wants to merge 1 commit into
Conversation
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
2 times, most recently
from
August 27, 2026 15:01
f1d78e3 to
6fc593b
Compare
desrosj
removed this pull request from stack #114
September 10, 2026 19:34
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 10, 2026 19:36
6fc593b to
1342d3b
Compare
desrosj
added this pull request to stack #188
September 10, 2026 19:37
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 10, 2026 23:59
1342d3b to
d91102b
Compare
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 11, 2026 00:28
d91102b to
c1d17db
Compare
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 11, 2026 01:12
c1d17db to
c5ff802
Compare
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 11, 2026 02:18
c5ff802 to
4cabd66
Compare
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 11, 2026 02:28
4cabd66 to
fd2ecc9
Compare
desrosj
removed this pull request from stack #188
September 13, 2026 00:46
desrosj
added this pull request to stack #312
September 13, 2026 00:46
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 14, 2026 01:35
fd2ecc9 to
7ff7ecd
Compare
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 15, 2026 19:19
7ff7ecd to
29e6587
Compare
desrosj
marked this pull request as ready for review
September 16, 2026 00:23
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
desrosj
removed this pull request from stack #312
September 21, 2026 18:37
desrosj
changed the base branch from
fix-actions-6.4/pin-wp-env-core-version
to
wp/6.4
September 21, 2026 18:37
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 21, 2026 18:46
29e6587 to
922e070
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/pin-wp-env-core-version
September 21, 2026 18:47
desrosj
added this pull request to stack #432
September 21, 2026 23:24
desrosj
removed this pull request from stack #432
September 21, 2026 23:49
desrosj
changed the base branch from
fix-actions-6.4/pin-wp-env-core-version
to
wp/6.4
September 21, 2026 23:50
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/pin-wp-env-core-version
September 21, 2026 23:52
desrosj
added this pull request to stack #440
September 21, 2026 23:54
desrosj
removed this pull request from stack #440
September 22, 2026 15:39
desrosj
changed the base branch from
fix-actions-6.4/pin-wp-env-core-version
to
wp/6.4
September 22, 2026 15:39
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 22, 2026 15:44
47f857b to
06105a5
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/update-php-test-matrix
September 22, 2026 15:44
desrosj
added this pull request to stack #458
September 22, 2026 15:44
desrosj
marked this pull request as draft
September 22, 2026 15:48
desrosj
removed this pull request from stack #458
September 22, 2026 20:15
desrosj
changed the base branch from
fix-actions-6.4/update-php-test-matrix
to
wp/6.4
September 22, 2026 20:16
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 22, 2026 21:32
06105a5 to
c17a033
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/update-php-test-matrix
September 22, 2026 21:34
desrosj
added this pull request to stack #482
September 22, 2026 21:34
desrosj
removed this pull request from stack #482
September 23, 2026 01:30
desrosj
changed the base branch from
fix-actions-6.4/update-php-test-matrix
to
wp/6.4
September 23, 2026 01:30
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 23, 2026 01:36
c17a033 to
d504139
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/update-php-test-matrix
September 23, 2026 01:38
desrosj
added this pull request to stack #485
September 23, 2026 01:38
desrosj
removed this pull request from stack #485
September 24, 2026 04:44
desrosj
changed the base branch from
fix-actions-6.4/update-php-test-matrix
to
wp/6.4
September 24, 2026 04:45
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 24, 2026 04:46
d504139 to
4c34e18
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/update-php-test-matrix
September 24, 2026 04:48
desrosj
added this pull request to stack #508
September 24, 2026 04:48
desrosj
force-pushed
the
fix-actions-6.4/ignore-browserslist-old-data
branch
from
September 24, 2026 16:38
4c34e18 to
d063d89
Compare
Browserslist's bundled caniuse-lite database on this branch is old enough to print a console.warn the first time it is consulted during a test run. @wordpress/jest-console fails any test where an unexpected console.warn occurs, so whichever suite happens to invoke Browserslist first fails, even though none of them test anything related to Browserslist or console output.
Owner
Author
|
Moved to WordPress#83684. The branch is left in place. |
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.
What?
Sets
process.env.BROWSERSLIST_IGNORE_OLD_DATA = 'true'intest/unit/jest.config.js, suppressing Browserslist's warning about its bundledcaniuse-litedata being outdated.Why?
This branch's
package-lock.jsonpinscaniuse-lite@1.0.30001513, published 2023-07-07, well past the roughly six-month threshold at which Browserslist starts printing aconsole.warnthe first time it is consulted during a test run.@wordpress/jest-consolefails any test where an unexpectedconsole.warnoccurs, so whichever suite happens to invoke Browserslist first fails, even though none of them test anything related to Browserslist or console output. This is an actively firing failure on this branch, not a defensive-only fix.How?
Adapted by hand from commit
a46893062588d0e46e001e911a9e475f994db00a("Tests: Ignore Browserslist old data warning in unit tests"). That commit anchors its insertion right after aprocess.env.TZ = 'UTC';line that does not exist in this branch'stest/unit/jest.config.js, so the cherry-pick conflicted; the same two-line change was applied directly instead, immediately after thetranspiledPackageNamesblock.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.