Skip to content

feat(preset-umi): unify request handler for ssr and always use stream #7905

feat(preset-umi): unify request handler for ssr and always use stream

feat(preset-umi): unify request handler for ssr and always use stream #7905

Triggered via pull request March 26, 2024 15:26
Status Failure
Total duration 6m 4s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 6 warnings
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L293
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L294
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L318
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L319
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'protocol' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'get' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'originalUrl' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L335
Property 'url' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L336
Property 'headers' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, ubuntu-latest): packages/server/src/ssr.ts#L338
Property 'query' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L293
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L294
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L318
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L319
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'protocol' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'get' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'originalUrl' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L335
Property 'url' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L336
Property 'headers' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, ubuntu-latest): packages/server/src/ssr.ts#L338
Property 'query' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L293
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L294
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L318
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L319
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'protocol' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'get' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L334
Property 'originalUrl' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L335
Property 'url' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L336
Property 'headers' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, ubuntu-latest): packages/server/src/ssr.ts#L338
Property 'query' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L293
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L294
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L318
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L319
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'protocol' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'get' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'originalUrl' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L335
Property 'url' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L336
Property 'headers' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (16.x, windows-latest): packages/server/src/ssr.ts#L338
Property 'query' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L293
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L294
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L318
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L319
Property 'modifyResponse' does not exist on type 'Response<any, Record<string, any>, number> | { modifyResponse?: ((res: Response) => Response | Promise<Response>) | undefined; }'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'protocol' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'get' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L334
Property 'originalUrl' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L335
Property 'url' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L336
Property 'headers' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (18.x, windows-latest): packages/server/src/ssr.ts#L338
Property 'query' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> | FetchEvent'.
build (14.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (16.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (14.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (16.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (18.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.