feat: client side redirects #4925
Annotations
11 errors, 4 warnings, and 1 notice
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: node:events:492
throw er; // Unhandled 'error' event
^
Error: EPIPE: broken pipe, write
at Socket._write (node:internal/net:61:25)
at writeOrBuffer (node:internal/streams/writable:447:12)
at _write (node:internal/streams/writable:389:10)
at Writable.write (node:internal/streams/writable:393:10)
at console.value (node:internal/console/constructor:304:16)
at console.log (node:internal/console/constructor:379:26)
at ConsumerObserver2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\[email protected]\node_modules\pnpm\dist\pnpm.cjs:23275:29)
at Subscriber2._next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\[email protected]\node_modules\pnpm\dist\pnpm.cjs:23244:26)
at Subscriber2.next (C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\[email protected]\node_modules\pnpm\dist\pnpm.cjs:23217:16)
at C:\Users\runneradmin\setup-pnpm\node_modules\.pnpm\[email protected]\node_modules\pnpm\dist\pnpm.cjs:26952:24
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4047,
syscall: 'write',
code: 'EPIPE'
}
Node.js v20.8.0
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e/create-waku.spec.ts#L1
stderr: Could not execute pnpm install. Please run
|
Run pnpm exec playwright test --forbid-only --shard=2/4
49604 stderr: TypeError: Unknown file extension ".css" for D:\a\waku\waku\node_modules\.pnpm\[email protected][email protected][email protected]__re_p75voa33vfawi3tdwgrpfvxgnu\node_modules\react-tweet\dist\twitter-theme\tweet-info-created-at.module.css
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --forbid-only --shard=2/4
49604 stderr: TypeError: Unknown file extension ".css" for D:\a\waku\waku\node_modules\.pnpm\[email protected][email protected][email protected]__re_p75voa33vfawi3tdwgrpfvxgnu\node_modules\react-tweet\dist\twitter-theme\tweet-actions.module.css
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --forbid-only --shard=2/4
49785 stderr: Error: The render was aborted by the server without a reason.
at abort (file:///D:/a/waku/waku/examples/23_actions/dist/rsdw-server.js:1402:39)
at Object.cancel (file:///D:/a/waku/waku/examples/23_actions/dist/rsdw-server.js:2140:9)
at readableByteStreamControllerCancelSteps (node:internal/webstreams/readablestream:3117:37)
at [kCancel] (node:internal/webstreams/readablestream:1185:12)
at ensureIsPromise (node:internal/webstreams/util:185:19)
at readableStreamCancel (node:internal/webstreams/readablestream:1982:5)
at readableStreamReaderGenericCancel (node:internal/webstreams/readablestream:2122:10)
at ReadableStreamDefaultReader.cancel (node:internal/webstreams/readablestream:900:12)
at ServerResponse.cancel (file:///D:/a/waku/waku/node_modules/.pnpm/@HONO[email protected][email protected]/node_modules/@hono/node-server/dist/index.mjs:152:12)
at ServerResponse.emit (node:events:526:35)
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e\broken-link.spec.ts#L208
1) [firefox] › broken-link.spec.ts:193:3 › client side navigation › broken redirect ──────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:65447/broken-redirect"
Received: "http://localhost:65447/broken"
206 | // there is no way to tell where the RSC request was redirected
207 | // to before failing with 404.
> 208 | expect(page.url()).toBe(`http://localhost:${port}/broken-redirect`);
| ^
209 |
210 | // Go back to the index page
211 | await page.getByRole('link', { name: 'Back' }).click();
at D:\a\waku\waku\e2e\broken-link.spec.ts:208:24
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e\broken-link.spec.ts#L208
1) [firefox] › broken-link.spec.ts:193:3 › client side navigation › broken redirect ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:65465/broken-redirect"
Received: "http://localhost:65465/broken"
206 | // there is no way to tell where the RSC request was redirected
207 | // to before failing with 404.
> 208 | expect(page.url()).toBe(`http://localhost:${port}/broken-redirect`);
| ^
209 |
210 | // Go back to the index page
211 | await page.getByRole('link', { name: 'Back' }).click();
at D:\a\waku\waku\e2e\broken-link.spec.ts:208:24
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e\broken-link.spec.ts#L208
1) [firefox] › broken-link.spec.ts:193:3 › client side navigation › broken redirect ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:65482/broken-redirect"
Received: "http://localhost:65482/broken"
206 | // there is no way to tell where the RSC request was redirected
207 | // to before failing with 404.
> 208 | expect(page.url()).toBe(`http://localhost:${port}/broken-redirect`);
| ^
209 |
210 | // Go back to the index page
211 | await page.getByRole('link', { name: 'Back' }).click();
at D:\a\waku\waku\e2e\broken-link.spec.ts:208:24
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e\broken-link.spec.ts#L208
1) [firefox] › broken-link.spec.ts:193:3 › client side navigation › broken redirect ──────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:49177/broken-redirect"
Received: "http://localhost:49177/broken"
206 | // there is no way to tell where the RSC request was redirected
207 | // to before failing with 404.
> 208 | expect(page.url()).toBe(`http://localhost:${port}/broken-redirect`);
| ^
209 |
210 | // Go back to the index page
211 | await page.getByRole('link', { name: 'Back' }).click();
at D:\a\waku\waku\e2e\broken-link.spec.ts:208:24
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
e2e\multi-platform.spec.ts#L82
2) [firefox] › multi-platform.spec.ts:69:7 › multi platform builds › build 20_minimal with --with-partykit should not throw error
Error: expect(received).toBeNull()
Received: [Error: Command failed: node D:\a\waku\waku\packages\waku\dist\cli.js build --with-partykit
^C]
80 | });
81 | } catch (error) {
> 82 | expect(error).toBeNull();
| ^
83 | }
84 | });
85 | }
at D:\a\waku\waku\e2e\multi-platform.spec.ts:82:25
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
[chromium] › use-router.spec.ts#L1
[chromium] › use-router.spec.ts took 2.6m
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
[firefox] › examples-smoke.spec.ts#L1
[firefox] › examples-smoke.spec.ts took 1.2m
|
Run pnpm exec playwright test --forbid-only --shard=2/4:
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 56.7s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-18.17.0-1", "playwright-report-macos-latest-18.17.0-2", "playwright-report-macos-latest-18.17.0-3", "playwright-report-macos-latest-20.8.0-1", "playwright-report-macos-latest-20.8.0-2", "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-2", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-20.8.0-1", "playwright-report-ubuntu-latest-20.8.0-2", "playwright-report-ubuntu-latest-20.8.0-3", "playwright-report-ubuntu-latest-20.8.0-4", "playwright-report-windows-latest-18.17.0-1", "playwright-report-windows-latest-18.17.0-2", "playwright-report-windows-latest-18.17.0-3", "playwright-report-windows-latest-20.8.0-1", "playwright-report-windows-latest-20.8.0-2", "playwright-report-windows-latest-20.8.0-3".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run pnpm exec playwright test --forbid-only --shard=2/4
2 failed
[firefox] › broken-link.spec.ts:193:3 › client side navigation › broken redirect ───────────────
[firefox] › multi-platform.spec.ts:69:7 › multi platform builds › build 20_minimal with --with-partykit should not throw error
5 skipped
2 did not run
89 passed (10.0m)
|
Loading