chore: bump up SwifterSwift/SwifterSwift version to from: "6.2.0" #44675
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 45s
Build @affine/electron renderer
2m 42s
Matrix: Analyze
Matrix: build-windows-native
Matrix: E2E BlockSuite Cross Browser Test
Matrix: E2E BlockSuite Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: y-octo-binding-test
Lint
5m 20s
Typecheck
4m 21s
Lint Rust
43s
Check yarn binary
9s
miri code check
1m 20s
loom thread test
3m 45s
fuzzing
7m 48s
Run native tests
2m 45s
Matrix: Unit Test
Matrix: cloud-e2e-test
Matrix: Frontend Copilot E2E Test
Matrix: Server Test
Check Git Status
1m 44s
Server E2E Test
7m 35s
Server Copilot Api Test
42s
Server Test with Elasticsearch
3m 9s
Matrix: desktop-bundle-check
Matrix: desktop-test
3, 2, 1 Launch
2s
Annotations
8 errors, 8 warnings, and 37 notices
miri code check
Process completed with exit code 100.
|
e2e/edgeless/connector/label.spec.ts:294:3 › connector label with straight shape › should enter the label editing state when pressing `Enter`:
tests/blocksuite/e2e/utils/asserts.ts#L193
1) e2e/edgeless/connector/label.spec.ts:294:3 › connector label with straight shape › should enter the label editing state when pressing `Enter`
Error: expect(received).toEqual(expected) // deep equality
Expected: " a "
Received: "a "
at utils/asserts.ts:193
191 | return inlineEditor?.yText.toString();
192 | });
> 193 | expect(actualTexts).toEqual(text);
| ^
194 | }
195 |
196 | export async function assertRichImage(page: Page, count: number) {
at assertEdgelessCanvasText (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/utils/asserts.ts:193:23)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/edgeless/connector/label.spec.ts:305:5
|
e2e/clipboard/list.spec.ts:309:1 › paste non-nested lists to a nested list:
tests/blocksuite/e2e/utils/asserts.ts#L172
3) e2e/clipboard/list.spec.ts:309: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:172
170 | });
171 | });
> 172 | expect(actualTexts).toEqual(texts);
| ^
173 | }
174 |
175 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/utils/asserts.ts:172:23)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/clipboard/list.spec.ts:344:3
|
e2e/clipboard/list.spec.ts:135:1 › paste a nested list to a nested list:
tests/blocksuite/e2e/utils/asserts.ts#L172
2) e2e/clipboard/list.spec.ts:135:1 › paste a nested list to a nested list ───────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "aaa",
+ "bbbaaa",
"bbb",
- "cccbbb",
+ "ccc",
"ccc",
]
at utils/asserts.ts:172
170 | });
171 | });
> 172 | expect(actualTexts).toEqual(texts);
| ^
173 | }
174 |
175 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/utils/asserts.ts:172:23)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/clipboard/list.spec.ts:167:3
|
e2e/attachment.spec.ts:132:1 › can insert attachment from slash menu:
tests/blocksuite/e2e/attachment.spec.ts#L74
1) e2e/attachment.spec.ts:132:1 › can insert attachment from slash menu ──────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
72 | await expect(slashMenu).toBeVisible();
73 |
> 74 | const fileChooser = page.waitForEvent('filechooser');
| ^
75 | await pressEnter(page);
76 | await sleep(100);
77 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/attachment.spec.ts:74:30)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/attachment.spec.ts:140:3
|
e2e/hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor:
tests/blocksuite/e2e/utils/asserts.ts#L286
1) e2e/hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor ───
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 3, "length": 0}
Received: null
at utils/asserts.ts:286
284 | [richTextIndex]
285 | );
> 286 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
287 | }
288 |
289 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/utils/asserts.ts:286:18)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/hotkey/hotkey.spec.ts:453:5
|
[Mobile Safari] › e2e/explorer-folder.spec.ts:51:1 › create a folder:
tests/affine-mobile/e2e/utils.ts#L6
1) [Mobile Safari] › e2e/explorer-folder.spec.ts:51:1 › create a folder ──────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('[data-collapsible]:has-text("organize")')
at utils.ts:6
4 | const divider = page.locator(`[data-collapsible]:has-text("${name}")`);
5 | // oxlint-disable-next-line prefer-dom-node-dataset
> 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:25:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:52:22
|
[Mobile Safari] › e2e/explorer-folder.spec.ts:51:1 › create a folder:
tests/affine-mobile/e2e/explorer-folder.spec.ts#L0
1) [Mobile Safari] › e2e/explorer-folder.spec.ts:51:1 › create a folder ──────────────────────────
Test timeout of 60000ms exceeded.
|
Analyze (javascript, blocksuite)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Analyze (javascript, blocksuite)
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, blocksuite)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Analyze (typescript, blocksuite)
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, affine)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Analyze (javascript, affine)
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, affine)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Analyze (typescript, affine)
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'.
|
Build AFFiNE native (aarch64-pc-windows-msvc)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Build AFFiNE native (x86_64-pc-windows-msvc)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
🎭 Playwright Run Summary
6 passed (39.4s)
|
y-octo binding test on x86_64-pc-windows-msvc
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
🎭 Playwright Run Summary
6 passed (45.7s)
|
🎭 Playwright Run Summary
6 passed (42.2s)
|
🎭 Playwright Run Summary
6 passed (35.4s)
|
🎭 Playwright Run Summary
6 passed (39.5s)
|
🎭 Playwright Run Summary
7 passed (2.5m)
|
🎭 Playwright Run Summary
7 passed (2.6m)
|
🎭 Playwright Run Summary
6 passed (46.0s)
|
🎭 Playwright Run Summary
2 skipped
98 passed (2.2m)
|
🎭 Playwright Run Summary
3 skipped
96 passed (1.8m)
|
🎭 Playwright Run Summary
1 flaky
e2e/edgeless/connector/label.spec.ts:294:3 › connector label with straight shape › should enter the label editing state when pressing `Enter`
2 skipped
97 passed (3.2m)
|
🎭 Playwright Run Summary
99 passed (2.0m)
|
🎭 Playwright Run Summary
4 skipped
96 passed (1.9m)
|
🎭 Playwright Run Summary
3 flaky
e2e/attachment.spec.ts:132:1 › can insert attachment from slash menu ───────────────────────────
e2e/clipboard/list.spec.ts:135:1 › paste a nested list to a nested list ────────────────────────
e2e/clipboard/list.spec.ts:309:1 › paste non-nested lists to a nested list ─────────────────────
3 skipped
94 passed (2.0m)
|
🎭 Playwright Run Summary
7 passed (2.8m)
|
🎭 Playwright Run Summary
3 skipped
28 passed (4.0m)
|
Desktop bundle check (windows-latest, windows, x64, x86_64-pc-windows-msvc, true)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
🎭 Playwright Run Summary
31 passed (3.9m)
|
🎭 Playwright Run Summary
1 skipped
31 passed (4.0m)
|
🎭 Playwright Run Summary
31 passed (4.3m)
|
🎭 Playwright Run Summary
1 flaky
e2e/hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor ────
4 skipped
94 passed (1.9m)
|
🎭 Playwright Run Summary
1 skipped
30 passed (4.2m)
|
🎭 Playwright Run Summary
32 passed (4.3m)
|
🎭 Playwright Run Summary
1 flaky
[Mobile Safari] › e2e/explorer-folder.spec.ts:51:1 › create a folder ───────────────────────────
7 passed (4.1m)
|
🎭 Playwright Run Summary
1 skipped
30 passed (4.3m)
|
🎭 Playwright Run Summary
2 skipped
98 passed (3.0m)
|
🎭 Playwright Run Summary
31 passed (4.2m)
|
🎭 Playwright Run Summary
31 passed (5.3m)
|
🎭 Playwright Run Summary
32 passed (5.2m)
|
🎭 Playwright Run Summary
6 skipped
94 passed (2.6m)
|
🎭 Playwright Run Summary
1 passed (2.2m)
|
🎭 Playwright Run Summary
2 skipped
98 passed (2.8m)
|
Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
🎭 Playwright Run Summary
7 passed (2.3m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
affine.darwin-arm64.node
|
2.69 MB |
sha256:b0a241d61fc1c1d2b57aaa033000cf4c691151d7beb0b9f3546d4603c624912b
|
|
affine.darwin-x64.node
|
2.93 MB |
sha256:5cfb26869a8c3e5da70f324175f4291cc182a7d1fc34dc3ef84d740385398dc6
|
|
affine.linux-x64-gnu.node
|
3.02 MB |
sha256:b8a68599fc6b9c196c0c19ac15614ad34f37036a7650b48e5ffedfc6fac5da39
|
|
affine.win32-arm64-msvc.node
|
2.9 MB |
sha256:21c1156cafda5bc9284b55abf2bdd89820bfb388f6260b794fe45a166470b6c1
|
|
affine.win32-x64-msvc.node
|
3.47 MB |
sha256:1331bede511549a9d933ddcb122ab669c89fc1633eac26f772c20c402673fc76
|
|
server-native.node
|
11.6 MB |
sha256:f2c18868b55faf8c1c34ac2914f718dbd9bf7adef9c3a87237143cfde7f6c0ec
|
|
test-results-e2e-10
|
200 KB |
sha256:d34b1632921176a546e9a6500b11d5c47e82cfe97e3c34b326d366aa09e3743f
|
|
test-results-e2e-bs-1
|
9.21 MB |
sha256:a67eadaf00a4675eef1243a854d8d01752d926fdbdfadb1b6da7227012adda23
|
|
test-results-e2e-bs-10
|
3.08 KB |
sha256:8c28648c80e76fa70906e5d8bd7ef0569520596551b73b2df2220dd299b3a57e
|
|
test-results-e2e-bs-2
|
2.24 KB |
sha256:5e2797cef65d3a86bcd601f868afcf5dcde575f0d1b5d717ccdf95c6ef286ad2
|
|
test-results-e2e-bs-4
|
5.28 MB |
sha256:e6c33c6bc37b7615d1f802f7c011ec2dab4d9723b4c5f6c0db650a180897bc40
|
|
test-results-e2e-bs-8
|
2.98 MB |
sha256:7ac0cbd174398fd89f1ac4ebdcfe7c7d99bef96ec17d53faf0042ddcce51a7a7
|
|
test-results-e2e-bs-cross-browser-chromium-1
|
2.24 KB |
sha256:8b5aa17af7fa8ae227c67224f2c73006fba789a63b0e9f060fd78e543c7e956a
|
|
test-results-e2e-bs-cross-browser-firefox-1
|
2.24 KB |
sha256:4f2c708131f542edd6ec043dd3ed053b60ce1affd912836ffc5875c08699f56f
|
|
test-results-e2e-bs-cross-browser-webkit-1
|
2.24 KB |
sha256:dbf081fbfd7a9a6d8df70ab2299ac9864ecabf0c5d4e0bb4f29ab0ecb44bd2ba
|
|
test-results-e2e-macos-latest-arm64
|
10.3 MB |
sha256:fef4f3ea3afb4c63172879c7ed18d91a44d87eed06034cf9be0fdfe2f86a463b
|
|
test-results-e2e-mobile-1
|
6.08 MB |
sha256:0be5c8c9b705035c17c26ecc2d3c0a7e948e960b1288a87ba19bed2adf4983ce
|
|
test-results-e2e-server-desktop
|
1.67 MB |
sha256:a83f8fbbfac17dfc1f99ce3addaf0bd3610480480991b1a6fb39de3734c92b81
|
|
test-results-e2e-ubuntu-latest-x64
|
9.85 MB |
sha256:b3dcd81fe2bb288c8eb9d32e7d22f3532fc71470cb2aefcadd55c162637ecaf0
|
|
test-results-e2e-windows-latest-x64
|
10.7 MB |
sha256:02ef5da0e7a8cb1d1dab1f54558935f1bdf9a3504d99e9f010e85bac26abeec5
|
|
web
|
70.9 MB |
sha256:57910ed4158f82a042fe6d8238a6c1bd89154423be9c9e03aa29e2ad62303bf4
|
|