Skip to content

fix(release): Update backport action to override team_reviews (#6136) #23463

fix(release): Update backport action to override team_reviews (#6136)

fix(release): Update backport action to override team_reviews (#6136) #23463

Triggered via push November 15, 2024 23:51
Status Failure
Total duration 20m 23s
Artifacts 1

ci.yml

on: push
fast_tests_matrix_prep
0s
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

30 errors, 19 warnings, and 3 notices
test-unit (macos, 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 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)
Process completed with exit code 1.
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
src/enterprise-s2.test.ts: agent/src/TestClient.ts#L105
Error: Command failed: pnpm run build:for-tests ❯ buildAgentBinary src/TestClient.ts:105:5 ❯ Function.create src/TestClient.ts:138:9 ❯ src/enterprise-s2.test.ts:16:43 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, null, null ], pid: 1208, stdout: null, stderr: null }
src/cli/command-chat.test.ts: agent/src/TestClient.ts#L105
Error: Command failed: pnpm run build:for-tests ❯ Module.buildAgentBinary src/TestClient.ts:105:5 ❯ src/cli/command-chat.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, null, null ], pid: 5240, stdout: null, stderr: null }
src/cli/command-chat.test.ts: agent/src/cli/command-chat.test.ts#L95
TypeError: Cannot read properties of undefined (reading 'stop') ❯ src/cli/command-chat.test.ts:95:21
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-e2e (macos)
Worker teardown timeout of 30000ms exceeded. Failed worker ran 9 tests: test/e2e/chat-context.test.ts:11:5 › chat followup context test/e2e/chat-history.test.ts:18:3 › restore chat from sidebar history view test/e2e/chat-input.test.ts:26:3 › chat input focus test/e2e/chat-input.test.ts:97:69 › chat toolbar and row UI test/e2e/chat-input.test.ts:194:3 › chat model selector test/e2e/chat-input.test.ts:246:3 › editing follow-up messages in chat view test/e2e/chat-keyboard-shortcuts.test.ts:14:5 › chat keyboard shortcuts for sidebar chat test/e2e/chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection test/e2e/chat-messages.test.ts:17:5 › chat assistant response code buttons
test-e2e (macos)
Worker teardown timeout of 30000ms exceeded. Failed worker ran 1 test: test/e2e/chat-messages.test.ts:17:5 › chat assistant response code buttons
chat-messages.test.ts:17:5 › chat assistant response code buttons: vscode/test/e2e/chat-messages.test.ts#L1
1) chat-messages.test.ts:17:5 › chat assistant response code buttons ───────────────────────────── Tearing down "app" exceeded the test timeout of 30000ms.
chat-messages.test.ts:17:5 › chat assistant response code buttons: vscode/test/e2e/chat-messages.test.ts#L1
1) chat-messages.test.ts:17:5 › chat assistant response code buttons ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Tearing down "app" exceeded the test timeout of 30000ms.
initial-context.test.ts:38:18 › initial context - file: vscode/test/e2e/initial-context.test.ts#L47
2) initial-context.test.ts:38:18 › initial context - file ──────────────────────────────────────── 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 - 4 + Received + 1 - Array [ - "main.c", - "host.example/user/myrepo", - ] + Array [] 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 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements 45 | const [, lastChatInput] = await createEmptyChatPanel(page) 46 | > 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(['main.c', 'host.example/user/myrepo']) | ^ 48 | 49 | await selectLineRangeInEditorTab(page, 2, 4) 50 | await expect(chatInputMentions(lastChatInput)).toHaveText([ at /Users/runner/work/cody/cody/vscode/test/e2e/initial-context.test.ts:47:52
initial-context.test.ts:38:18 › initial context - file: vscode/test/e2e/initial-context.test.ts#L47
2) initial-context.test.ts:38:18 › initial context - file ──────────────────────────────────────── 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 - 4 + Received + 1 - Array [ - "main.c", - "host.example/user/myrepo", - ] + Array [] 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 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements 45 | const [, lastChatInput] = await createEmptyChatPanel(page) 46 | > 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(['main.c', 'host.example/user/myrepo']) | ^ 48 | 49 | await selectLineRangeInEditorTab(page, 2, 4) 50 | await expect(chatInputMentions(lastChatInput)).toHaveText([ at /Users/runner/work/cody/cody/vscode/test/e2e/initial-context.test.ts:47:52
chat-context.test.ts:11:5 › chat followup context: vscode/test/e2e/chat-context.test.ts#L1
3) chat-context.test.ts:11:5 › chat followup context ───────────────────────────────────────────── Test timeout of 30000ms exceeded.
chat-context.test.ts:11:5 › chat followup context: vscode/test/e2e/chat-context.test.ts#L17
3) chat-context.test.ts:11:5 › chat followup context ───────────────────────────────────────────── Error: locator.fill: Target page, context or browser has been closed Call log: - waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last() 15 | const [chatFrame, chatInput] = await createEmptyChatPanel(page) 16 | > 17 | await chatInput.fill('@Main.java') | ^ 18 | await selectMentionMenuItem(chatFrame, 'Main.java') 19 | await chatInput.press('Enter') 20 | at /Users/runner/work/cody/cody/vscode/test/e2e/chat-context.test.ts:17:21
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode/test/e2e/command-edit.test.ts#L124
4) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Error: expect(locator).toBeVisible() Locator: getByText('Nearest Code Block') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Nearest Code Block') 122 | // Check the correct range item is auto-selected 123 | const rangeItem = page.getByText('Nearest Code Block') > 124 | expect(rangeItem).toBeVisible() | ^ 125 | 126 | // Open the range input and check it has the correct item selected 127 | await rangeItem.click() at /Users/runner/work/cody/cody/vscode/test/e2e/command-edit.test.ts:124:23
initial-context.test.ts:28:18 › initial context - enterprise repo: vscode/test/e2e/initial-context.test.ts#L35
5) initial-context.test.ts:28:18 › initial context - enterprise repo ───────────────────────────── 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 - 3 + Received + 1 - Array [ - "host.example/user/myrepo", - ] + Array [] 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 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements - locator resolved to 0 elements 33 | 34 | // The current repository should be initially present in the chat input. > 35 | await expect(chatInputMentions(lastChatInput)).toHaveText(['host.example/user/myrepo']) | ^ 36 | }) 37 | 38 | testWithGitRemote('initial context - file', async ({ page, sidebar, server }) => { at /Users/runner/work/cody/cody/vscode/test/e2e/initial-context.test.ts:35:52
uninstall.test.ts:7:5 › uninstall extension: vscode/test/e2e/common.ts#L54
1) uninstall.test.ts:7:5 › uninstall extension ─────────────────────────────────────────────────── TimeoutError: page.click: Timeout 30000ms exceeded. Call log: - waiting for locator('[aria-label="Cody"]') at common.ts:54 52 | // In case the cody sidebar isn't focused, select it. 53 | while (!(await isSidebarVisible(page))) { > 54 | await page.click('[aria-label="Cody"]') | ^ 55 | } 56 | } 57 | at focusSidebar (/home/runner/work/cody/cody/vscode/test/e2e/common.ts:54:20) at signin (/home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:65:5) at /home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:50:5
test-e2e (windows)
The job running on runner GitHub Actions 18 has exceeded the maximum execution time of 20 minutes.
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L124
1) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Error: expect(locator).toBeVisible() Locator: getByText('Nearest Code Block') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Nearest Code Block') 122 | // Check the correct range item is auto-selected 123 | const rangeItem = page.getByText('Nearest Code Block') > 124 | expect(rangeItem).toBeVisible() | ^ 125 | 126 | // Open the range input and check it has the correct item selected 127 | await rangeItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:124:23
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L124
1) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByText('Nearest Code Block') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Nearest Code Block') 122 | // Check the correct range item is auto-selected 123 | const rangeItem = page.getByText('Nearest Code Block') > 124 | expect(rangeItem).toBeVisible() | ^ 125 | 126 | // Open the range input and check it has the correct item selected 127 | await rangeItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:124:23
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L124
1) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByText('Nearest Code Block') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Nearest Code Block') 122 | // Check the correct range item is auto-selected 123 | const rangeItem = page.getByText('Nearest Code Block') > 124 | expect(rangeItem).toBeVisible() | ^ 125 | 126 | // Open the range input and check it has the correct item selected 127 | await rangeItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:124:23
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L129
1) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByLabel('check file-code Nearest Code Block') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('check file-code Nearest Code Block') 127 | await rangeItem.click() 128 | const selectedRangeItem = page.getByLabel('check file-code Nearest Code Block') > 129 | expect(selectedRangeItem).toBeVisible() | ^ 130 | 131 | // Open the symbols input and check it has the correct item selected 132 | const symbolitem = page.getByText('Select a Symbol...') at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:129:31
command-edit.test.ts:106:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L124
1) command-edit.test.ts:106:1 › edit (fixup) input - range selection ───────────────────────────── Retry #4 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByText('Nearest Code Block') resolved to 2 elements: 1) <span class="monaco-highlighted-label">…</span> aka getByLabel('$(file-code) Nearest Code').getByText('Nearest Code Block') 2) <span class="monaco-highlighted-label">…</span> aka getByLabel('check file-code Nearest Code').locator('a').filter({ hasText: 'Nearest Code Block' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Nearest Code Block') 122 | // Check the correct range item is auto-selected 123 | const rangeItem = page.getByText('Nearest Code Block') > 124 | expect(rangeItem).toBeVisible() | ^ 125 | 126 | // Open the range input and check it has the correct item selected 127 | await rangeItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:124:23
command-core.test.ts:64:3 › Document Command (Edit): vscode\test\e2e\helpers.ts#L381
2) command-core.test.ts:64:3 › Document Command (Edit) ─────────────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vscelPquhn after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vscelPquhn\Crashpad\reports\19bb41a3-a045-4a21-8381-e37826ca821f.dmp' at helpers.ts:381 379 | } catch (error) { 380 | if (attempts === 1) { > 381 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 382 | } 383 | 384 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:381:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:262:13)
command-edit.test.ts:144:1 › edit (fixup) input - model selection: vscode\test\e2e\command-edit.test.ts#L160
3) command-edit.test.ts:144:1 › edit (fixup) input - model selection ───────────────────────────── Error: expect(locator).toBeVisible() Locator: getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" 158 | const modelItem = page.getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') 159 | await nap() > 160 | expect(modelItem).toBeVisible() | ^ 161 | 162 | // Open the model input and check it has the correct item selected 163 | await modelItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:160:23
command-edit.test.ts:144:1 › edit (fixup) input - model selection: vscode\test\e2e\command-edit.test.ts#L160
3) command-edit.test.ts:144:1 › edit (fixup) input - model selection ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" - locator resolved to <a class="label-name">…</a> - unexpected value "hidden" 158 | const modelItem = page.getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a') 159 | await nap() > 160 | expect(modelItem).toBeVisible() | ^ 161 | 162 | // Open the model input and check it has the correct item selected 163 | await modelItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:160:23
test-e2e (windows)
The operation was canceled.
test-unit (macos, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
test-unit (ubuntu, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
test-unit (ubuntu, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
test-unit (windows, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.2m
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.0m
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 48.8s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 35.2s
Slow Test: vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 28.9s
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.3m
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.2m
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 59.1s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 52.7s
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 45.1s
Slow Test: vscode\chat-atFile.test.ts#L1
vscode\chat-atFile.test.ts took 1.4m
Slow Test: vscode\command-custom.test.ts#L1
vscode\command-custom.test.ts took 1.3m
Slow Test: vscode\chat-input.test.ts#L1
vscode\chat-input.test.ts took 1.0m
Slow Test: vscode\initial-context.test.ts#L1
vscode\initial-context.test.ts took 59.2s
Slow Test: vscode\code-actions.test.ts#L1
vscode\code-actions.test.ts took 39.7s
🎭 Playwright Run Summary
2 failed chat-messages.test.ts:17:5 › chat assistant response code buttons ────────────────────────────── initial-context.test.ts:38:18 › initial context - file ───────────────────────────────────────── 3 flaky chat-context.test.ts:11:5 › chat followup context ────────────────────────────────────────────── command-edit.test.ts:106:1 › edit (fixup) input - range selection ────────────────────────────── initial-context.test.ts:28:18 › initial context - enterprise repo ────────────────────────────── 3 skipped 39 passed (12.8m)
🎭 Playwright Run Summary
1 flaky uninstall.test.ts:7:5 › uninstall extension ──────────────────────────────────────────────────── 3 skipped 43 passed (11.9m)
🎭 Playwright Run Summary
1 failed command-edit.test.ts:106:1 › edit (fixup) input - range selection ────────────────────────────── 1 interrupted uninstall.test.ts:7:5 › uninstall extension ──────────────────────────────────────────────────── 2 flaky command-core.test.ts:64:3 › Document Command (Edit) ──────────────────────────────────────────── command-edit.test.ts:144:1 › edit (fixup) input - model selection ────────────────────────────── 3 skipped 40 passed (13.9m)

Artifacts

Produced during runtime
Name Size
playwright-recordings macos
2.07 MB