Skip to content

chore: bump up all non-major dependencies #24023

chore: bump up all non-major dependencies

chore: bump up all non-major dependencies #24023

Triggered via pull request February 5, 2025 06:45
Status Failure
Total duration 9m 15s
Artifacts 3

build-test.yml

on: pull_request
Optimize CI
6s
Optimize CI
Matrix: build-native
Build Server native
50s
Build Server native
Build @affine/electron renderer
2m 25s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
3s
test-build-mobile-app / output-env
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Lint
5m 58s
Lint
Check yarn binary
6s
Check yarn binary
Run native tests
32s
Run native tests
Matrix: Unit Test
Matrix: Server Copilot E2E Test
Matrix: server-e2e-test
Server Test
0s
Server Test
Server Copilot Api Test
0s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
2m 26s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 15s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
4m 8s
test-build-mobile-app / android
test-build-mobile-app  /  ios
3m 0s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

28 errors, 14 warnings, and 20 notices
Run native tests
Process completed with exit code 101.
Build AFFiNE native (x86_64-unknown-linux-gnu)
Process completed with exit code 1.
Build Server native
Process completed with exit code 1.
Build AFFiNE native (aarch64-apple-darwin)
Process completed with exit code 1.
Build AFFiNE native (x86_64-apple-darwin)
Process completed with exit code 1.
Build AFFiNE native (x86_64-pc-windows-msvc)
Process completed with exit code 1.
[Mobile Safari] › e2e/detail.spec.ts:33:1 › can show doc info: tests/affine-mobile/e2e/detail.spec.ts#L14
1) [Mobile Safari] › e2e/detail.spec.ts:33:1 › can show doc info ───────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('#app-tabs').getByRole('tab', { name: 'all' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('#app-tabs').getByRole('tab', { name: 'all' }) 12 | test.beforeEach(async ({ page }) => { 13 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' }); > 14 | await expect(docsTab).toBeVisible(); | ^ 15 | await docsTab.click(); 16 | await page.getByTestId('doc-card').first().click(); 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:14:25
selection/native.spec.ts:266:1 › cursor move to up and down with children block: blocksuite/tests-legacy/selection/native.spec.ts#L295
1) selection/native.spec.ts:266:1 › cursor move to up and down with children block ─────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 12 Received: -1 293 | const textTwo = await getInlineSelectionText(page); 294 | expect(textTwo).toBe('arrow down test 1'); > 295 | expect(indexTwo).toBeGreaterThanOrEqual(12); | ^ 296 | expect(indexTwo).toBeLessThanOrEqual(17); 297 | await page.keyboard.press('ArrowDown'); 298 | const textThree = await getInlineSelectionText(page); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/selection/native.spec.ts:295:20
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size: blocksuite/tests-legacy/utils/asserts.ts#L778
1) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ─────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 92 Received: 132 Expected precision: 0 Expected difference: < 0.5 Received difference: 40 at utils/asserts.ts:778 776 | expect(a.y).toBeCloseTo(b.y, 0); 777 | expect(a.w).toBeCloseTo(b.w, 0); > 778 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 779 | } 780 | 781 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:778:15) at assertNoteRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:771:3) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/note/resize.spec.ts:184:3
test-build-mobile-app / ios
Process completed with exit code 101.
[Mobile Safari] › e2e/home.spec.ts:10:1 › app tabs is visible: tests/affine-mobile/e2e/home.spec.ts#L12
1) [Mobile Safari] › e2e/home.spec.ts:10:1 › app tabs is visible ───────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('#app-tabs') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('#app-tabs') 10 | test('app tabs is visible', async ({ page }) => { 11 | const tabs = page.locator('#app-tabs'); > 12 | await expect(tabs).toBeVisible(); | ^ 13 | 14 | await expect(tabs.getByRole('tab', { name: 'home' })).toBeVisible(); 15 | await expect(tabs.getByRole('tab', { name: 'all' })).toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:12:22
attachment.spec.ts:343:1 › cancel file picker with input element resolves: blocksuite/tests-legacy/attachment.spec.ts#L363
1) attachment.spec.ts:343:1 › cancel file picker with input element resolves ───────────────────── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 361 | await expect(slashMenu).toBeVisible(); 362 | > 363 | const fileChooser = page.waitForEvent('filechooser'); | ^ 364 | await pressEnter(page); 365 | const inputFile = page.locator("input[type='file']"); 366 | await expect(inputFile).toHaveCount(1); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:363:28
clipboard/list.spec.ts:215:1 › paste nested lists to a nested list: blocksuite/tests-legacy/utils/asserts.ts#L207
2) clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ──────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ "aaa", - "111", + "bbb111", "222", "111", - "222bbb", + "222", "ccc", ] at utils/asserts.ts:207 205 | }); 206 | }, currentEditorIndex); > 207 | expect(actualTexts).toEqual(texts); | ^ 208 | } 209 | 210 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:207:23) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:257:3
Lint: packages/frontend/core/src/components/page-list/list.tsx#L35
Type '[PrimitiveAtom<(ListProps<ListItem> & Partial<VirtualizedListProps<ListItem>>) | undefined> & WithInitialValue<...>, ListProps<...>][]' is not assignable to type 'Iterable<readonly [AnyWritableAtom, unknown]>'.
Lint: packages/frontend/core/src/components/page-list/virtualized-list.tsx#L75
Type '[PrimitiveAtom<(ListProps<ListItem> & Partial<VirtualizedListProps<ListItem>>) | undefined> & WithInitialValue<...>, VirtualizedListProps<...>][]' is not assignable to type 'Iterable<readonly [AnyWritableAtom, unknown]>'.
Lint
Process completed with exit code 2.
e2e/local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar: tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
1) e2e/local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ──────────── Test timeout of 50000ms exceeded.
e2e/local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar: tests/kit/src/utils/workspace.ts#L40
1) e2e/local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ──────────── Error: expect(locator).not.toBeAttached() Locator: getByTestId('create-workspace-create-button') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByTestId('create-workspace-create-button') 4 × locator resolved to <button data-size="default" data-mobile="false" data-loading="true" data-variant="primary" data-testid="create-workspace-create-button" class="button_button__ph3zqme confirm-modal_desktopStyles_action__1jr9bl15">…</button> - unexpected value "attached" at ../../kit/src/utils/workspace.ts:40 38 | await expect( 39 | page.getByTestId('create-workspace-create-button') > 40 | ).not.toBeAttached(); | ^ 41 | await waitForEditorLoad(page); 42 | 43 | await expect(page.getByTestId('workspace-name')).toHaveText(params.name); at createLocalWorkspace (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/workspace.ts:40:9) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:97:3
test-build-mobile-app / android
Process completed with exit code 1.
e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
1) e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel Test timeout of 50000ms exceeded.
e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel: tests/kit/src/utils/page-logic.ts#L62
1) e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel Error: keyboard.type: Test timeout of 50000ms exceeded. at ../../kit/src/utils/page-logic.ts:62 60 | 61 | export async function type(page: Page, content: string, delay = 50) { > 62 | await page.keyboard.type(content, { delay }); | ^ 63 | } 64 | 65 | export const createLinkedPage = async (page: Page, pageName?: string) => { at type (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:62:23) at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:24:11) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:268:22
e2e/blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
2) e2e/blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel Test timeout of 50000ms exceeded.
e2e/blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel: tests/kit/src/utils/page-logic.ts#L62
2) e2e/blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel Error: keyboard.type: Test timeout of 50000ms exceeded. at ../../kit/src/utils/page-logic.ts:62 60 | 61 | export async function type(page: Page, content: string, delay = 50) { > 62 | await page.keyboard.type(content, { delay }); | ^ 63 | } 64 | 65 | export const createLinkedPage = async (page: Page, pageName?: string) => { at type (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:62:23) at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:24:11) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:289:5
e2e/blocksuite/editor.spec.ts:36:1 › link page is useable: tests/affine-local/e2e/blocksuite/editor.spec.ts#L59
1) e2e/blocksuite/editor.spec.ts:36:1 › link page is useable ───────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-reference') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.affine-reference') 57 | await page.locator('icon-button:has-text("page1")').first().click(); 58 | const link = page.locator('.affine-reference'); > 59 | await expect(link).toBeVisible(); | ^ 60 | await page.click('.affine-reference'); 61 | await page.waitForTimeout(500); 62 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/editor.spec.ts:59:22
e2e/image-preview.spec.ts:35:1 › image go left and right: tests/affine-local/e2e/image-preview.spec.ts#L57
1) e2e/image-preview.spec.ts:35:1 › image go left and right ────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('doc-title .inline-editor').first() - locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 9 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable 55 | { 56 | const title = getBlockSuiteEditorTitle(page); > 57 | await title.click(); | ^ 58 | await page.keyboard.press('Enter'); 59 | await importImage(page, 'affine-preview.png'); 60 | } at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:57:17
e2e/links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L316
2) e2e/links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-embed-linked-doc-block') - locator resolved to <affine-embed-linked-doc-block contenteditable="false" data-block-id="KgrZ1YHhtS" data-drop-target-for-element="true">…</affine-embed-linked-doc-block> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 9 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms 314 | 315 | await expect(cardLink).toBeVisible(); > 316 | await cardLink.click(); | ^ 317 | 318 | // refocus 319 | await cardLink.click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:316:18
e2e/links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless: tests/affine-local/e2e/links.spec.ts#L610
3) e2e/links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByLabel('Switch view') 608 | .waitFor({ state: 'visible' }); 609 | await page.mouse.click(x - 50, y - 50); > 610 | await page.getByLabel('Switch view').click(); | ^ 611 | await page.getByTestId('link-to-embed').click(); 612 | 613 | const viewport = await page at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:610:40
3, 2, 1 Launch
Process completed with exit code 1.
Slow Test: tests/affine-mobile/[Mobile Chrome] › e2e/explorer-tag.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › e2e/explorer-tag.spec.ts took 44.0s
Slow Test: tests/affine-mobile/[Mobile Safari] › e2e/settings.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › e2e/settings.spec.ts took 55.3s
Slow Test: tests/affine-mobile/[Mobile Safari] › e2e/home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › e2e/home.spec.ts took 45.5s
Slow Test: tests/affine-mobile/[Mobile Safari] › e2e/back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › e2e/back-button-visibility.spec.ts took 46.9s
Slow Test: tests/affine-mobile/[Mobile Chrome] › e2e/detail.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › e2e/detail.spec.ts took 45.2s
Slow Test: tests/affine-mobile/[Mobile Chrome] › e2e/explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › e2e/explorer-favorite.spec.ts took 42.4s
test-build-mobile-app / ios
swiftformat 0.55.4 is already installed and up-to-date. To reinstall 0.55.4, run: brew reinstall swiftformat
Slow Test: tests/affine-mobile/[Mobile Safari] › e2e/explorer-folder.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › e2e/explorer-folder.spec.ts took 49.7s
Slow Test: tests/affine-local/e2e/drag-page.spec.ts#L1
tests/affine-local/e2e/drag-page.spec.ts took 41.2s
Slow Test: tests/affine-local/e2e/duplicate-page.spec.ts#L1
tests/affine-local/e2e/duplicate-page.spec.ts took 41.1s
Analyze (javascript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
Analyze (javascript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
Analyze (typescript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
Analyze (typescript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
🎭 Playwright Run Summary
7 passed (1.2m)
🎭 Playwright Run Summary
2 skipped 95 passed (1.5m)
🎭 Playwright Run Summary
7 passed (1.4m)
🎭 Playwright Run Summary
4 skipped 93 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › e2e/detail.spec.ts:33:1 › can show doc info ────────────────────────────────── 7 passed (2.0m)
🎭 Playwright Run Summary
96 passed (1.5m)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:266:1 › cursor move to up and down with children block ──────────────── 3 skipped 92 passed (1.4m)
🎭 Playwright Run Summary
1 skipped 96 passed (1.6m)
🎭 Playwright Run Summary
1 flaky edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ──────────────── 12 skipped 84 passed (2.1m)
🎭 Playwright Run Summary
4 skipped 93 passed (2.2m)
🎭 Playwright Run Summary
6 skipped 91 passed (2.2m)
🎭 Playwright Run Summary
7 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › e2e/home.spec.ts:10:1 › app tabs is visible ────────────────────────────────── 6 passed (1.8m)
🎭 Playwright Run Summary
2 flaky attachment.spec.ts:343:1 › cancel file picker with input element resolves ────────────────────── clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ───────────────────────────── 2 skipped 93 passed (1.4m)
🎭 Playwright Run Summary
1 skipped 96 passed (2.7m)
🎭 Playwright Run Summary
1 flaky e2e/local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ───────────── 3 skipped 44 passed (4.5m)
🎭 Playwright Run Summary
1 skipped 47 passed (4.3m)
🎭 Playwright Run Summary
2 flaky e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel e2e/blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel 46 passed (5.1m)
🎭 Playwright Run Summary
1 flaky e2e/blocksuite/editor.spec.ts:36:1 › link page is useable ────────────────────────────────────── 1 skipped 47 passed (4.7m)
🎭 Playwright Run Summary
3 flaky e2e/image-preview.spec.ts:35:1 › image go left and right ─────────────────────────────────────── e2e/links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode e2e/links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless 45 passed (4.9m)

Artifacts

Produced during runtime
Name Size
android
61.3 MB
ios
61.3 MB
web
62.8 MB