Skip to content

feat(http-status): to generate a type error when generating not empty response with 204 #6072

feat(http-status): to generate a type error when generating not empty response with 204

feat(http-status): to generate a type error when generating not empty response with 204 #6072

Triggered via pull request December 20, 2024 03:03
Status Failure
Total duration 1m 36s
Artifacts 7

ci.yml

on: pull_request
Matrix: node
Checking if it's valid for JSR
9s
Checking if it's valid for JSR
Type & Bundle size Check on PR
1m 10s
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

25 errors and 13 warnings
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L344
'event' is declared but its value is never read.
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L346
'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#L344
'event' is declared but its value is never read.
Node.js v22.x: src/adapter/aws-lambda/handler.ts#L346
'headers' is declared but its value is never read.
Node.js v22.x: src/jsx/types.ts#L26
All type parameters are unused.
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L344
'event' is declared but its value is never read.
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L346
'headers' is declared but its value is never read.
Node.js v18.18.2: src/jsx/types.ts#L26
All type parameters are unused.
workerd: src/adapter/aws-lambda/handler.ts#L344
'event' is declared but its value is never read.
workerd: src/adapter/aws-lambda/handler.ts#L346
'headers' is declared but its value is never read.
workerd: src/jsx/types.ts#L26
All type parameters are unused.
Main: src/helper/factory/index.test.ts#L103
Type '{ a: ClientRequest<{ $get: { input: {}; output: "A"; outputFormat: "text"; status: StatusCode; }; }>; }' does not satisfy the constraint '{ a: { $get: "Expected: function, Actual: never"; $url: (arg?: {} | undefined) => URL; }; }'.
Main: src/validator/validator.test.ts#L75
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L90
No overload matches this call.
Main: src/validator/validator.test.ts#L486
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L550
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L837
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L902
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L950
Type 'false' does not satisfy the constraint 'true'.
Main: src/validator/validator.test.ts#L1207
Type 'false' does not satisfy the constraint 'true'.
Main
Process completed with exit code 2.
Main: src/adapter/aws-lambda/handler.ts#L344
'event' is declared but its value is never read.
Main: src/adapter/aws-lambda/handler.ts#L346
'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
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
Deno
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
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
Fastly Compute
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
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
workerd
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
132 KB
coverage-fastly
684 KB
coverage-lambda
692 KB
coverage-lambda-edge
686 KB
coverage-node
689 KB
coverage-workerd
669 KB