fix(isr): ignore interception context on HTML renders #12828
ci.yml
on: pull_request
Matrix: create-next-app
Matrix: e2e
Matrix: test-integration
Matrix: test-unit
Check
1m 33s
create-next-app (cloudflare init)
1m 20s
create-vinext-app (Cloudflare build)
1m 13s
CI
38s
Annotations
6 errors, 10 warnings, and 32 notices
|
[app-router-chrome-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics:
http:/127.0.0.1:44693/_next/static/chunks/Client-DFym6N6x.js#L1
1) [app-router-chrome-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
Error: Test failed due to 11 console error(s):
1. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
2. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
3. Failed to load resource: the server responded with a status of 404 (Not Found)
4. Failed to load resource: the server responded with a status of 404 (Not Found)
5. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
6. Error: always no boundary throw
at e (http://127.0.0.1:44693/_next/static/chunks/Client-DFym6N6x.js:1:20)
at Oo (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:47485)
at yc (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:69909)
at Ic (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:79954)
at Mu (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:115469)
at ku (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:114552)
at Ou (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:114391)
at gu (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:111260)
at cd (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:8:122756)
at MessagePort.ie (http://127.0.0.1:44693/_next/static/chunks/framework-ronrkxZg.js:1:12543)
7. The above error occurred in a React component:
at e (http://127.0.0.1:44693/_next/static/chunks/Client-DFym6N6x.js:1:20)
at _u (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:96222)
at yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:97618)
at o (http://127.0.0.1:44693/_next/static/chunks/layout-segment-context-kzO24rh9.js:1:224)
at qu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:2998)
at Ju (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:3471)
at jl (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:90507)
at Nl (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:91443)
at Qu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:4532)
at $u (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:5069)
at bu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:97938)
at body (<anonymous>)
at html (<anonymous>)
at _u (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:96222)
at yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:97618)
at o (http://127.0.0.1:44693/_next/static/chunks/layout-segment-context-kzO24rh9.js:1:224)
at Yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:3556)
at Xu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:4243)
at Yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:3556)
at Zu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:4368)
at _u (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:96222)
at yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:97618)
at ae (http://127.0.0.1:44693/_next/static/chunks/index-CQVF3k4Q.js:2:49752)
at qu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:2998)
at Ju (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:31:3471)
at Fo (http://127.0.0.1:44693/_next/static/chunks/index-CQVF3k4Q.js:3:21396)
at Ml (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ4.js:1:91356)
at Yu (http://127.0.0.1:44693/_next/static/chunks/vinext-BcwXPOZ
|
|
[app-router-chrome-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics:
tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts#L379
1) [app-router-chrome-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 6
- Array []
+ Array [
+ "Failed to load resource: the server responded with a status of 404 (Not Found)",
+ "Failed to load resource: the server responded with a status of 404 (Not Found)",
+ "Failed to load resource: the server responded with a status of 404 (Not Found)",
+ "Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
377 | !message.startsWith("The above error occurred in a React component"),
378 | );
> 379 | expect(unexpectedErrors).toEqual([]);
| ^
380 | consoleErrors.length = 0;
381 | } finally {
382 | try {
at /home/runner/work/vinext/vinext/tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:379:32
|
|
[app-router-webkit-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics:
e@http:/127.0.0.1:43685/_next/static/chunks/Client-DFym6N6x.js#L1
1) [app-router-webkit-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
Error: Test failed due to 8 console error(s):
1. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
2. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
3. Failed to load resource: the server responded with a status of 404 (Not Found)
4. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
5. Error: always no boundary throw
6. The above error occurred in a React component:
e@http://127.0.0.1:43685/_next/static/chunks/Client-DFym6N6x.js:1:25
_u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:96239
yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:97656
o@http://127.0.0.1:43685/_next/static/chunks/layout-segment-context-B4mvdH3V.js:1:225
qu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3003
Ju@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3485
jl@
Nl@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:91454
Qu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:4537
$u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:5103
L@http://127.0.0.1:43685/_next/static/chunks/framework-ronrkxZg.js:8:47221
body@unknown:0:0
html@unknown:0:0
_u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:96239
yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:97656
o@http://127.0.0.1:43685/_next/static/chunks/layout-segment-context-B4mvdH3V.js:1:225
Yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3561
Xu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:4277
Yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3561
Zu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:4391
_u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:96239
yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:97656
ae@http://127.0.0.1:43685/_next/static/chunks/index-Dn2BCvnt.js:2:49753
qu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3003
Ju@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3485
Fo@http://127.0.0.1:43685/_next/static/chunks/index-Dn2BCvnt.js:3:21405
Ml@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:91381
Yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3561
Zu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:4391
Lo@http://127.0.0.1:43685/_next/static/chunks/index-Dn2BCvnt.js:3:21982
7. Error: reload error
8. The above error occurred in a React component:
a@http://127.0.0.1:43685/_next/static/chunks/Client-Bs3rq8jp.js:1:160
_u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:96239
yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:97656
o@http://127.0.0.1:43685/_next/static/chunks/layout-segment-context-B4mvdH3V.js:1:225
qu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3003
Ju@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:3485
jl@
Nl@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:91454
Qu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:4537
$u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:31:5103
L@http://127.0.0.1:43685/_next/static/chunks/framework-ronrkxZg.js:8:47221
body@unknown:0:0
html@unknown:0:0
_u@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:96239
yu@http://127.0.0.1:43685/_next/static/chunks/vinext-MmJgDF5p.js:1:97656
o@http://127.0.0.1:43685/_next/static/chunks/layout-segment-conte
|
|
[app-router-webkit-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics:
tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts#L379
1) [app-router-webkit-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
377 | !message.startsWith("The above error occurred in a React component"),
378 | );
> 379 | expect(unexpectedErrors).toEqual([]);
| ^
380 | consoleErrors.length = 0;
381 | } finally {
382 | try {
at /home/runner/work/vinext/vinext/tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:379:32
|
|
[app-router] › tests/e2e/app-router/error-interactive.spec.ts:51:7 › Error boundary interactive behavior › can trigger error again after reset:
tests/e2e/app-router/error-interactive.spec.ts#L59
1) [app-router] › tests/e2e/app-router/error-interactive.spec.ts:51:7 › Error boundary interactive behavior › can trigger error again after reset
Error: page.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('#error-boundary button')
- locator resolved to <button>Try again</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-vinext-dev-error-overlay="" id="__vinext_dev_error_overlay_root"></div> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-vinext-dev-error-overlay="" id="__vinext_dev_error_overlay_root"></div> intercepts pointer events
- retrying click action
- waiting 100ms
37 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-vinext-dev-error-overlay="" id="__vinext_dev_error_overlay_root"></div> intercepts pointer events
- retrying click action
- waiting 500ms
57 |
58 | // Reset
> 59 | await page.click("#error-boundary button");
| ^
60 | await expect(page.locator('[data-testid="trigger-error"]')).toBeVisible({
61 | timeout: 10_000,
62 | });
at /home/runner/work/vinext/vinext/tests/e2e/app-router/error-interactive.spec.ts:59:16
|
|
[app-router] › tests/e2e/app-router/error-interactive.spec.ts:51:7 › Error boundary interactive behavior › can trigger error again after reset:
tests/e2e/app-router/error-interactive.spec.ts#L0
1) [app-router] › tests/e2e/app-router/error-interactive.spec.ts:51:7 › Error boundary interactive behavior › can trigger error again after reset
Test timeout of 30000ms exceeded.
|
|
Check
No timing for tests/nextjs-compat/action-redirect-middleware.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/middleware-matcher-auth.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/hybrid-i18n-api-handoff.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/esm-externals.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/dev-route-discovery.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/client-global-define.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/cjs-globals-runtime.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/app-router-route-file-collision.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/app-router-proxy-conventions.test.ts: packed at 5000ms until the manifest is refreshed
|
|
Check
No timing for tests/app-router-deployment-id.test.ts: packed at 5000ms until the manifest is refreshed
|
|
🎭 Playwright Run Summary
3 passed (5.1s)
|
|
🎭 Playwright Run Summary
1 passed (8.3s)
|
|
🎭 Playwright Run Summary
5 passed (9.3s)
|
|
🎭 Playwright Run Summary
8 passed (10.3s)
|
|
🎭 Playwright Run Summary
1 passed (9.8s)
|
|
🎭 Playwright Run Summary
3 passed (10.4s)
|
|
🎭 Playwright Run Summary
3 passed (9.2s)
|
|
🎭 Playwright Run Summary
3 passed (6.4s)
|
|
🎭 Playwright Run Summary
6 passed (10.5s)
|
|
🎭 Playwright Run Summary
10 passed (8.3s)
|
|
🎭 Playwright Run Summary
7 passed (13.8s)
|
|
🎭 Playwright Run Summary
23 passed (14.9s)
|
|
🎭 Playwright Run Summary
8 passed (14.9s)
|
|
🎭 Playwright Run Summary
3 passed (8.5s)
|
|
🎭 Playwright Run Summary
52 passed (21.4s)
|
|
🎭 Playwright Run Summary
1 passed (13.4s)
|
|
🎭 Playwright Run Summary
1 passed (10.4s)
|
|
🎭 Playwright Run Summary
17 passed (13.1s)
|
|
🎭 Playwright Run Summary
30 passed (29.3s)
|
|
🎭 Playwright Run Summary
8 skipped
66 passed (35.0s)
|
|
🎭 Playwright Run Summary
9 passed (24.6s)
|
|
🎭 Playwright Run Summary
22 passed (35.6s)
|
|
🎭 Playwright Run Summary
21 passed (32.6s)
|
|
🎭 Playwright Run Summary
18 passed (34.2s)
|
|
🎭 Playwright Run Summary
147 passed (47.5s)
|
|
🎭 Playwright Run Summary
77 passed (38.7s)
|
|
🎭 Playwright Run Summary
2 skipped
85 passed (1.3m)
|
|
🎭 Playwright Run Summary
1 skipped
198 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[app-router-chrome-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
41 passed (1.3m)
|
|
🎭 Playwright Run Summary
1 flaky
[app-router-webkit-browser-specific] › tests/e2e/app-router/nextjs-compat/ssr-error-shell-recovery.browser.spec.ts:311:7 › SSR shell-error recovery (no custom global-error.tsx) › recovers the real tree in the browser and preserves local error.tsx semantics
41 passed (1.3m)
|
|
🎭 Playwright Run Summary
1 flaky
[app-router] › tests/e2e/app-router/error-interactive.spec.ts:51:7 › Error boundary interactive behavior › can trigger error again after reset
2 skipped
215 passed (1.9m)
|
|
🎭 Playwright Run Summary
208 passed (2.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-1
Expired
|
282 KB |
sha256:17b949da3696aabff8adcfeb57b1d866e7653432c6a757e7a8e8ecff7739944b
|
|
|
blob-report-10
Expired
|
132 KB |
sha256:47a75d158da6dbb82bb75719ef9ac1622ebb3e92a02da2191cbc70d7b89a4263
|
|
|
blob-report-2
Expired
|
31.6 KB |
sha256:807b4d1b38dcd0d47dfd140fab04f1e2b5609a226c95bec205ba4af377844137
|
|
|
blob-report-3
Expired
|
30.5 KB |
sha256:1d3b32642e65ff207b53c7ab676883a143d70476830c8cbd4bfe0c47eabdcdc3
|
|
|
blob-report-4
Expired
|
64.3 KB |
sha256:cbc049ddfa9ba543d817e6764337e40deafb7cf07576b11d9809363cfc2c3de3
|
|
|
blob-report-5
Expired
|
28.4 KB |
sha256:58a3edd1cf1c39bb66922027ce084f7d9d382699b1cb3d2e6b9cb8700e43fc76
|
|
|
blob-report-6
Expired
|
106 KB |
sha256:da3ae58e14940841ef568dcb47edc06de6823e367720ee810fe8c7cd11b323c0
|
|
|
blob-report-7
Expired
|
45.6 KB |
sha256:f871df06289d150194fbb06271618cec26ae871ccc1489b0111e19054cfb8abf
|
|
|
blob-report-8
Expired
|
55.2 KB |
sha256:b0b1837bee4d0037de1ee7b84fb38e515545fe4bed088800de77f721ea73a3cd
|
|
|
blob-report-9
Expired
|
84.7 KB |
sha256:2cb1f834ecd5538dcd8e9c0b35c09e150faf1d8cc5887f541f116f1af5c0c34d
|
|