Skip to content

refactor(Deep Cody): Agentic Context Settings into UI Component #25014

refactor(Deep Cody): Agentic Context Settings into UI Component

refactor(Deep Cody): Agentic Context Settings into UI Component #25014

Triggered via pull request January 3, 2025 20:57
Status Failure
Total duration 8m 5s
Artifacts

ci.yml

on: pull_request
fast_tests_matrix_prep
fast_tests_matrix_prep
slow_tests_matrix_prep
0s
slow_tests_matrix_prep
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 28 warnings, and 5 notices
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled: lib/shared/src/models/sync.test.ts#L518
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/models/sync.test.ts:518:84
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves additional context when response contains tool tags: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:164:24
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves removes current context if current context is not included in context_list: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:205:24
src/chat/chat-view/ChatController.test.ts > ChatController > send, followup, and edit: vscode/src/chat/chat-view/ChatController.test.ts#L134
AssertionError: expected { type: 'transcript', …(3) } to strictly equal { type: 'transcript', …(3) } - Expected + Received Object { "chatID": "Thu, 01 Jan 1970 00:02:03 GMT", "isMessageInProgress": true, "messages": Array [ Object { + "agent": undefined, "contextFiles": undefined, "editorState": null, "error": undefined, "intent": "chat", "manuallySelectedIntent": undefined, "model": undefined, "processes": undefined, "search": undefined, "speaker": "human", "text": "Test input", }, Object { + "agent": undefined, "contextFiles": undefined, "editorState": undefined, "error": undefined, "intent": undefined, "manuallySelectedIntent": undefined, "model": "my-model", "processes": undefined, "search": undefined, "speaker": "assistant", "text": undefined, }, ], "type": "transcript", } ❯ src/chat/chat-view/ChatController.test.ts:134:56
src/chat/chat-view/ChatController.test.ts > ChatController > send error: vscode/src/chat/chat-view/ChatController.test.ts#L383
AssertionError: expected "spy" to be called 1 times, but got 2 times ❯ src/chat/chat-view/ChatController.test.ts:383:37
test-unit (ubuntu, 20)
Process completed with exit code 1.
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled: lib/shared/src/models/sync.test.ts#L518
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/models/sync.test.ts:518:84
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves additional context when response contains tool tags: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:164:24
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves removes current context if current context is not included in context_list: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:205:24
src/chat/chat-view/ChatController.test.ts > ChatController > send, followup, and edit: vscode/src/chat/chat-view/ChatController.test.ts#L134
AssertionError: expected { type: 'transcript', …(3) } to strictly equal { type: 'transcript', …(3) } - Expected + Received Object { "chatID": "Thu, 01 Jan 1970 00:02:03 GMT", "isMessageInProgress": true, "messages": Array [ Object { + "agent": undefined, "contextFiles": undefined, "editorState": null, "error": undefined, "intent": "chat", "manuallySelectedIntent": undefined, "model": undefined, "processes": undefined, "search": undefined, "speaker": "human", "text": "Test input", }, Object { + "agent": undefined, "contextFiles": undefined, "editorState": undefined, "error": undefined, "intent": undefined, "manuallySelectedIntent": undefined, "model": "my-model", "processes": undefined, "search": undefined, "speaker": "assistant", "text": undefined, }, ], "type": "transcript", } ❯ src/chat/chat-view/ChatController.test.ts:134:56
src/chat/chat-view/ChatController.test.ts > ChatController > send error: vscode/src/chat/chat-view/ChatController.test.ts#L383
AssertionError: expected "spy" to be called 1 times, but got 2 times ❯ src/chat/chat-view/ChatController.test.ts:383:37
test-unit (ubuntu, 18)
Process completed with exit code 1.
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled: lib/shared/src/models/sync.test.ts#L518
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/models/sync.test.ts:518:84
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves additional context when response contains tool tags: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:164:24
src/chat/agentic/DeepCody.test.ts > DeepCody > retrieves removes current context if current context is not included in context_list: vscode/src/chat/chat-view/prompt.ts#L53
TypeError: chat.getLastHumanMessage is not a function ❯ src/chat/chat-view/prompt.ts:53:41 ❯ DeepCodyAgent.review src/chat/agentic/DeepCody.ts:203:28 ❯ DeepCodyAgent.reviewLoop src/chat/agentic/DeepCody.ts:172:32 ❯ DeepCodyAgent._getContext src/chat/agentic/DeepCody.ts:143:41 ❯ src/chat/agentic/DeepCody.test.ts:205:24
src/chat/chat-view/ChatController.test.ts > ChatController > send, followup, and edit: vscode/src/chat/chat-view/ChatController.test.ts#L134
AssertionError: expected { type: 'transcript', …(3) } to strictly equal { type: 'transcript', …(3) } - Expected + Received Object { "chatID": "Thu, 01 Jan 1970 00:02:03 GMT", "isMessageInProgress": true, "messages": Array [ Object { + "agent": undefined, "contextFiles": undefined, "editorState": null, "error": undefined, "intent": "chat", "manuallySelectedIntent": undefined, "model": undefined, "processes": undefined, "search": undefined, "speaker": "human", "text": "Test input", }, Object { + "agent": undefined, "contextFiles": undefined, "editorState": undefined, "error": undefined, "intent": undefined, "manuallySelectedIntent": undefined, "model": "my-model", "processes": undefined, "search": undefined, "speaker": "assistant", "text": undefined, }, ], "type": "transcript", } ❯ src/chat/chat-view/ChatController.test.ts:134:56
src/chat/chat-view/ChatController.test.ts > ChatController > send error: vscode/src/chat/chat-view/ChatController.test.ts#L383
AssertionError: expected "spy" to be called 1 times, but got 2 times ❯ src/chat/chat-view/ChatController.test.ts:383:37
test-unit (windows, 20)
Process completed with exit code 1.
slow_tests_matrix_prep
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fast_tests_matrix_prep
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-integration (ubuntu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-unit (ubuntu, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-unit (ubuntu, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-e2e (ubuntu, 4/5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 49.5s
Slow Test: vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 19.6s
test-e2e (ubuntu, 5/5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 53.8s
Slow Test: vscode/uninstall.test.ts#L1
vscode/uninstall.test.ts took 30.7s
Slow Test: vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 21.7s
test-e2e (ubuntu, 1/5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.4m
Slow Test: vscode/auth.test.ts#L1
vscode/auth.test.ts took 34.4s
Slow Test: vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 23.1s
test-e2e (ubuntu, 2/5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 59.3s
Slow Test: vscode/chat-keyboard-shortcuts.test.ts#L1
vscode/chat-keyboard-shortcuts.test.ts took 33.1s
Slow Test: vscode/chat-history.test.ts#L1
vscode/chat-history.test.ts took 23.7s
Slow Test: vscode/chat-messages.test.ts#L1
vscode/chat-messages.test.ts took 20.3s
Slow Test: vscode/chat-context.test.ts#L1
vscode/chat-context.test.ts took 15.4s
test-e2e (ubuntu, 3/5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.2m
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 45.9s
Slow Test: vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 35.7s
Slow Test: vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 35.5s
🎭 Playwright Run Summary
1 skipped 6 passed (1.7m)
🎭 Playwright Run Summary
2 skipped 8 passed (2.1m)
🎭 Playwright Run Summary
2 skipped 10 passed (2.4m)
🎭 Playwright Run Summary
10 passed (2.6m)
🎭 Playwright Run Summary
13 passed (3.5m)