Skip to content

feat(server): doc level permission #23859

feat(server): doc level permission

feat(server): doc level permission #23859

Triggered via pull request January 26, 2025 15:30
Status Failure
Total duration 13m 47s
Artifacts 8

build-test.yml

on: pull_request
Optimize CI
6s
Optimize CI
Matrix: build-native
Build Server native
54s
Build Server native
Build @affine/electron renderer
2m 20s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
2s
test-build-mobile-app / output-env
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: Unit Test
Matrix: Server Copilot E2E Test
Matrix: server-e2e-test
Server Test
11m 27s
Server Test
Server Copilot Api Test
26s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
2m 24s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 42s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
2m 54s
test-build-mobile-app / android
test-build-mobile-app  /  ios
5m 43s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

25 errors, 72 warnings, and 24 notices
attachment.spec.ts:244:1 › should attachment can be deleted: blocksuite/tests-legacy/attachment.spec.ts#L71
1) attachment.spec.ts:244:1 › should attachment can be deleted ─────────────────────────────────── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 69 | await expect(slashMenu).toBeVisible(); 70 | > 71 | const fileChooser = page.waitForEvent('filechooser'); | ^ 72 | await pressEnter(page); 73 | await sleep(100); 74 | await (await fileChooser).setFiles(FILE_PATH); at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:250:3
[Mobile Safari] › home.spec.ts:10:1 › app tabs is visible: tests/affine-mobile/e2e/home.spec.ts#L12
1) [Mobile Safari] › 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
slash-menu.spec.ts:365:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow: blocksuite/tests-legacy/slash-menu.spec.ts#L388
1) slash-menu.spec.ts:365:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4) Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4) 9 × locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" 386 | await type(page, '/'); 387 | await pressArrowDown(page, 4); > 388 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true'); | ^ 389 | await expect(slashItems.nth(4).locator('.text')).toHaveText([ 390 | 'Other Headings', 391 | ]); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/slash-menu.spec.ts:388:37
[Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L17
1) [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-edgeless-viewport') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.affine-edgeless-viewport') 15 | await docsTab.click(); 16 | await page.getByTestId('doc-card').first().click(); > 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible(); | ^ 18 | }); 19 | 20 | test('can open page view more menu', async ({ page }) => { at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:17:59
[Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L17
1) [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-edgeless-viewport') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.affine-edgeless-viewport') 15 | await docsTab.click(); 16 | await page.getByTestId('doc-card').first().click(); > 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible(); | ^ 18 | }); 19 | 20 | test('can open page view more menu', async ({ page }) => { at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:17:59
[Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder: tests/affine-mobile/e2e/explorer-folder.spec.ts#L1
2) [Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ────────────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder: tests/affine-mobile/e2e/utils.ts#L6
2) [Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ────────────────────────── Error: locator.getAttribute: Test timeout of 60000ms exceeded. Call log: - waiting for locator('[data-collapsible]:has-text("organize")') at utils.ts:6 4 | export async function expandCollapsibleSection(page: Page, name: string) { 5 | const divider = page.locator(`[data-collapsible]:has-text("${name}")`); > 6 | if ((await divider.getAttribute('data-collapsed')) === 'true') { | ^ 7 | await divider.click(); 8 | } 9 | await expect(divider).toHaveAttribute('data-collapsed', 'false'); at expandCollapsibleSection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:6:22) at createRootFolder (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:23:25) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:55:24
edgeless/paste-block.spec.ts:69:3 › pasting blocks › pasting a edgeless block: blocksuite/tests-legacy/edgeless/paste-block.spec.ts#L90
1) edgeless/paste-block.spec.ts:69:3 › pasting blocks › pasting a edgeless block ───────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('affine-edgeless-text[data-block-id="12"]').locator('[data-block-id]').first() - Expected string - 1 + Received string + 19 - hello + + + + + + + ello + + + + + + + + + + + + Call log: - expect.toContainText with timeout 5000ms - waiting for locator('affine-edgeless-text[data-block-id="12"]').locator('[data-block-id]').first() 9 × locator resolved to <affine-paragraph data-block-id="13" data-drop-target-for-element="true">…</affine-paragraph> - unexpected value " ello " 88 | await expect(newText).toBeVisible(); 89 | const blocks = newText.locator('[data-block-id]'); > 90 | await expect(blocks.nth(0)).toContainText('hello'); | ^ 91 | await expect(blocks.nth(1).locator('.resizable-img')).toBeVisible(); 92 | await expect(blocks.nth(2)).toContainText('world'); 93 | await expect(blocks.nth(3)).toContainText('code'); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/paste-block.spec.ts:90:33
edgeless/shortcut.spec.ts:121:1 › should not switch shapes in editing: blocksuite/tests-legacy/utils/actions/edgeless.ts#L368
2) edgeless/shortcut.spec.ts:121:1 › should not switch shapes in editing ───────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' }) at utils/actions/edgeless.ts:368 366 | .locator('edgeless-slide-menu edgeless-tool-icon-button') 367 | .filter({ hasText: shape }); > 368 | await squareShapeButton.click(); | ^ 369 | break; 370 | } 371 | } at setEdgelessTool (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/edgeless.ts:368:31) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/shortcut.spec.ts:139:3
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size: blocksuite/tests-legacy/utils/asserts.ts#L776
1) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ─────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 192 Received: 92 Expected precision: 0 Expected difference: < 0.5 Received difference: 100 at utils/asserts.ts:776 774 | expect(a.y).toBeCloseTo(b.y, 0); 775 | expect(a.w).toBeCloseTo(b.w, 0); > 776 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 777 | } 778 | 779 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:776:15) at assertNoteRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:769:3) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/note/resize.spec.ts:188:3
Lint: packages/backend/server/src/core/workspaces/controller.ts#L155
Argument of type 'WorkspaceRole.Collaborator' is not assignable to parameter of type 'DocRole | undefined'.
Lint: packages/backend/server/src/core/workspaces/resolvers/history.ts#L83
Argument of type 'WorkspaceRole.Collaborator' is not assignable to parameter of type 'DocRole | undefined'.
Lint
Process completed with exit code 2.
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) 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.
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#L43
1) 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: locator.waitFor: Test timeout of 50000ms exceeded. Call log: - waiting for locator('affine-outline-panel') to be visible 41 | 42 | await openRightSideBar(page, 'outline'); > 43 | await toc.waitFor({ state: 'visible' }); | ^ 44 | return toc; 45 | } 46 | at openTocPanel (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:43:13) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:269:17
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) 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.
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/keyboard.ts#L31
2) blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel Error: keyboard.press: Test timeout of 50000ms exceeded. at ../../kit/src/utils/keyboard.ts:31 29 | // avoid flaky test by simulate real user input 30 | for (let i = 0; i < count; i++) { > 31 | await page.keyboard.press('Enter', { delay: 50 }); | ^ 32 | } 33 | } 34 | at pressEnter (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/keyboard.ts:31:25) at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:26:5) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:289:5
image-preview.spec.ts:35:1 › image go left and right: tests/affine-local/e2e/image-preview.spec.ts#L57
1) 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 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
image-preview.spec.ts:186:1 › image should able to go left and right by buttons: tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ─────────────── 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 10 × 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 206 | { 207 | const title = getBlockSuiteEditorTitle(page); > 208 | await title.click(); | ^ 209 | await page.keyboard.press('Enter'); 210 | await importImage(page, 'affine-preview.png'); 211 | } at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
image-preview.spec.ts:186:1 › image should able to go left and right by buttons: tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 - element is visible, enabled and stable - scrolling into view if needed - done scrolling 206 | { 207 | const title = getBlockSuiteEditorTitle(page); > 208 | await title.click(); | ^ 209 | await page.keyboard.press('Enter'); 210 | await importImage(page, 'affine-preview.png'); 211 | } at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
image-preview.spec.ts:186:1 › image should able to go left and right by buttons: tests/affine-local/e2e/image-preview.spec.ts#L208
2) image-preview.spec.ts:186:1 › image should able to go left and right by buttons ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 10 × 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 206 | { 207 | const title = getBlockSuiteEditorTitle(page); > 208 | await title.click(); | ^ 209 | await page.keyboard.press('Enter'); 210 | await importImage(page, 'affine-preview.png'); 211 | } at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:208:17
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
3) 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="BWhzNHMPso" 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
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
4) 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
Server Test
Process completed with exit code 1.
3, 2, 1 Launch
Process completed with exit code 1.
Optimize CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check yarn binary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-build-mobile-app / output-env
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Server native
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build AFFiNE native (x86_64-unknown-linux-gnu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot Api Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (2, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (1, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (3, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run native tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build @affine/electron renderer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-build-mobile-app / build-android-web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-build-mobile-app / build-ios-web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Mobile Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Chrome] › detail.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › detail.spec.ts took 41.5s
Slow Test: tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts took 38.9s
E2E Mobile Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Safari] › settings.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › settings.spec.ts took 50.3s
Slow Test: tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 41.2s
E2E Mobile Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Chrome] › explorer-tag.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-tag.spec.ts took 42.5s
Legacy Blocksuite E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Mobile Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Safari] › explorer-folder.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-folder.spec.ts took 49.2s
Legacy Blocksuite E2E Test (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Mobile Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts took 42.3s
Legacy Blocksuite E2E Test (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-build-mobile-app / android
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy Blocksuite E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server E2E Test 3/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 40.1s
Slow Test: tests/affine-cloud/storage.spec.ts#L1
tests/affine-cloud/storage.spec.ts took 34.3s
Slow Test: tests/affine-cloud/template.spec.ts#L1
tests/affine-cloud/template.spec.ts took 16.0s
Server Desktop E2E Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 41.4s
E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 39.4s
Slow Test: tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 39.0s
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
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
Server E2E Test 1/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 1.4m
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 59.9s
Analyze (typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
Server E2E Test 2/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-cloud/share-page.spec.ts#L1
tests/affine-cloud/share-page.spec.ts took 3.1m
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 41.2s
Slow Test: tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 39.7s
Server Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
3, 2, 1 Launch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
7 passed (1.2m)
🎭 Playwright Run Summary
7 passed (1.2m)
🎭 Playwright Run Summary
7 passed (1.1m)
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:244:1 › should attachment can be deleted ──────────────────────────────────── 2 skipped 94 passed (1.4m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › home.spec.ts:10:1 › app tabs is visible ────────────────────────────────────── 6 passed (1.7m)
🎭 Playwright Run Summary
96 passed (1.4m)
🎭 Playwright Run Summary
1 flaky slash-menu.spec.ts:365:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys 3 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 96 passed (1.6m)
🎭 Playwright Run Summary
4 skipped 93 passed (1.5m)
🎭 Playwright Run Summary
2 skipped 95 passed (1.5m)
🎭 Playwright Run Summary
6 skipped 91 passed (2.4m)
🎭 Playwright Run Summary
2 flaky [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ─────────────────────────── [Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ─────────────────────────── 6 passed (3.0m)
🎭 Playwright Run Summary
2 flaky edgeless/paste-block.spec.ts:69:3 › pasting blocks › pasting a edgeless block ────────────────── edgeless/shortcut.spec.ts:121:1 › should not switch shapes in editing ────────────────────────── 4 skipped 91 passed (2.5m)
🎭 Playwright Run Summary
1 skipped 96 passed (2.8m)
🎭 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.3m)
🎭 Playwright Run Summary
1 skipped 47 passed (3.8m)
🎭 Playwright Run Summary
1 skipped 47 passed (4.2m)
🎭 Playwright Run Summary
3 skipped 45 passed (4.0m)
🎭 Playwright Run Summary
2 flaky 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 blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel 46 passed (4.9m)
🎭 Playwright Run Summary
4 passed (1.9m)
🎭 Playwright Run Summary
1 passed (1.1m)
🎭 Playwright Run Summary
4 flaky image-preview.spec.ts:35:1 › image go left and right ─────────────────────────────────────────── image-preview.spec.ts:186:1 › image should able to go left and right by buttons ──────────────── links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless 44 passed (5.1m)
🎭 Playwright Run Summary
2 skipped 6 passed (2.9m)
🎭 Playwright Run Summary
11 passed (5.0m)

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
1.92 MB
affine.darwin-x64.node
2.04 MB
affine.linux-x64-gnu.node
2.07 MB
affine.win32-x64-msvc.node
2.44 MB
android
61.3 MB
ios
61.3 MB
server-native.node
4.33 MB
web
62.8 MB