Skip to content

refactor(core): initial multiple servers infra #18780

refactor(core): initial multiple servers infra

refactor(core): initial multiple servers infra #18780

Triggered via pull request November 27, 2024 06:44
Status Success
Total duration 14m 10s
Artifacts 8

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 17s
Build Server native
Build @affine/electron renderer
3m 8s
Build @affine/electron renderer
Matrix: Analyze
Matrix: E2E Mobile Test
Matrix: E2E Test
test-build-mobile-app  /  build-android-web
2m 51s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 44s
test-build-mobile-app / build-ios-web
Lint
5m 44s
Lint
Check yarn binary
7s
Check yarn binary
Run server native tests
1m 35s
Run server native tests
Matrix: server-e2e-test
Matrix: Server Copilot E2E Test
Server Test
8m 5s
Server Test
Server Copilot Api Test
31s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  android
2m 33s
test-build-mobile-app / android
test-build-mobile-app  /  ios
2m 31s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 12 warnings, and 14 notices
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/affine-mobile/e2e/explorer-folder.spec.ts#L19
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "rename-input" Received: null 17 | const isRenameInputFocused = async (page: Page) => { 18 | const focusElTestid = await getAttrOfActiveElement(page); > 19 | expect(focusElTestid).toEqual('rename-input'); | ^ 20 | }; 21 | 22 | const createRootFolder = async (page: Page, name: string) => { at isRenameInputFocused (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:19:25) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:69:3
[Mobile Safari] › home.spec.ts:43:5 › all tab: tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:43:5 › all tab ───────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › home.spec.ts:43:5 › all tab: tests/affine-mobile/e2e/home.spec.ts#L47
1) [Mobile Safari] › home.spec.ts:43:5 › all tab ───────────────────────────────────────────────── Error: locator.click: Test timeout of 60000ms exceeded. Call log: - waiting for locator('#app-tabs').getByRole('tab', { name: 'all' }) - locator resolved to <a role="tab" aria-label="all" data-active="false" class="styles_tabItem__1qrozp53" href="/workspace/72nAXOb3z2p2F8j9w1D5M/all">…</a> - attempting click action - 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, attempt #1 - 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, attempt #2 - waiting 20ms - 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, attempt #3 - waiting 100ms - 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, attempt #4 - waiting 100ms - 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, attempt #5 - waiting 500ms - 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, attempt #6 - waiting 500ms - 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, attempt #7 - waiting 500ms - 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, attempt #8 - waiting 500ms - 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, attempt #9 - waiting 500ms - 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, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - s
links.spec.ts:239:5 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L271
1) links.spec.ts:239:5 › 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="GFcywy5XMSovGCNeSSAJl">…</affine-embed-linked-doc-block> - attempting click action - 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, attempt #1 - 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, attempt #2 - waiting 20ms - 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, attempt #3 - waiting 100ms - 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, attempt #4 - waiting 100ms - 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, attempt #5 - waiting 500ms - 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, attempt #6 - waiting 500ms - 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, attempt #7 - waiting 500ms - 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, attempt #8 - waiting 500ms - 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, attempt #9 - waiting 500ms - 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, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if
all-page.spec.ts:27:5 › all page: tests/affine-local/e2e/all-page.spec.ts#L1
1) all-page.spec.ts:27:5 › all page ────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
all-page.spec.ts:27:5 › all page: tests/kit/playwright.ts#L113
1) all-page.spec.ts:27:5 › all page ────────────────────────────────────────────────────────────── Error: page.evaluate: Execution context was destroyed, most likely because of a navigation at ../../kit/playwright.ts:113 111 | if (enableCoverage) { 112 | for (const page of context.pages()) { > 113 | await page.evaluate(() => | ^ 114 | // @ts-expect-error 115 | window.collectIstanbulCoverage(JSON.stringify(window.__coverage__)) 116 | ); at Object.context (/home/runner/work/AFFiNE/AFFiNE/tests/kit/playwright.ts:113:20)
all-page.spec.ts:27:5 › all page: tests/kit/utils/load-page.ts#L11
1) all-page.spec.ts:27:5 › all page ────────────────────────────────────────────────────────────── Error: page.goto: Test timeout of 50000ms exceeded. Call log: - navigating to "http://localhost:8080/", waiting until "load" at ../../kit/utils/load-page.ts:11 9 | 10 | export async function openHomePage(page: Page) { > 11 | await page.goto(coreUrl); | ^ 12 | } 13 | 14 | export async function open404Page(page: Page) { at openHomePage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/load-page.ts:11:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:28:21
all-page.spec.ts:33:5 › all page can create new page: tests/affine-local/e2e/all-page.spec.ts#L1
2) all-page.spec.ts:33:5 › all page can create new page ────────────────────────────────────────── Test timeout of 50000ms exceeded.
all-page.spec.ts:33:5 › all page can create new page: tests/kit/playwright.ts#L113
2) all-page.spec.ts:33:5 › all page can create new page ────────────────────────────────────────── Error: page.evaluate: Execution context was destroyed, most likely because of a navigation at ../../kit/playwright.ts:113 111 | if (enableCoverage) { 112 | for (const page of context.pages()) { > 113 | await page.evaluate(() => | ^ 114 | // @ts-expect-error 115 | window.collectIstanbulCoverage(JSON.stringify(window.__coverage__)) 116 | ); at Object.context (/home/runner/work/AFFiNE/AFFiNE/tests/kit/playwright.ts:113:20)
all-page.spec.ts:33:5 › all page can create new page: tests/kit/utils/load-page.ts#L11
2) all-page.spec.ts:33:5 › all page can create new page ────────────────────────────────────────── Error: page.goto: Test timeout of 50000ms exceeded. Call log: - navigating to "http://localhost:8080/", waiting until "load" at ../../kit/utils/load-page.ts:11 9 | 10 | export async function openHomePage(page: Page) { > 11 | await page.goto(coreUrl); | ^ 12 | } 13 | 14 | export async function open404Page(page: Page) { at openHomePage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/load-page.ts:11:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:35:21
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)
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
Slow Test: tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 18.1s
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 58.7s
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 1.5m
Slow Test: tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 2.8m
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.5m
Slow Test: tests/affine-cloud/share-page.spec.ts#L1
tests/affine-cloud/share-page.spec.ts took 3.5m
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 55.7s
Slow Test: tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 55.5s
🎭 Playwright Run Summary
8 passed (1.6m)
🎭 Playwright Run Summary
7 passed (1.6m)
🎭 Playwright Run Summary
7 passed (1.4m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ───────────────── 7 passed (2.0m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › home.spec.ts:43:5 › all tab ────────────────────────────────────────────────── 7 passed (2.6m)
🎭 Playwright Run Summary
34 passed (4.0m)
🎭 Playwright Run Summary
2 skipped 32 passed (3.6m)
🎭 Playwright Run Summary
34 passed (4.0m)
🎭 Playwright Run Summary
1 flaky links.spec.ts:239:5 › allow switching to embed view when linking to the other document with mode 2 skipped 31 passed (4.2m)
🎭 Playwright Run Summary
2 flaky all-page.spec.ts:27:5 › all page ─────────────────────────────────────────────────────────────── all-page.spec.ts:33:5 › all page can create new page ─────────────────────────────────────────── 1 skipped 32 passed (5.8m)
🎭 Playwright Run Summary
1 passed (1.2m)
🎭 Playwright Run Summary
2 passed (1.8m)
🎭 Playwright Run Summary
1 skipped 7 passed (4.8m)
🎭 Playwright Run Summary
1 skipped 9 passed (5.8m)

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node Expired
1.48 MB
affine.darwin-x64.node Expired
1.57 MB
affine.linux-x64-gnu.node Expired
1.61 MB
affine.win32-x64-msvc.node Expired
1.7 MB
android Expired
58.5 MB
ios Expired
58.5 MB
server-native.node Expired
4.32 MB
web Expired
61.3 MB