Enable manually editing search context #22868
ci.yml
on: pull_request
fast_tests_matrix_prep
0s
slow_tests_matrix_prep
1s
build
2m 9s
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Annotations
28 errors, 12 warnings, and 5 notices
test-unit (ubuntu, 20)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
test-unit (ubuntu, 20)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled:
lib/shared/src/models/sync.test.ts#L516
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/models/sync.test.ts:516:90
|
webviews/chat/Transcript.test.tsx > Transcript > does not clobber user input into followup while isPendingPriorResponse when it completes:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'qux' // Object.is equality
- Expected
+ Received
- qux
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:256:9
|
webviews/chat/Transcript.test.tsx > Transcript > focus:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'xyz' // Object.is equality
- Expected
+ Received
- xyz
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:298:9
|
test-unit (ubuntu, 20)
Process completed with exit code 1.
|
uninstall.test.ts:7:5 › uninstall extension:
vscode/test/e2e/uninstall.test.ts#L1
1) uninstall.test.ts:7:5 › uninstall extension ───────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
test-unit (ubuntu, 18)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
test-unit (ubuntu, 18)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled:
lib/shared/src/models/sync.test.ts#L516
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/models/sync.test.ts:516:90
|
webviews/chat/Transcript.test.tsx > Transcript > does not clobber user input into followup while isPendingPriorResponse when it completes:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'qux' // Object.is equality
- Expected
+ Received
- qux
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:256:9
|
webviews/chat/Transcript.test.tsx > Transcript > focus:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'xyz' // Object.is equality
- Expected
+ Received
- xyz
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:298:9
|
test-unit (ubuntu, 18)
Process completed with exit code 1.
|
test-e2e (ubuntu, 1/5)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat:
vscode/test/e2e/chat-atFile.test.ts#L369
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- Expected - 1
+ Received + 0
Array [
"buzz.ts",
"buzz.ts:2-5",
- "buzz.ts:7-10",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
367 | await selectLineRangeInEditorTab(page, 7, 10)
368 | await executeCommandInPalette(page, 'Cody: Add Selection to Cody Chat')
> 369 | await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5', 'buzz.ts:7-10'])
| ^
370 | })
371 |
at /home/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:369:52
|
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat:
vscode/test/e2e/chat-atFile.test.ts#L369
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- Expected - 1
+ Received + 0
Array [
"buzz.ts",
"buzz.ts:2-5",
- "buzz.ts:7-10",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
367 | await selectLineRangeInEditorTab(page, 7, 10)
368 | await executeCommandInPalette(page, 'Cody: Add Selection to Cody Chat')
> 369 | await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5', 'buzz.ts:7-10'])
| ^
370 | })
371 |
at /home/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:369:52
|
test-e2e (ubuntu, 1/5)
Process completed with exit code 1.
|
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection:
vscode/test/e2e/chat-keyboard-shortcuts.test.ts#L47
1) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
Expected pattern: /^buzz.ts:2-4$/
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
45 | await selectLineRangeInEditorTab(page, 2, 4)
46 | await page.keyboard.press('Alt+l')
> 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(/^buzz.ts:2-4$/)
| ^
48 |
49 | // Re-opening chat does not add duplicate selection
50 | await openFileInEditorTab(page, 'buzz.ts')
at /home/runner/work/cody/cody/vscode/test/e2e/chat-keyboard-shortcuts.test.ts:47:52
|
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection:
vscode/test/e2e/chat-keyboard-shortcuts.test.ts#L47
1) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
Expected pattern: /^buzz.ts:2-4$/
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
45 | await selectLineRangeInEditorTab(page, 2, 4)
46 | await page.keyboard.press('Alt+l')
> 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(/^buzz.ts:2-4$/)
| ^
48 |
49 | // Re-opening chat does not add duplicate selection
50 | await openFileInEditorTab(page, 'buzz.ts')
at /home/runner/work/cody/cody/vscode/test/e2e/chat-keyboard-shortcuts.test.ts:47:52
|
test-e2e (ubuntu, 2/5)
Process completed with exit code 1.
|
command-core.test.ts:106:3 › Explain Command from Prompts Tab:
vscode/test/e2e/command-core.test.ts#L1
1) command-core.test.ts:106:3 › Explain Command from Prompts Tab ─────────────────────────────────
Test timeout of 30000ms exceeded.
|
command-core.test.ts:106:3 › Explain Command from Prompts Tab:
vscode/test/e2e/command-core.test.ts#L127
1) command-core.test.ts:106:3 › Explain Command from Prompts Tab ─────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('option', { name: 'Explain Code' })
125 | const sidebarTab = sidebarChat.getByTestId('tab-prompts')
126 | await sidebarTab.click()
> 127 | await sidebarChat.getByRole('option', { name: 'Explain Code' }).click()
| ^
128 |
129 | // Click on a command from the sidebar should not start a new Editor window when sidebar is empty.
130 | await expect(sidebarChat.getByText('hello from the assistant')).toBeVisible()
at /home/runner/work/cody/cody/vscode/test/e2e/command-core.test.ts:127:69
|
test-unit (windows, 20)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
src/models/sync.test.ts > syncModels > sets DeepCody as default chat model when feature flag is enabled:
lib/shared/src/models/sync.test.ts#L516
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/models/sync.test.ts:516:90
|
webviews/chat/Transcript.test.tsx > Transcript > does not clobber user input into followup while isPendingPriorResponse when it completes:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'qux' // Object.is equality
- Expected
+ Received
- qux
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:256:9
|
webviews/chat/Transcript.test.tsx > Transcript > focus:
vscode/webviews/chat/Transcript.test.tsx#L334
AssertionError: expected '' to be 'xyz' // Object.is equality
- Expected
+ Received
- xyz
❯ expectCells webviews/chat/Transcript.test.tsx:334:54
❯ webviews/chat/Transcript.test.tsx:298:9
|
test-unit (windows, 20)
Process completed with exit code 1.
|
test-unit (windows, 20)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
test-unit (ubuntu, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 15.1s
|
test-unit (ubuntu, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 39.7s
|
Slow Test:
vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 35.5s
|
Slow Test:
vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 18.2s
|
Slow Test:
vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 18.1s
|
Slow Test:
vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 48.0s
|
Slow Test:
vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 23.8s
|
Slow Test:
vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 57.0s
|
Slow Test:
vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 31.5s
|
test-unit (windows, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
1 flaky
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
2 skipped
3 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
10 passed (1.9m)
|
🎭 Playwright Run Summary
1 failed
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ─────────────────────────────────────────
9 passed (2.3m)
|
🎭 Playwright Run Summary
1 failed
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ──────────────────────────
9 passed (2.2m)
|
🎭 Playwright Run Summary
1 flaky
command-core.test.ts:106:3 › Explain Command from Prompts Tab ──────────────────────────────────
9 passed (2.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-recordings ubuntu
|
1.55 MB |
|