feat(server): user feature model (#9843) #23625
build-test.yml
on: push
Optimize CI
5s
Matrix: build-native
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
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
6 errors, 73 warnings, and 24 notices
selection/native.spec.ts:266:1 › cursor move to up and down with children block:
blocksuite/tests-legacy/selection/native.spec.ts#L295
1) selection/native.spec.ts:266:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
293 | const textTwo = await getInlineSelectionText(page);
294 | expect(textTwo).toBe('arrow down test 1');
> 295 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
296 | expect(indexTwo).toBeLessThanOrEqual(17);
297 | await page.keyboard.press('ArrowDown');
298 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/selection/native.spec.ts:295:20
|
[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
|
clipboard/list.spec.ts:308:1 › paste non-nested lists to a nested list:
blocksuite/tests-legacy/utils/asserts.ts#L207
1) clipboard/list.spec.ts:308:1 › paste non-nested lists to a nested list ────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "123",
- "456aaa",
+ "aaa123",
+ "456",
"bbb",
]
at utils/asserts.ts:207
205 | });
206 | }, currentEditorIndex);
> 207 | expect(actualTexts).toEqual(texts);
| ^
208 | }
209 |
210 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:207:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:343:3
|
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="hc_7o5QSHq" 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
|
Desktop Test (macos-latest, macos, arm64, aarch64-apple-darwin, true)
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
|
Optimize CI
Request body: {"token":"***","caller":{"name":"graphite-ci-action","version":"0.0.0"},"context":{"kind":"GITHUB_ACTIONS","repository":{"owner":"toeverything","name":"AFFiNE"},"sha":"f8a515e89a40431a6c297504897f533f381d0fb5","ref":"refs/heads/canary","head_ref":"","run":{"workflow":"Build & Test","job":"optimize_ci","run":12906647715}}}
|
Optimize CI
Response status: 400
|
Optimize CI
toeverything/AFFiNE/undefined
|
Optimize CI
Response returned a non-200 status. Skipping Graphite checks.
|
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 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 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
|
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
|
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
|
Run native tests
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 (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] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 41.7s
|
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 42.8s
|
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
|
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 41.0s
|
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 (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
|
Slow Test:
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts took 39.7s
|
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
|
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 40.9s
|
Slow Test:
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts took 38.4s
|
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 (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 (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 (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 (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 (5)
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
|
E2E 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-local/page-properties.spec.ts#L1
tests/affine-local/page-properties.spec.ts took 41.1s
|
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 (3)
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
|
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
|
E2E Test (1)
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 42.2s
|
E2E Test (3)
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 41.2s
|
Slow Test:
tests/affine-cloud/template.spec.ts#L1
tests/affine-cloud/template.spec.ts took 35.1s
|
Unit Test (5)
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 / ios
swiftformat 0.55.4 is already installed and up-to-date.
To reinstall 0.55.4, run:
brew reinstall swiftformat
|
Unit Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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.5s
|
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.0m
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 41.6s
|
Slow Test:
tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 38.2s
|
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.3m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:266:1 › cursor move to up and down with children block ────────────────
3 skipped
92 passed (1.3m)
|
🎭 Playwright Run Summary
7 passed (1.1m)
|
🎭 Playwright Run Summary
4 skipped
93 passed (1.5m)
|
🎭 Playwright Run Summary
1 skipped
96 passed (1.6m)
|
🎭 Playwright Run Summary
1 flaky
[Mobile Safari] › detail.spec.ts:20:1 › can open page view more menu ───────────────────────────
7 passed (1.8m)
|
🎭 Playwright Run Summary
2 skipped
95 passed (1.4m)
|
🎭 Playwright Run Summary
7 passed (1.1m)
|
🎭 Playwright Run Summary
96 passed (1.4m)
|
🎭 Playwright Run Summary
4 skipped
93 passed (2.4m)
|
🎭 Playwright Run Summary
1 flaky
clipboard/list.spec.ts:308:1 › paste non-nested lists to a nested list ─────────────────────────
2 skipped
94 passed (1.3m)
|
🎭 Playwright Run Summary
1 skipped
96 passed (2.9m)
|
🎭 Playwright Run Summary
6 skipped
91 passed (2.3m)
|
🎭 Playwright Run Summary
12 skipped
85 passed (2.2m)
|
🎭 Playwright Run Summary
3 skipped
44 passed (3.8m)
|
🎭 Playwright Run Summary
47 passed (4.0m)
|
🎭 Playwright Run Summary
1 skipped
46 passed (3.8m)
|
🎭 Playwright Run Summary
1 skipped
46 passed (4.4m)
|
🎭 Playwright Run Summary
1 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
46 passed (4.5m)
|
🎭 Playwright Run Summary
3 passed (1.7m)
|
🎭 Playwright Run Summary
2 skipped
6 passed (2.9m)
|
🎭 Playwright Run Summary
11 passed (4.9m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
affine.darwin-arm64.node
Expired
|
1.92 MB |
sha256:0d90408b298c9d2d7d380578bda559896b07bd909c8a661cb0ecb3b291834fe8
|
|
affine.darwin-x64.node
Expired
|
2.04 MB |
sha256:15734943bf133352766d1c90142fab54da72b558aebb93afb8cfb5b380de9a62
|
|
affine.linux-x64-gnu.node
Expired
|
2.07 MB |
sha256:77dfcbfb203f48a9da3a068e611b2d88e3a4bb0e00a3583680106714d482ffd7
|
|
affine.win32-x64-msvc.node
Expired
|
2.44 MB |
sha256:b8cd59951a1167e5d8717b550f16abbc84b743de85fb96dfef0eeff67c796077
|
|
android
Expired
|
60.9 MB |
sha256:5e4481d184b9a4d1ef88506543a7aa86c5d11b1520e88a82c4ce2e531a8cfbb9
|
|
ios
Expired
|
61.3 MB |
sha256:367cc3ca03e2c40d28971f44e108680a30e0a5f5433fc829848a8747cf4fa219
|
|
server-native.node
Expired
|
4.33 MB |
sha256:77641399fdfa9cc9d87e96ef2f0a81bcc4bdff9222bd203db9b2957eff36b0cc
|
|
test-results-e2e-macos-latest-arm64
Expired
|
14.3 MB |
sha256:7c4c50725a71ca16e905f4fe0cb3b92c6d4563d2e916dd185a00d6836a92acba
|
|
web
Expired
|
62.8 MB |
sha256:9a1426f334d5141477f3f80331e78d5406a2a6e611fd8dac497b62b5bffdc402
|
|