Skip to content

feat(server): doc level permission #23872

feat(server): doc level permission

feat(server): doc level permission #23872

Triggered via pull request January 27, 2025 04:19
Status Success
Total duration 14m 40s
Artifacts 8

build-test.yml

on: pull_request
Optimize CI
8s
Optimize CI
Matrix: build-native
Build Server native
1m 0s
Build Server native
Build @affine/electron renderer
2m 20s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
1s
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 55s
Server Test
Server Copilot Api Test
27s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
2m 33s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 12s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
3m 7s
test-build-mobile-app / android
test-build-mobile-app  /  ios
6m 6s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 71 warnings, and 24 notices
[Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it: tests/affine-mobile/e2e/explorer-folder.spec.ts#L1
1) [Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it ──────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it: tests/affine-mobile/e2e/utils.ts#L6
1) [Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it ──────────────── 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:66:24
attachment.spec.ts:377:1 › indent attachment block to paragraph: blocksuite/tests-legacy/attachment.spec.ts#L71
1) attachment.spec.ts:377:1 › indent attachment block to paragraph ─────────────────────────────── 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:384:3
code/copy-paste.spec.ts:66:1 › drag copy paste: blocksuite/tests-legacy/code/copy-paste.spec.ts#L79
2) code/copy-paste.spec.ts:66:1 › drag copy paste ──────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "useuse" Received: "1234use" 77 | 78 | const content = await getInlineSelectionText(page); > 79 | expect(content).toBe('useuse'); | ^ 80 | 81 | await assertRichTextInlineRange(page, 0, 3, 0); 82 | }); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/code/copy-paste.spec.ts:79:19
[Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back: tests/affine-mobile/e2e/utils.ts#L50
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('#app-tabs').getByRole('tab', { name: 'New Page' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('#app-tabs').getByRole('tab', { name: 'New Page' }) at utils.ts:50 48 | ) { 49 | const tab = page.locator('#app-tabs').getByRole('tab', { name }); > 50 | await expect(tab).toBeVisible(); | ^ 51 | await tab.click(); 52 | // eslint-disable-next-line unicorn/prefer-dom-node-dataset 53 | const isActive = await tab.getAttribute('data-active'); at openTab (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:50:21) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/back-button-visibility.spec.ts:10:9
[Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L14
2) [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ────────────────────────── 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
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: 192 Received: 92 Expected precision: 0 Expected difference: < 0.5 Received difference: 100 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:188:3
edgeless/shortcut.spec.ts:121:1 › should not switch shapes in editing: blocksuite/tests-legacy/utils/actions/edgeless.ts#L368
1) 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
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) local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ──────────────── Test timeout of 50000ms exceeded.
local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar: tests/kit/src/utils/page-logic.ts#L23
1) local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ──────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/src/utils/page-logic.ts:23 21 | 22 | export async function waitForEditorLoad(page: Page) { > 23 | await page.waitForSelector('v-line', { | ^ 24 | timeout: 20000, 25 | }); 26 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:23:14) at createLocalWorkspace (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/workspace.ts:41:9) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:97:3
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/kit/src/utils/keyboard.ts#L31
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: 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:268:22
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
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
1) 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="sGU3bsadgB" 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
2) 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
Optimize CI
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
Check yarn binary
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
Build Server native
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
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 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 (1, 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-ios-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-android-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 38.8s
Slow Test: tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts took 36.5s
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 54.6s
Slow Test: tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 45.9s
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.2s
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-tag.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-tag.spec.ts took 1.2m
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 (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 (1)
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
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
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 (5)
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
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
Unit Test (4)
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
E2E Test (1)
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
E2E 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
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
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.2s
Unit Test (1)
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
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 39.5s
Slow Test: tests/affine-cloud/storage.spec.ts#L1
tests/affine-cloud/storage.spec.ts took 33.8s
Slow Test: tests/affine-cloud/template.spec.ts#L1
tests/affine-cloud/template.spec.ts took 15.4s
Unit Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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.8s
Slow Test: tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 39.5s
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 1.0m
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 (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
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 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.0m
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 41.4s
Slow Test: tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 39.5s
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.1m)
🎭 Playwright Run Summary
7 passed (1.3m)
🎭 Playwright Run Summary
7 passed (1.1m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it ───────────────── 6 passed (1.6m)
🎭 Playwright Run Summary
96 passed (1.4m)
🎭 Playwright Run Summary
3 skipped 93 passed (1.3m)
🎭 Playwright Run Summary
2 skipped 95 passed (1.4m)
🎭 Playwright Run Summary
2 flaky attachment.spec.ts:377:1 › indent attachment block to paragraph ──────────────────────────────── code/copy-paste.spec.ts:66:1 › drag copy paste ───────────────────────────────────────────────── 2 skipped 93 passed (1.4m)
🎭 Playwright Run Summary
1 skipped 96 passed (1.6m)
🎭 Playwright Run Summary
2 flaky [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back [Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ─────────────────────────── 6 passed (2.0m)
🎭 Playwright Run Summary
4 skipped 93 passed (1.5m)
🎭 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
6 skipped 91 passed (2.5m)
🎭 Playwright Run Summary
1 flaky edgeless/shortcut.spec.ts:121:1 › should not switch shapes in editing ────────────────────────── 4 skipped 92 passed (2.5m)
🎭 Playwright Run Summary
1 skipped 96 passed (2.9m)
🎭 Playwright Run Summary
1 skipped 47 passed (4.0m)
🎭 Playwright Run Summary
1 flaky local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ───────────────── 3 skipped 44 passed (4.3m)
🎭 Playwright Run Summary
1 skipped 47 passed (3.9m)
🎭 Playwright Run Summary
1 passed (1.1m)
🎭 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
2 flaky 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 46 passed (4.6m)
🎭 Playwright Run Summary
2 skipped 6 passed (2.9m)
🎭 Playwright Run Summary
11 passed (4.9m)

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