Skip to content

feature: pagefind in public page #393

feature: pagefind in public page

feature: pagefind in public page #393

Triggered via pull request December 20, 2024 22:02
Status Failure
Total duration 59s
Artifacts

ts-sdk-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build-test
dashboard#build: command (/home/runner/_work/trieve/trieve/frontends/dashboard) /tmp/yarn--1734732165470-0.6313691107435813/yarn run build exited (2)
build-test
Process completed with exit code 2.
Unhandled error: clients/ts-sdk/src/fetch-client.ts#L180
Error: HTTP error! status: {"message":"Not Found: Chunk with tracking_id not found in the specified dataset"} Payload undefined route: delete https://api.trieve.ai/api/chunk/tracking_id/1234 ❯ TrieveFetchClient.fetch src/fetch-client.ts:180:13 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/functions/organization/organization.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/message/message.test.ts > Message Tests > editMessage: clients/ts-sdk/src/fetch-client.ts#L180
Error: HTTP error! status: {"message":"This message does not exist for the authenticated user"} Payload {"message_sort_order":1,"new_message_content":"test2","topic_id":"f85984e1-7818-4971-b300-2f462fe1a5a2"} route: put https://api.trieve.ai/api/message ❯ TrieveFetchClient.fetch src/fetch-client.ts:180:13 ❯ TrieveSDK.editMessage src/functions/message/index.ts:156:10 ❯ src/functions/message/message.test.ts:21:18
src/functions/message/message.test.ts > Message Tests > editMessage: clients/ts-sdk/src/fetch-client.ts#L180
Error: HTTP error! status: {"message":"This message does not exist for the authenticated user"} Payload {"message_sort_order":1,"new_message_content":"test2","topic_id":"f85984e1-7818-4971-b300-2f462fe1a5a2"} route: put https://api.trieve.ai/api/message ❯ TrieveFetchClient.fetch src/fetch-client.ts:180:13 ❯ TrieveSDK.editMessage src/functions/message/index.ts:156:10 ❯ src/functions/message/message.test.ts:21:18
src/functions/message/message.test.ts > Message Tests > editMessage: clients/ts-sdk/src/fetch-client.ts#L180
Error: HTTP error! status: {"message":"This message does not exist for the authenticated user"} Payload {"message_sort_order":1,"new_message_content":"test2","topic_id":"f85984e1-7818-4971-b300-2f462fe1a5a2"} route: put https://api.trieve.ai/api/message ❯ TrieveFetchClient.fetch src/fetch-client.ts:180:13 ❯ TrieveSDK.editMessage src/functions/message/index.ts:156:10 ❯ src/functions/message/message.test.ts:21:18
src/functions/message/message.test.ts > Message Tests > editMessage: clients/ts-sdk/src/fetch-client.ts#L180
Error: HTTP error! status: {"message":"This message does not exist for the authenticated user"} Payload {"message_sort_order":1,"new_message_content":"test2","topic_id":"f85984e1-7818-4971-b300-2f462fe1a5a2"} route: put https://api.trieve.ai/api/message ❯ TrieveFetchClient.fetch src/fetch-client.ts:180:13 ❯ TrieveSDK.editMessage src/functions/message/index.ts:156:10 ❯ src/functions/message/message.test.ts:21:18
tests
Process completed with exit code 1.