Skip to content

feat: expand analytics support in README and code for Cloudflare AI G… #309

feat: expand analytics support in README and code for Cloudflare AI G…

feat: expand analytics support in README and code for Cloudflare AI G… #309

Triggered via pull request August 23, 2024 10:32
Status Failure
Total duration 18s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/database.test.ts:8:18 at /home/runner/work/rag-chat/rag-chat/src/database.test.ts:7:1
error: expect(received).toBe(expected): src/models.test.ts#L62
Expected: "https://gateway.ai.cloudflare.com/v1/mock-account-id/mock-gateway-name" Received: "https://gateway.ai.cloudflare.com/v1/mock-account-id/mock-gateway-name/openai" at /home/runner/work/rag-chat/rag-chat/src/models.test.ts:62:41
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:41:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:39:1
error: [Upstash Redis] The 'url' property is missing or undefined in your Redis config.: node_modules/@upstash/redis/nodejs.mjs#L1
at new o (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/redis/nodejs.mjs:1:227) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:97:17 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:95:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:164:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:162:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:213:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:211:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:261:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:259:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:316:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:314:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:358:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:356:1
error: UPSTASH_VECTOR_REST_TOKEN is missing!: node_modules/@upstash/vector/dist/nodejs.mjs#L1
at new i (/home/runner/work/rag-chat/rag-chat/node_modules/@upstash/vector/dist/nodejs.mjs:1:348) at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:404:18 at /home/runner/work/rag-chat/rag-chat/src/rag-chat.test.ts:402:1
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/