Skip to content

chore: use plain app id in key gen #4881

chore: use plain app id in key gen

chore: use plain app id in key gen #4881

Triggered via pull request November 6, 2024 09:24
Status Failure
Total duration 2m 57s
Artifacts 2

ci.yaml

on: pull_request
Matrix: analyze-bundle
bundle-analyze-result
40s
bundle-analyze-result
Fit to window
Zoom out
Zoom in

Annotations

25 errors
lint: packages/shared/test/crypto.test.ts#L123
Unsafe call of an `any` typed value
lint: packages/shared/test/crypto.test.ts#L141
Unsafe call of an `any` typed value
lint: packages/shared/test/crypto.test.ts#L159
Unsafe call of an `any` typed value
lint: packages/shared/test/crypto.test.ts#L178
Unsafe call of an `any` typed value
lint: packages/shared/test/crypto.test.ts#L197
Unsafe call of an `any` typed value
lint
@uploadthing/shared#lint: command (/home/runner/work/uploadthing/uploadthing/packages/shared) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
lint
Process completed with exit code 1.
typecheck
Module '"../src/crypto"' has no exported member 'verifyKey'.
typecheck
Type 'Effect<void, unknown, unknown>' is not assignable to type 'Effect<void, unknown, TestServices>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typecheck
Type 'Effect<void, unknown, unknown>' is not assignable to type 'Effect<void, unknown, TestServices>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typecheck
Type 'Effect<void, unknown, unknown>' is not assignable to type 'Effect<void, unknown, TestServices>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typecheck
Type 'Effect<void, unknown, unknown>' is not assignable to type 'Effect<void, unknown, TestServices>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typecheck
Type 'Effect<void, unknown, unknown>' is not assignable to type 'Effect<void, unknown, TestServices>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typecheck
@uploadthing/shared#typecheck: command (/home/runner/work/uploadthing/uploadthing/packages/shared) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Process completed with exit code 2.
test/crypto.test.ts > key gen > verifies a key: packages/shared/test/crypto.test.ts#L123
TypeError: yield* (intermediate value)(intermediate value) is not iterable ❯ next test/crypto.test.ts:123:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { span: undefined }
test/crypto.test.ts > key gen > doesn't verify a key with a bad appI: packages/shared/test/crypto.test.ts#L141
TypeError: yield* (intermediate value)(intermediate value) is not iterable ❯ next test/crypto.test.ts:141:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { span: undefined }
test/crypto.test.ts > key gen > doesn't verify a key with a bad key: packages/shared/test/crypto.test.ts#L159
TypeError: yield* (intermediate value)(intermediate value) is not iterable ❯ next test/crypto.test.ts:159:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { span: undefined }
test/crypto.test.ts > key gen > verifies with a custom hash function: packages/shared/test/crypto.test.ts#L178
TypeError: yield* (intermediate value)(intermediate value) is not iterable ❯ next test/crypto.test.ts:178:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { span: undefined }
test/crypto.test.ts > key gen > works even when there's nothing to seed: packages/shared/test/crypto.test.ts#L197
TypeError: yield* (intermediate value)(intermediate value) is not iterable ❯ next test/crypto.test.ts:197:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { span: undefined }
test/sdk.test.ts > smoke test with live api > should upload a file: packages/uploadthing/test/sdk.test.ts#L469
TypeError: Cannot read properties of null (reading 'key') ❯ test/sdk.test.ts:469:32
test/sdk.test.ts > smoke test with live api > should upload a private file: packages/uploadthing/test/sdk.test.ts#L505
TypeError: Cannot read properties of null (reading 'key') ❯ test/sdk.test.ts:505:32
test/sdk.test.ts > smoke test with live api > should upload a file from a url: packages/uploadthing/test/sdk.test.ts#L536
TypeError: Cannot read properties of null (reading 'key') ❯ test/sdk.test.ts:536:32
test/sdk.test.ts > smoke test with live api > should rename a file with fileKey: packages/uploadthing/test/sdk.test.ts#L561
TypeError: Cannot read properties of null (reading 'key') ❯ test/sdk.test.ts:561:36
test/sdk.test.ts > smoke test with live api > should rename a file with customId: packages/uploadthing/test/sdk.test.ts#L605
TypeError: Cannot read properties of null (reading 'key') ❯ test/sdk.test.ts:605:32

Artifacts

Produced during runtime
Name Size
bundle-current-pr
45.5 KB
bundle-main
45.5 KB