Skip to content

feat: self-hosted worker #18815

feat: self-hosted worker

feat: self-hosted worker #18815

Triggered via pull request November 27, 2024 11:35
Status Failure
Total duration 15m 21s
Artifacts 8

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 11s
Build Server native
Build @affine/electron renderer
2m 52s
Build @affine/electron renderer
Matrix: Analyze
Matrix: E2E Mobile Test
Matrix: E2E Test
test-build-mobile-app  /  build-android-web
3m 9s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 53s
test-build-mobile-app / build-ios-web
Lint
3m 45s
Lint
Check yarn binary
8s
Check yarn binary
Run server native tests
1m 42s
Run server native tests
Matrix: server-e2e-test
Matrix: Server Copilot E2E Test
Server Test
8m 9s
Server Test
Server Copilot Api Test
6m 24s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  android
2m 29s
test-build-mobile-app / android
test-build-mobile-app  /  ios
2m 8s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 13 warnings, and 14 notices
Lint
Process completed with exit code 1.
[Mobile Safari] › detail.spec.ts:33:5 › can show doc info: tests/affine-mobile/e2e/detail.spec.ts#L12
1) [Mobile Safari] › detail.spec.ts:33:5 › can show doc info ───────────────────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 10 | }; 11 | > 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(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:12:6
[Mobile Safari] › detail.spec.ts:33:5 › can show doc info: tests/affine-mobile/e2e/detail.spec.ts#L15
1) [Mobile Safari] › detail.spec.ts:33:5 › can show doc info ───────────────────────────────────── 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/23SwKypSAc7GxYE5JMwR9/all">…</a> - 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 88 × 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 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(); 18 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:15:17
[Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer: tests/affine-mobile/e2e/explorer-tag.spec.ts#L1
1) [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ────────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer: tests/affine-mobile/e2e/utils.ts#L7
1) [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ────────────────────── Error: locator.click: Test timeout of 60000ms exceeded. Call log: - waiting for locator('[data-collapsible]:has-text("tags")') - locator resolved to <div role="switch" data-collapsed="true" data-collapsible="true" class="collapsible-section_triggerRoot__1crncpe1">…</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 24 × 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 at utils.ts:7 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'); 10 | const section = divider.locator( at expandCollapsibleSection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:7:19) at createRootTag (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:35:19) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:63:15
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="X2GgGK8N1qBhehqwLlhsR">…</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 269 | 270 | // Card > 271 | await page.locator('affine-embed-linked-doc-block').click(); | ^ 272 | await page.getByLabel('Switch view').click(); 273 | 274 | await clickable(linkToInlineBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:271:55
3, 2, 1 Launch
Process completed with exit code 1.
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-mobile/[Mobile Safari] › explorer-folder.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-folder.spec.ts took 33.7s
Slow Test: tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 15.7s
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 56.0s
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 1.3m
Slow Test: tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 2.4m
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.2m
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/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 51.3s
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 47.2s
🎭 Playwright Run Summary
7 passed (1.3m)
🎭 Playwright Run Summary
7 passed (1.3m)
🎭 Playwright Run Summary
8 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › detail.spec.ts:33:5 › can show doc info ────────────────────────────────────── 7 passed (2.3m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ─────────────────────── 7 passed (1.9m)
🎭 Playwright Run Summary
1 skipped 34 passed (3.2m)
🎭 Playwright Run Summary
2 skipped 32 passed (3.3m)
🎭 Playwright Run Summary
34 passed (3.4m)
🎭 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 (3.7m)
🎭 Playwright Run Summary
34 passed (3.5m)
🎭 Playwright Run Summary
1 passed (1.2m)
🎭 Playwright Run Summary
2 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 7 passed (4.1m)
🎭 Playwright Run Summary
1 skipped 9 passed (5.1m)

Artifacts

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