feat: migrate analyze function to react-server-action
#4248
Annotations
10 errors, 3 warnings, and 1 notice
41639 stderr: Error: The render was aborted by the server without a reason.
at abort (/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-server.edge.development.js:7310:17)
at Object.cancel (/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-server.edge.development.js:8858:21)
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 node:internal/webstreams/readablestream:1507:15
at complete (node:internal/webstreams/readablestream:1396:9)
at shutdownWithAnAction (node:internal/webstreams/readablestream:1392:5)
at node:internal/webstreams/readablestream:1506:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js#L481
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Error: Command failed: node /home/runner/work/waku/waku/packages/waku/dist/cli.js build
x Build failed in 452ms
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
[rsc-transform-plugin] client id not found: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
file: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
at ../packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481
479 | }
480 | }
> 481 | throw new Error('client id not found: ' + id);
| ^
482 | };
483 | const getServerId = (id)=>{
484 | if (!opts.isBuild) {
at getClientId (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481:15)
at transformServer (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:399:172)
at Object.transform (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:514:20)
at Object.handler (file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:65978:15)
at file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19774:40 {
code: 'PLUGIN_ERROR',
plugin: 'rsc-transform-plugin',
hook: 'transform',
id: '/home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx',
watchFiles: [
'/home/runner/work/waku/waku/packages/waku/package.json',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/react.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/classnames/index.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/react-dom.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.react-server.production.js',
'/home/runner/work/waku/waku/examples/12_css/src/entries.tsx',
'/home/runner/work/waku/waku/packages/waku/dist/se
|
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /home/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js#L481
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /home/runner/work/waku/waku/packages/waku/dist/cli.js build
x Build failed in 464ms
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
[rsc-transform-plugin] client id not found: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
file: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
at ../packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481
479 | }
480 | }
> 481 | throw new Error('client id not found: ' + id);
| ^
482 | };
483 | const getServerId = (id)=>{
484 | if (!opts.isBuild) {
at getClientId (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481:15)
at transformServer (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:399:172)
at Object.transform (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:514:20)
at Object.handler (file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:65978:15)
at file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19774:40 {
code: 'PLUGIN_ERROR',
plugin: 'rsc-transform-plugin',
hook: 'transform',
id: '/home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx',
watchFiles: [
'/home/runner/work/waku/waku/packages/waku/package.json',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/react.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/classnames/index.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/react-dom.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.react-server.production.js',
'/home/runner/work/
|
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /home/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js#L481
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /home/runner/work/waku/waku/packages/waku/dist/cli.js build
x Build failed in 483ms
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
[rsc-transform-plugin] client id not found: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
file: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
at ../packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481
479 | }
480 | }
> 481 | throw new Error('client id not found: ' + id);
| ^
482 | };
483 | const getServerId = (id)=>{
484 | if (!opts.isBuild) {
at getClientId (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481:15)
at transformServer (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:399:172)
at Object.transform (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:514:20)
at Object.handler (file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:65978:15)
at file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19774:40 {
code: 'PLUGIN_ERROR',
plugin: 'rsc-transform-plugin',
hook: 'transform',
id: '/home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx',
watchFiles: [
'/home/runner/work/waku/waku/packages/waku/package.json',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/react.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/classnames/index.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/react-dom.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.react-server.production.js',
'/home/runner/work/
|
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /home/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js#L481
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Command failed: node /home/runner/work/waku/waku/packages/waku/dist/cli.js build
x Build failed in 445ms
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
[rsc-transform-plugin] client id not found: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
file: /home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx
at ../packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481
479 | }
480 | }
> 481 | throw new Error('client id not found: ' + id);
| ^
482 | };
483 | const getServerId = (id)=>{
484 | if (!opts.isBuild) {
at getClientId (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:481:15)
at transformServer (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:399:172)
at Object.transform (file:///home/runner/work/waku/waku/packages/waku/dist/lib/plugins/vite-plugin-rsc-transform.js:514:20)
at Object.handler (file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:65978:15)
at file:///home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19774:40 {
code: 'PLUGIN_ERROR',
plugin: 'rsc-transform-plugin',
hook: 'transform',
id: '/home/runner/work/waku/waku/examples/12_css/src/components/ClientBanner.tsx',
watchFiles: [
'/home/runner/work/waku/waku/packages/waku/package.json',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/react.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/classnames/index.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/server.edge.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_fcwzeorpvrjzzhkonrz3wfaf7q/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.react-server.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/react-dom.react-server.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]_wqm44uwfbve2emqhiffbjusivu/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js',
'/home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.react-server.production.js',
'/home/runner/work/
|
e2e/examples-smoke.spec.ts#L75
1) [firefox] › examples-smoke.spec.ts:78:7 › smoke test on 12_css: start › check title ───────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'pid')
73 |
74 | test.afterAll(async () => {
> 75 | await terminate(cp.pid!);
| ^
76 | });
77 |
78 | test('check title', async ({ page }) => {
at /home/runner/work/waku/waku/e2e/examples-smoke.spec.ts:75:28
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[firefox] › multi-platform.spec.ts#L1
[firefox] › multi-platform.spec.ts took 57.2s
|
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-18.17.0-4", "playwright-report-macos-latest-20.8.0-1", "playwright-report-macos-latest-20.8.0-2", "playwright-report-macos-latest-20.8.0-3", "playwright-report-macos-latest-20.8.0-4", "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-18.17.0-4", "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-18.17.0-4", "playwright-report-windows-latest-20.8.0-1", "playwright-report-windows-latest-20.8.0-2", "playwright-report-windows-latest-20.8.0-4".
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/
|
|
This job failed
Loading