Skip to content

fix storybook build (pnpm -C web dev) (#5667) #21729

fix storybook build (pnpm -C web dev) (#5667)

fix storybook build (pnpm -C web dev) (#5667) #21729

Triggered via push September 23, 2024 19:57
Status Failure
Total duration 16m 38s
Artifacts

ci.yml

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

Annotations

17 errors, 19 warnings, and 3 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/mentions/mentionMenu/useMentionMenuData.test.tsx > useMentionMenuData > initial context deduping > items does not duplicate items from initialContextItems: lib/prompt-editor/src/mentions/mentionMenu/useMentionMenuData.test.tsx#L72
AssertionError: expected { providers: [], …(2) } to deeply equal { providers: [ { …(4) } ], …(1) } - Expected + Received Object { + "error": undefined, "items": Array [ Object { "isTooLarge": undefined, "source": "initial", "type": "file", "uri": Object { "$mid": 1, "external": "file:///file1.ts", "path": "/file1.ts", - "scheme": "file", - }, - }, - Object { - "isTooLarge": undefined, - "source": "user", - "type": "file", - "uri": Object { - "$mid": 1, - "external": "file:///file2.ts", - "path": "/file2.ts", - "scheme": "file", - }, - }, - Object { - "isTooLarge": undefined, - "source": "user", - "type": "file", - "uri": Object { - "$mid": 1, - "external": "file:///file3.ts", - "path": "/file3.ts", "scheme": "file", }, }, ], - "providers": Array [ - Object { - "emptyLabel": "", - "id": "my-provider", - "queryLabel": "", - "title": "My Provider", - }, - ], + "providers": Array [], } ❯ src/mentions/mentionMenu/useMentionMenuData.test.tsx:72:36
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
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 (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 (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-commit.test.ts:24:3 › use terminal output as context: vscode\test\e2e\helpers.ts#L331
1) command-commit.test.ts:24:3 › use terminal output as context ────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceiL5b6V after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceiL5b6V\logs\20240923T200632\window1\exthost\extensionTelemetry.log' at helpers.ts:331 329 | } catch (error) { 330 | if (attempts === 1) { > 331 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 332 | } 333 | 334 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:331:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:212:13)
command-commit.test.ts:24:3 › use terminal output as context: vscode\test\e2e\helpers.ts#L331
1) command-commit.test.ts:24:3 › use terminal output as context ────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceEr9r85 after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceEr9r85\logs\20240923T200650\window1\exthost\extensionTelemetry.log' at helpers.ts:331 329 | } catch (error) { 330 | if (attempts === 1) { > 331 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 332 | } 333 | 334 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:331:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:212:13)
command-commit.test.ts:24:3 › use terminal output as context: vscode\test\e2e\helpers.ts#L331
1) command-commit.test.ts:24:3 › use terminal output as context ────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceKgkR6a after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceKgkR6a\logs\20240923T200708\window1\exthost\extensionTelemetry.log' at helpers.ts:331 329 | } catch (error) { 330 | if (attempts === 1) { > 331 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 332 | } 333 | 334 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:331:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:212:13)
command-custom.test.ts:283:17 › use terminal output as context: vscode\test\e2e\helpers.ts#L331
2) command-custom.test.ts:283:17 › use terminal output as context ──────────────────────────────── Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceKs5cop after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceKs5cop\logs\20240923T200916\window1\exthost\extensionTelemetry.log' at helpers.ts:331 329 | } catch (error) { 330 | if (attempts === 1) { > 331 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`) | ^ 332 | } 333 | 334 | await new Promise(resolve => setTimeout(resolve, 100)) at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:331:23) at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:212:13)
command-edit.test.ts:95:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L118
3) command-edit.test.ts:95:1 › edit (fixup) input - range selection ────────────────────────────── 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') 116 | await rangeItem.click() 117 | const selectedRangeItem = page.getByLabel('check file-code Nearest Code Block') > 118 | expect(selectedRangeItem).toBeVisible() | ^ 119 | 120 | // Open the symbols input and check it has the correct item selected 121 | const symbolitem = page.getByText('Select a Symbol...') at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:118:31
command-edit.test.ts:95:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L113
3) command-edit.test.ts:95:1 › edit (fixup) input - range selection ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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').locator('a') 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') 111 | // Check the correct range item is auto-selected 112 | const rangeItem = page.getByText('Nearest Code Block') > 113 | expect(rangeItem).toBeVisible() | ^ 114 | 115 | // Open the range input and check it has the correct item selected 116 | await rangeItem.click() at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:113:23
command-edit.test.ts:95:1 › edit (fixup) input - range selection: vscode\test\e2e\command-edit.test.ts#L128
3) command-edit.test.ts:95:1 › edit (fixup) input - range selection ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByPlaceholder(/^Enter edit instructions \(type @ to include code/) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByPlaceholder(/^Enter edit instructions \(type @ to include code/) - locator resolved to <input wrap="off" type="text" role="combobox" autocorre…/> - unexpected value "hidden" 126 | // Check that the range input updated correctly to reflect the selected symbol 127 | const inputBox = page.getByPlaceholder(/^Enter edit instructions \(type @ to include code/) > 128 | expect(inputBox).toBeVisible() | ^ 129 | const updatedRangeItem = page.getByLabel('$(symbol-method) fizzbuzz') 130 | expect(updatedRangeItem).toBeVisible() 131 | }) at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:128:22
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 (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 (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.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 50.6s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 42.2s
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 38.5s
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 58.6s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 52.6s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 42.0s
Slow Test: vscode\chat-atFile.test.ts#L1
vscode\chat-atFile.test.ts took 1.2m
Slow Test: vscode\chat-input.test.ts#L1
vscode\chat-input.test.ts took 53.4s
Slow Test: vscode\initial-context.test.ts#L1
vscode\initial-context.test.ts took 48.4s
Slow Test: vscode\command-core.test.ts#L1
vscode\command-core.test.ts took 42.1s
Slow Test: vscode\code-actions.test.ts#L1
vscode\code-actions.test.ts took 33.6s
🎭 Playwright Run Summary
3 skipped 42 passed (8.5m)
🎭 Playwright Run Summary
3 skipped 42 passed (10.1m)
🎭 Playwright Run Summary
3 flaky command-commit.test.ts:24:3 › use terminal output as context ─────────────────────────────────── command-custom.test.ts:283:17 › use terminal output as context ───────────────────────────────── command-edit.test.ts:95:1 › edit (fixup) input - range selection ─────────────────────────────── 3 skipped 39 passed (11.4m)