Skip to content

feat(utils/color): support cloudflare workers (edge) #6064

feat(utils/color): support cloudflare workers (edge)

feat(utils/color): support cloudflare workers (edge) #6064

Triggered via pull request December 16, 2024 02:55
Status Failure
Total duration 2m 11s
Artifacts 7

ci.yml

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

17 errors and 13 warnings
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 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.
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.
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.
src/utils/color.test.ts > getColorEnabled() - With colors disabled in Edge > should return false: src/utils/color.test.ts#L18
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/utils/color.test.ts:18:42
Main
Process completed with exit code 1.
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
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
AWS Lambda
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
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
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
11.9 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