Skip to content

feat(server): support lifetime subscription #11153

feat(server): support lifetime subscription

feat(server): support lifetime subscription #11153

Triggered via pull request July 5, 2024 13:35
Status Success
Total duration 10m 11s
Artifacts 6

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 42s
Build Server native
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
3m 48s
Build @affine/web
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 12 warnings, and 10 notices
Unit Test
Process completed with exit code 1.
Lint
Process completed with exit code 1.
E2E Test (3)
Process completed with exit code 1.
quick-search.spec.ts:511:5 › can paste a doc link to create link reference: tests/affine-local/e2e/quick-search.spec.ts#L545
1) quick-search.spec.ts:511:5 › can paste a doc link to create link reference ──────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('affine-reference:has-text("Write, Draw, Plan all at Once.")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('affine-reference:has-text("Write, Draw, Plan all at Once.")') 543 | await expect( 544 | page.locator('affine-reference:has-text("Write, Draw, Plan all at Once.")') > 545 | ).toBeVisible(); | ^ 546 | 547 | // can ctrl-z to revert to normal link 548 | await page.keyboard.press('ControlOrMeta+z'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:545:5
quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card: tests/affine-local/e2e/quick-search.spec.ts#L569
2) quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card ──────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('cmdk-quick-search') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('cmdk-quick-search') 567 | }); 568 | await page.keyboard.press('Enter'); > 569 | await expect(page.getByTestId('cmdk-quick-search')).toBeVisible(); | ^ 570 | 571 | const testTitle = 'test title'; 572 | await page.locator('[cmdk-input]').fill(testTitle); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:569:55
change-page-mode.spec.ts:69:5 › Able to insert the title of an untitled page: tests/kit/utils/page-logic.ts#L5
1) change-page-mode.spec.ts:69:5 › Able to insert the title of an untitled page ────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/change-page-mode.spec.ts:71:26
🎭 Playwright Run Summary
4 passed (1.5m)
🎭 Playwright Run Summary
4 skipped 24 passed (3.2m)
🎭 Playwright Run Summary
2 flaky quick-search.spec.ts:511:5 › can paste a doc link to create link reference ───────────────────── quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card ───────────── 25 passed (3.4m)
🎭 Playwright Run Summary
1 skipped 26 passed (3.0m)
🎭 Playwright Run Summary
1 flaky change-page-mode.spec.ts:69:5 › Able to insert the title of an untitled page ─────────────────── 27 passed (3.5m)
🎭 Playwright Run Summary
1 passed (1.0m)
🎭 Playwright Run Summary
28 passed (3.6m)
🎭 Playwright Run Summary
1 skipped 3 passed (2.2m)
🎭 Playwright Run Summary
4 passed (2.4m)
🎭 Playwright Run Summary
1 skipped 5 passed (4.6m)
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 (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'.
Slow Test: tests/affine-migration/basic.spec.ts#L1
tests/affine-migration/basic.spec.ts took 1.4m
Slow Test: tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 41.4s
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 45.0s
Slow Test: tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 39.6s
Slow Test: tests/affine-local/exception-page.spec.ts#L1
tests/affine-local/exception-page.spec.ts took 34.7s
Slow Test: tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 16.4s
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.4m
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 30.8s
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 2.0m
Slow Test: tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 4.2m

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
1.44 MB
affine.darwin-x64.node
1.53 MB
affine.linux-x64-gnu.node
1.56 MB
affine.win32-x64-msvc.node
1.63 MB
server-native.node
4.22 MB
web
56.7 MB