Skip to content

feat(types): Add DefaultEnv for zero runtime factory #6114

feat(types): Add DefaultEnv for zero runtime factory

feat(types): Add DefaultEnv for zero runtime factory #6114

Re-run triggered January 15, 2025 08:19
Status Failure
Total duration 1m 44s
Artifacts 7

ci.yml

on: pull_request
Matrix: node
Checking if it's valid for JSR
12s
Checking if it's valid for JSR
Type & Bundle size Check on PR
1m 22s
Type & Bundle size Check on PR
Type & Bundle size Check on Main
0s
Type & Bundle size Check on Main
Coverage
0s
Coverage
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 13 warnings
Checking if it's valid for JSR: src/adapter/aws-lambda/alb.ts#L13
found an ambient module, which is a global augmentation, which are not unsupported
Checking if it's valid for JSR: src/adapter/aws-lambda/api-gateway-v2.ts#L13
found an ambient module, which is a global augmentation, which are not unsupported
Checking if it's valid for JSR: src/adapter/aws-lambda/api-gateway.ts#L13
found an ambient module, which is a global augmentation, which are not unsupported
Checking if it's valid for JSR: src/adapter/cloudflare-pages/index.ts#L10
found an ambient module, which is a global augmentation, which are not unsupported
Checking if it's valid for JSR: src/adapter/lambda-edge/index.ts#L24
found an ambient module, which is a global augmentation, which are not unsupported
Checking if it's valid for JSR
Process completed with exit code 1.
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L348
'event' is declared but its value is never read.
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L350
'headers' is declared but its value is never read.
Node.js v20.x: src/jsx/types.ts#L26
All type parameters are unused.
Node.js v22.x: src/adapter/aws-lambda/handler.ts#L348
'event' is declared but its value is never read.
Node.js v22.x: src/adapter/aws-lambda/handler.ts#L350
'headers' is declared but its value is never read.
Node.js v22.x: src/jsx/types.ts#L26
All type parameters are unused.
workerd: src/adapter/aws-lambda/handler.ts#L348
'event' is declared but its value is never read.
workerd: src/adapter/aws-lambda/handler.ts#L350
'headers' is declared but its value is never read.
workerd: src/jsx/types.ts#L26
All type parameters are unused.
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L348
'event' is declared but its value is never read.
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L350
'headers' is declared but its value is never read.
Node.js v18.18.2: src/jsx/types.ts#L26
All type parameters are unused.
Main: src/helper/dev/index.test.ts#L177
Type 'RegExpRouter<unknown>' is not assignable to type 'Router<[H<DefaultEnv>, RouterRoute<DefaultEnv>]>'.
Main: src/hono.test.ts#L315
Type 'RegExpRouter<unknown>' is not assignable to type 'Router<[H<DefaultEnv>, RouterRoute<DefaultEnv>]>'.
Main: src/hono.test.ts#L1944
Type 'RegExpRouter<unknown>' is not assignable to type 'Router<[H<DefaultEnv>, RouterRoute<DefaultEnv>]>'.
Main: src/hono.test.ts#L1957
Type 'TrieRouter<unknown>' is not assignable to type 'Router<[H<DefaultEnv>, RouterRoute<DefaultEnv>]>'.
Main: src/hono.test.ts#L3026
Unused '@ts-expect-error' directive.
Main: src/hono.test.ts#L3041
Property 'echo2' does not exist on type 'Readonly<ContextVariableMap>'.
Main: src/hono.test.ts#L3042
Property 'echo3' does not exist on type 'Readonly<ContextVariableMap>'.
Main: src/hono.test.ts#L3043
Property 'echo4' does not exist on type 'Readonly<ContextVariableMap>'.
Main: src/hono.test.ts#L3044
Property 'echo5' does not exist on type 'Readonly<ContextVariableMap>'.
Main: src/hono.test.ts#L3045
Property 'echo6' does not exist on type 'Readonly<ContextVariableMap>'.
Main: src/adapter/aws-lambda/handler.ts#L348
'event' is declared but its value is never read.
Main: src/adapter/aws-lambda/handler.ts#L350
'headers' is declared but its value is never read.
Main: src/jsx/types.ts#L26
All type parameters are unused.
Bun
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deno
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Checking if it's valid for JSR
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lambda@Edge
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Fastly Compute
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
AWS Lambda
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js v20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js v22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
workerd
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js v18.18.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Type & Bundle size Check on PR
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Main
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Main: perf-measures/type-check/client.ts#L4
'client' is assigned a value but never used

Artifacts

Produced during runtime
Name Size
coverage-bun
12 KB
coverage-deno
134 KB
coverage-fastly
692 KB
coverage-lambda
700 KB
coverage-lambda-edge
695 KB
coverage-node
698 KB
coverage-workerd
678 KB