Upgrade jest-worker #23077
Merged
Upgrade jest-worker #23077
+61,139
−61,518
Conversation
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| buildDuration | 12.8s | 12.7s | -95ms |
| nodeModulesSize | 42.8 MB | 43.6 MB |
Page Load Tests Overall decrease ⚠️
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| / failed reqs | 0 | 0 | ✓ |
| / total time (seconds) | 2.169 | 2.12 | -0.05 |
| / avg req/sec | 1152.6 | 1179.12 | +26.52 |
| /error-in-render failed reqs | 0 | 0 | ✓ |
| /error-in-render total time (seconds) | 1.384 | 1.429 | |
| /error-in-render avg req/sec | 1806.81 | 1749.13 |
Client Bundles (main, webpack, commons)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| 677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
| framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
| main-HASH.js gzip | 7.14 kB | 7.14 kB | ✓ |
| webpack-HASH.js gzip | 751 B | 751 B | ✓ |
| Overall change | 60.3 kB | 60.3 kB | ✓ |
Legacy Client Bundles (polyfills)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
| Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _app-fde3324..9dd1.js gzip | 1.28 kB | 1.28 kB | ✓ |
| _error-af59f..582f.js gzip | 3.46 kB | 3.46 kB | ✓ |
| amp-9716187d..0aa8.js gzip | 536 B | 536 B | ✓ |
| hooks-107e90..74c7.js gzip | 888 B | 888 B | ✓ |
| index-ac435c..ecf2.js gzip | 227 B | 227 B | ✓ |
| link-e6cee42..49eb.js gzip | 1.64 kB | 1.64 kB | ✓ |
| routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
| withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
| Overall change | 8.64 kB | 8.64 kB | ✓ |
Client Build Manifests
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _buildManifest.js gzip | 346 B | 346 B | ✓ |
| Overall change | 346 B | 346 B | ✓ |
Rendered Page Sizes
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| index.html gzip | 614 B | 614 B | ✓ |
| link.html gzip | 621 B | 621 B | ✓ |
| withRouter.html gzip | 609 B | 609 B | ✓ |
| Overall change | 1.84 kB | 1.84 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| buildDuration | 14.3s | 14.6s | |
| nodeModulesSize | 42.8 MB | 43.6 MB |
Client Bundles (main, webpack, commons)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| 677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
| framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
| main-HASH.js gzip | 7.14 kB | 7.14 kB | ✓ |
| webpack-HASH.js gzip | 751 B | 751 B | ✓ |
| Overall change | 60.3 kB | 60.3 kB | ✓ |
Legacy Client Bundles (polyfills)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
| Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _app-fde3324..9dd1.js gzip | 1.28 kB | 1.28 kB | ✓ |
| _error-af59f..582f.js gzip | 3.46 kB | 3.46 kB | ✓ |
| amp-9716187d..0aa8.js gzip | 536 B | 536 B | ✓ |
| hooks-107e90..74c7.js gzip | 888 B | 888 B | ✓ |
| index-ac435c..ecf2.js gzip | 227 B | 227 B | ✓ |
| link-e6cee42..49eb.js gzip | 1.64 kB | 1.64 kB | ✓ |
| routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
| withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
| Overall change | 8.64 kB | 8.64 kB | ✓ |
Client Build Manifests
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _buildManifest.js gzip | 346 B | 346 B | ✓ |
| Overall change | 346 B | 346 B | ✓ |
Serverless bundles
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _error.js | 1.02 MB | 1.02 MB | ✓ |
| 404.html | 2.67 kB | 2.67 kB | ✓ |
| 500.html | 2.65 kB | 2.65 kB | ✓ |
| amp.amp.html | 10.6 kB | 10.6 kB | ✓ |
| amp.html | 1.86 kB | 1.86 kB | ✓ |
| hooks.html | 1.92 kB | 1.92 kB | ✓ |
| index.js | 1.02 MB | 1.02 MB | ✓ |
| link.js | 1.08 MB | 1.08 MB | ✓ |
| routerDirect.js | 1.07 MB | 1.07 MB | ✓ |
| withRouter.js | 1.07 MB | 1.07 MB | ✓ |
| Overall change | 5.27 MB | 5.27 MB | ✓ |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| buildDuration | 14.2s | 14.5s | |
| nodeModulesSize | 42.8 MB | 43.6 MB |
Page Load Tests Overall increase ✓
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| / failed reqs | 0 | 0 | ✓ |
| / total time (seconds) | 2.106 | 2.132 | |
| / avg req/sec | 1186.87 | 1172.83 | |
| /error-in-render failed reqs | 0 | 0 | ✓ |
| /error-in-render total time (seconds) | 1.334 | 1.308 | -0.03 |
| /error-in-render avg req/sec | 1874.18 | 1911.01 | +36.83 |
Client Bundles (main, webpack, commons)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| 597-2bc2376a..203d.js gzip | 13.3 kB | 13.3 kB | ✓ |
| framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
| main-HASH.js gzip | 7.08 kB | 7.08 kB | ✓ |
| webpack-HASH.js gzip | 954 B | 954 B | ✓ |
| Overall change | 60.7 kB | 60.7 kB | ✓ |
Legacy Client Bundles (polyfills)
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
| Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _app-0c62a59..94b7.js gzip | 1.26 kB | 1.26 kB | ✓ |
| _error-97d24..ed28.js gzip | 3.38 kB | 3.38 kB | ✓ |
| amp-2926e4c2..9ccc.js gzip | 536 B | 536 B | ✓ |
| hooks-1ed65b..8908.js gzip | 902 B | 902 B | ✓ |
| index-6259b6..77d8.js gzip | 230 B | 230 B | ✓ |
| link-2a29128..cc6e.js gzip | 1.63 kB | 1.63 kB | ✓ |
| routerDirect..862a.js gzip | 306 B | 306 B | ✓ |
| withRouter-4..76fd.js gzip | 302 B | 302 B | ✓ |
| Overall change | 8.54 kB | 8.54 kB | ✓ |
Client Build Manifests
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| _buildManifest.js gzip | 322 B | 322 B | ✓ |
| Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes
| vercel/next.js canary | shuding/next.js fix-upgrade-jest-worker | Change | |
|---|---|---|---|
| index.html gzip | 585 B | 585 B | ✓ |
| link.html gzip | 593 B | 593 B | ✓ |
| withRouter.html gzip | 580 B | 580 B | ✓ |
| Overall change | 1.76 kB | 1.76 kB | ✓ |
Diffs
Diff for index.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "TKxN4A4T4FWKlcPCdqrQu",
+ "buildId": "C_5j6Wvu3LfdAxeEYO501",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_buildManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_ssgManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_ssgManifest.js"
async=""
></script>
</body>Diff for link.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "TKxN4A4T4FWKlcPCdqrQu",
+ "buildId": "C_5j6Wvu3LfdAxeEYO501",
"isFallback": false,
"gip": true
}
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_buildManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_ssgManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_ssgManifest.js"
async=""
></script>
</body>Diff for withRouter.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "TKxN4A4T4FWKlcPCdqrQu",
+ "buildId": "C_5j6Wvu3LfdAxeEYO501",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_buildManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/TKxN4A4T4FWKlcPCdqrQu/_ssgManifest.js"
+ src="/_next/static/C_5j6Wvu3LfdAxeEYO501/_ssgManifest.js"
async=""
></script>
</body>|
Looks good! |
1bf4cf3
into
vercel:canary
28 of 31 checks passed
28 of 31 checks passed
azure next.js (Test test_chrome_integration node-10-2)
Test test_chrome_integration node-10-2 failed
Details
azure next.js (Test test_chrome_integration node-10-4)
Test test_chrome_integration node-10-4 failed
Details
azure next.js (Test test_chrome_integration node-10-1)
Test test_chrome_integration node-10-1 succeeded
Details
azure next.js (Test test_chrome_integration node-10-3)
Test test_chrome_integration node-10-3 succeeded
Details
|
@timneutkens not very good. A bit older now version (14.10.1 specifically) support were dropped with "engines" fields which is hardly considered by yarn. |
|
Not a big problem for me. Though I had to bump node first. |
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.
This PR upgrades
jest-workerandjest-clito the latest pre-release version, also removedjest-circuswhich is included in Jest by default.jest-worker@nextincludes a fix for memory leak that we need (facebook/jest#11187).Fixes #22925. This will also improve the OOM issue for
next dev#15855.