Skip to content

Prepare one box UI for Cody Web usage (#5552) #21266

Prepare one box UI for Cody Web usage (#5552)

Prepare one box UI for Cody Web usage (#5552) #21266

Triggered via push September 11, 2024 19:31
Status Failure
Total duration 13m 20s
Artifacts

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

13 errors, 19 warnings, and 3 notices
test-unit (macos, 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 (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/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
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
test-unit (ubuntu, 18)
Process completed with exit code 1.
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
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
command-custom.test.ts:45:3 › create a new user command via the custom commands menu: vscode/test/e2e/command-custom.test.ts#L85
1) command-custom.test.ts:45:3 › create a new user command via the custom commands menu ────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('New Custom Cody Command: Prompt') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('New Custom Cody Command: Prompt') 83 | // Enter prompt 84 | const promptInputTitle = page.getByText('New Custom Cody Command: Prompt') > 85 | await expect(promptInputTitle).toBeVisible() | ^ 86 | const promptInputBox = page.getByPlaceholder( 87 | 'e.g. Create five different test cases for the selected code' 88 | ) at /Users/runner/work/cody/cody/vscode/test/e2e/command-custom.test.ts:85:36
chat-input.test.ts:26:3 › chat input focus: vscode/test/e2e/chat-input.test.ts#L61
1) chat-input.test.ts:26:3 › chat input focus ──────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByLabel(/Commands \(/) resolved to 3 elements: 1) <a tabindex="0" role="button" aria-label="Cody Comm…></a> aka getByLabel('Cody: Chat actions').getByLabel('Cody Commands (Alt+C)') 2) <a tabindex="0" role="button" aria-label="Cody Comm…></a> aka getByLabel('Chat Section').getByLabel('Cody Commands (Alt+C)') 3) <a tabindex="0" role="button" aria-label="Cody Comm…></a> aka locator('[id="workbench\\.parts\\.editor"]').getByLabel('Cody Commands (Alt+C)') Call log: - waiting for getByLabel(/Commands \(/) 59 | 60 | // Submit a new chat question from the command menu. > 61 | await page.getByLabel(/Commands \(/).click() | ^ 62 | await page.waitForTimeout(100) 63 | 64 | // HACK: The 'delay' command is used to make sure the response is streamed 400ms after at /home/runner/work/cody/cody/vscode/test/e2e/chat-input.test.ts:61:42
chat-input.test.ts:94:69 › chat toolbar and row UI: vscode\test\e2e\helpers.ts#L332
1) chat-input.test.ts:94:69 › chat toolbar and row UI ──────────────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vscevSjicx after 5 attempts: Error: EPERM: operation not permitted, lstat '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vscevSjicx\User\globalStorage\sourcegraph.cody-ai\symf\symf-v0.0.16-x86_64-windows' at helpers.ts:332 330 | } catch (error) { 331 | if (attempts === 1) { > 332 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 333 | } 334 | 335 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:332:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:214:13)
command-commit.test.ts:24:3 › use terminal output as context: vscode\test\e2e\helpers.ts#L332
2) command-commit.test.ts:24:3 › use terminal output as context ────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsce83F5c0 after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsce83F5c0\logs\20240911T193925\window1\exthost\extensionTelemetry.log' at helpers.ts:332 330 | } catch (error) { 331 | if (attempts === 1) { > 332 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 333 | } 334 | 335 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:332:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:214:13)
test-unit (macos, 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/
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/
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/
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/
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.1m
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 38.3s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 33.2s
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 29.4s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 27.5s
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.1m
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 58.9s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 40.0s
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 33.9s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 33.9s
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.1m
Slow Test: vscode\initial-context.test.ts#L1
vscode\initial-context.test.ts took 46.4s
Slow Test: vscode\command-core.test.ts#L1
vscode\command-core.test.ts took 39.4s
Slow Test: vscode\command-edit.test.ts#L1
vscode\command-edit.test.ts took 39.1s
🎭 Playwright Run Summary
1 flaky command-custom.test.ts:45:3 › create a new user command via the custom commands menu ─────────── 3 skipped 41 passed (7.4m)
🎭 Playwright Run Summary
1 flaky chat-input.test.ts:26:3 › chat input focus ───────────────────────────────────────────────────── 3 skipped 41 passed (8.3m)
🎭 Playwright Run Summary
2 flaky chat-input.test.ts:94:69 › chat toolbar and row UI ───────────────────────────────────────────── command-commit.test.ts:24:3 › use terminal output as context ─────────────────────────────────── 3 skipped 40 passed (9.6m)