Skip to content

New Chat UI and Revision system #42

New Chat UI and Revision system

New Chat UI and Revision system #42

Triggered via pull request July 18, 2024 16:27
@codewithcheesecodewithcheese
synchronize #17
chat-ui
Status Failure
Total duration 44s
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:231: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:231: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:231: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:231: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:231: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:231: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:231: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:231: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:231: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:231:25 ❯ test/chat-service/chat-service.test.ts:36:19
Tests (20, ubuntu-latest)
The following actions uses Node.js version which is deprecated 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/