Skip to content

feature: add api key params and expiration #216

feature: add api key params and expiration

feature: add api key params and expiration #216

Triggered via pull request November 14, 2024 02:48
Status Failure
Total duration 1m 3s
Artifacts

ts-sdk-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Unhandled error: clients/ts-sdk/src/fetch-client.ts#L177
Error: HTTP error! status: {"message":"Path deserialize error: UUID parsing failed: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `t` at 1"} ❯ TrieveFetchClient.fetch src/fetch-client.ts:177:13 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/functions/user/user.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "create an expired api key and verify it does not work". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/functions/user/user.test.ts > User Tests > create an expired api key and verify it does not work: clients/ts-sdk/src/functions/user/user.test.ts#L74
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/functions/user/user.test.ts:74:27
src/functions/user/user.test.ts > User Tests > create an expired api key and verify it does not work: clients/ts-sdk/src/functions/user/user.test.ts#L74
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/functions/user/user.test.ts:74:27
src/functions/user/user.test.ts > User Tests > create an expired api key and verify it does not work: clients/ts-sdk/src/functions/user/user.test.ts#L74
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/functions/user/user.test.ts:74:27
src/functions/user/user.test.ts > User Tests > create an expired api key and verify it does not work: clients/ts-sdk/src/functions/user/user.test.ts#L74
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/functions/user/user.test.ts:74:27
src/functions/user/user.test.ts > User Tests > create an api key with a filter for test and verify it excludes chunks without the tag: clients/ts-sdk/src/fetch-client.ts#L168
TypeError: fetch failed ❯ TrieveFetchClient.fetch src/fetch-client.ts:168:22 ❯ src/functions/user/user.test.ts:103:26 Caused by: Caused by: Error: connect ECONNREFUSED 127.0.0.1:8090 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8090 }
src/functions/user/user.test.ts > User Tests > create an api key with a filter for test and verify it excludes chunks without the tag: clients/ts-sdk/src/fetch-client.ts#L168
TypeError: fetch failed ❯ TrieveFetchClient.fetch src/fetch-client.ts:168:22 ❯ src/functions/user/user.test.ts:103:26 Caused by: Error: connect ECONNREFUSED 127.0.0.1:8090 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8090 }
src/functions/user/user.test.ts > User Tests > create an api key with a filter for test and verify it excludes chunks without the tag: clients/ts-sdk/src/fetch-client.ts#L168
TypeError: fetch failed ❯ TrieveFetchClient.fetch src/fetch-client.ts:168:22 ❯ src/functions/user/user.test.ts:103:26 Caused by: Error: connect ECONNREFUSED 127.0.0.1:8090 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8090 }
src/functions/user/user.test.ts > User Tests > create an api key with a filter for test and verify it excludes chunks without the tag: clients/ts-sdk/src/fetch-client.ts#L168
TypeError: fetch failed ❯ TrieveFetchClient.fetch src/fetch-client.ts:168:22 ❯ src/functions/user/user.test.ts:103:26 Caused by: Error: connect ECONNREFUSED 127.0.0.1:8090 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8090 }
tests
Process completed with exit code 1.