Skip to content

New Chat UI and Revision system #47

New Chat UI and Revision system

New Chat UI and Revision system #47

Triggered via pull request July 30, 2024 10:42
@codewithcheesecodewithcheese
synchronize #17
chat-ui
Status Failure
Total duration 38s
Artifacts

ci.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test/chat-service/chat-service.test.ts > ChatService > should append input: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should handle errors correctly: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should abort ongoing requests when stop is called: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should handle editing of previous messages: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should reload the last assistant message: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should append attachments to the message: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should handle multiple attachments of different types in chat request: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should handle empty attachments gracefully in chat request: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should handle attachments with special characters in chat request: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
test/chat-service/chat-service.test.ts > ChatService > should preserve attachments when editing messages: node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js#L108
Svelte error: effect_orphan `$effect` can only be used inside an effect (e.g. during component initialisation) ❯ Module.effect_orphan node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/errors.js:108:17 ❯ validate_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:19:25 ❯ Module.user_effect node_modules/.pnpm/[email protected]/node_modules/svelte/src/internal/client/reactivity/effects.js:104:2 ❯ new ChatService src/lib/chat-service.svelte.ts:221:25 ❯ test/chat-service/chat-service.test.ts:36:19
Tests (20, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/