chore: bump up nodemailer version to v7.0.7 [SECURITY] #44936
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 50s
Build @affine/electron renderer
2m 55s
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
6m 16s
Typecheck
5m 25s
Lint Rust
2m 26s
Check yarn binary
8s
miri code check
1m 9s
loom thread test
3m 37s
fuzzing
7m 40s
Run native tests
5m 4s
Matrix: Unit Test
Matrix: cloud-e2e-test
Matrix: Frontend Copilot E2E Test
Matrix: Server Test
Check Git Status
2m 4s
Server E2E Test
7m 36s
Server Copilot Api Test
38s
Server Test with Elasticsearch
3m 9s
Matrix: desktop-bundle-check
Matrix: desktop-test
3, 2, 1 Launch
2s
Annotations
6 errors, 22 warnings, and 32 notices
|
miri code check
Process completed with exit code 100.
|
|
e2e/hotkey/multiline.spec.ts:100:1 › should cut work multiple line:
tests/blocksuite/e2e/hotkey/multiline.spec.ts#L110
1) e2e/hotkey/multiline.spec.ts:100:1 › should cut work multiple line ────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -11,18 +11,58 @@
"collapsed": false,
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
- "insert": "19"
+ "insert": "123"
}
]
},
"type": "text"
},
"type": "block",
"version": 1
+ },
+ {
+ "children": [
+ ],
+ "flavour": "affine:paragraph",
+ "id": "3",
+ "props": {
+ "collapsed": false,
+ "text": {
+ "$blocksuite:internal:text$": true,
+ "delta": [
+ {
+ "insert": "456"
+ }
+ ]
+ },
+ "type": "text"
+ },
+ "type": "block",
+ "version": 1
+ },
+ {
+ "children": [
+ ],
+ "flavour": "affine:paragraph",
+ "id": "4",
+ "props": {
+ "collapsed": false,
+ "text": {
+ "$blocksuite:internal:text$": true,
+ "delta": [
+ {
+ "insert": "789"
+ }
+ ]
+ },
+ "type": "text"
+ },
+ "type": "block",
+ "version": 1
}
],
"flavour": "affine:note",
"id": "1",
"props": {
Expected: /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/snapshots/hotkey/multiline.spec.ts/should-cut-work-multiple-line-init.json
Received: /home/runner/work/AFFiNE/AFFiNE/test-results/hotkey-multiline-should-cut-work-multiple-line/should-cut-work-multiple-line-init-actual.json
108 | // cut
109 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 110 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
111 | `${testInfo.title}_init.json`
112 | );
113 | await undoByKeyboard(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/hotkey/multiline.spec.ts:110:45
|
|
e2e/edgeless/note/drag-handle.spec.ts:115:1 › drag handle should work inside one note:
tests/blocksuite/e2e/utils/actions/drag.ts#L133
1) e2e/edgeless/note/drag-handle.spec.ts:115:1 › drag handle should work inside one note ─────────
TimeoutError: locator.hover: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-drag-handle-container')
- locator resolved to <div class="affine-drag-handle-container">…</div>
- attempting hover action
2 × waiting for element to be visible and stable
- element is not visible
- retrying hover action
- waiting 20ms
2 × waiting for element to be visible and stable
- element is not visible
- retrying hover action
- waiting 100ms
9 × waiting for element to be visible and stable
- element is not visible
- retrying hover action
- waiting 500ms
at utils/actions/drag.ts:133
131 | await waitNextFrame(page);
132 | const dragHandleContainer = page.locator('.affine-drag-handle-container');
> 133 | await dragHandleContainer.hover();
| ^
134 | const handle = await dragHandleContainer.boundingBox();
135 | if (!handle) {
136 | throw new Error();
at dragHandleFromBlockToBlockBottomById (/home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/utils/actions/drag.ts:133:29)
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/edgeless/note/drag-handle.spec.ts:123:3
|
|
e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block:
tests/blocksuite/e2e/selection/native.spec.ts#L294
1) e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block ───────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
292 | const textTwo = await getInlineSelectionText(page);
293 | expect(textTwo).toBe('arrow down test 1');
> 294 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
295 | expect(indexTwo).toBeLessThanOrEqual(17);
296 | await page.keyboard.press('ArrowDown');
297 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/blocksuite/e2e/selection/native.spec.ts:294:20
|
|
e2e/clipboard/list.spec.ts:216:1 › paste nested lists to a nested list:
tests/blocksuite/e2e/utils/asserts.ts#L172
2) e2e/clipboard/list.spec.ts:216:1 › paste nested lists to a nested list ────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "111",
+ "bbb111",
"222",
"111",
- "222bbb",
+ "222",
"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:258:3
|
|
e2e/attachment.spec.ts:225:1 › should turn attachment to image works:
tests/blocksuite/e2e/attachment.spec.ts#L74
1) e2e/attachment.spec.ts:225:1 › should turn attachment to image works ──────────────────────────
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:237:3
|
|
y-octo binding test on aarch64-unknown-linux-gnu
Cache not found for keys: v0-rust-aarch64-unknown-linux-gnu-@y-octo/node-Linux-arm64-9fd58c4c-843b11bb, v0-rust-aarch64-unknown-linux-gnu-@y-octo/node-Linux-arm64-9fd58c4c
|
|
y-octo binding test on x86_64-unknown-linux-gnu
Cache not found for keys: v0-rust-x86_64-unknown-linux-gnu-@y-octo/node-Linux-x64-cd93664f-843b11bb, v0-rust-x86_64-unknown-linux-gnu-@y-octo/node-Linux-x64-cd93664f
|
|
y-octo binding test on aarch64-apple-darwin
Cache not found for keys: v0-rust-aarch64-apple-darwin-@y-octo/node-Darwin-arm64-df13c0a5-843b11bb, v0-rust-aarch64-apple-darwin-@y-octo/node-Darwin-arm64-df13c0a5
|
|
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'.
|
|
Lint Rust
Cache not found for keys: v0-rust---Linux-x64-6c5992dd-843b11bb, v0-rust---Linux-x64-6c5992dd
|
|
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 (x86_64-unknown-linux-gnu)
Cache not found for keys: v0-rust-x86_64-unknown-linux-gnu-@affine/native-Linux-x64-f91e0776-843b11bb, v0-rust-x86_64-unknown-linux-gnu-@affine/native-Linux-x64-f91e0776
|
|
Build AFFiNE native (aarch64-apple-darwin)
Cache not found for keys: v0-rust-aarch64-apple-darwin-@affine/native-Darwin-arm64-7ff37368-843b11bb, v0-rust-aarch64-apple-darwin-@affine/native-Darwin-arm64-7ff37368
|
|
y-octo binding test on x86_64-pc-windows-msvc
Cache not found for keys: v0-rust-x86_64-pc-windows-msvc-@y-octo/node-Windows_NT-x64-e4bfcdd3-843b11bb, v0-rust-x86_64-pc-windows-msvc-@y-octo/node-Windows_NT-x64-e4bfcdd3
|
|
Build AFFiNE native (x86_64-apple-darwin)
Cache not found for keys: v0-rust-x86_64-apple-darwin-@affine/native-Darwin-arm64-7ff37368-843b11bb, v0-rust-x86_64-apple-darwin-@affine/native-Darwin-arm64-7ff37368
|
|
y-octo binding test on x86_64-apple-darwin
Cache not found for keys: v0-rust-x86_64-apple-darwin-@y-octo/node-Darwin-x64-0e6df2b1-843b11bb, v0-rust-x86_64-apple-darwin-@y-octo/node-Darwin-x64-0e6df2b1
|
|
Run native tests
Cache not found for keys: v0-rust--affine-Linux-x64-6c5992dd-843b11bb, v0-rust--affine-Linux-x64-6c5992dd
|
|
Build AFFiNE native (x86_64-pc-windows-msvc)
Cache not found for keys: v0-rust-x86_64-pc-windows-msvc-@affine/native-Windows_NT-x64-25052ca7-be8de070, v0-rust-x86_64-pc-windows-msvc-@affine/native-Windows_NT-x64-25052ca7
|
|
Build AFFiNE native (aarch64-pc-windows-msvc)
Cache not found for keys: v0-rust-aarch64-pc-windows-msvc-@affine/native-Windows_NT-x64-25052ca7-be8de070, v0-rust-aarch64-pc-windows-msvc-@affine/native-Windows_NT-x64-25052ca7
|
|
y-octo binding test on aarch64-pc-windows-msvc
Cache not found for keys: v0-rust-aarch64-pc-windows-msvc-@y-octo/node-Windows_NT-arm64-586aaead-843b11bb, v0-rust-aarch64-pc-windows-msvc-@y-octo/node-Windows_NT-arm64-586aaead
|
|
Unit Test (2)
Failed to restore: Aborting cache download as the download time exceeded the timeout.
|
|
🎭 Playwright Run Summary
6 passed (41.3s)
|
|
🎭 Playwright Run Summary
6 passed (45.1s)
|
|
🎭 Playwright Run Summary
99 passed (2.0m)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/hotkey/multiline.spec.ts:100:1 › should cut work multiple line ─────────────────────────────
4 skipped
94 passed (1.9m)
|
|
🎭 Playwright Run Summary
6 passed (37.6s)
|
|
🎭 Playwright Run Summary
6 passed (46.5s)
|
|
🎭 Playwright Run Summary
2 skipped
98 passed (2.2m)
|
|
🎭 Playwright Run Summary
4 skipped
96 passed (1.9m)
|
|
🎭 Playwright Run Summary
6 passed (39.5s)
|
|
🎭 Playwright Run Summary
7 passed (2.2m)
|
|
🎭 Playwright Run Summary
2 skipped
98 passed (2.8m)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/edgeless/note/drag-handle.spec.ts:115:1 › drag handle should work inside one note ──────────
2 skipped
97 passed (2.9m)
|
|
🎭 Playwright Run Summary
6 passed (52.6s)
|
|
🎭 Playwright Run Summary
6 skipped
94 passed (2.6m)
|
|
🎭 Playwright Run Summary
2 skipped
98 passed (3.2m)
|
|
🎭 Playwright Run Summary
1 flaky
e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block ────────────
3 skipped
95 passed (1.9m)
|
|
🎭 Playwright Run Summary
7 passed (2.6m)
|
|
🎭 Playwright Run Summary
8 passed (3.0m)
|
|
🎭 Playwright Run Summary
2 flaky
e2e/attachment.spec.ts:225:1 › should turn attachment to image works ───────────────────────────
e2e/clipboard/list.spec.ts:216:1 › paste nested lists to a nested list ─────────────────────────
3 skipped
95 passed (1.9m)
|
|
🎭 Playwright Run Summary
7 passed (2.7m)
|
|
🎭 Playwright Run Summary
7 passed (2.4m)
|
|
🎭 Playwright Run Summary
31 passed (3.9m)
|
|
🎭 Playwright Run Summary
1 skipped
30 passed (4.0m)
|
|
🎭 Playwright Run Summary
1 skipped
30 passed (3.8m)
|
|
🎭 Playwright Run Summary
3 skipped
28 passed (3.9m)
|
|
🎭 Playwright Run Summary
31 passed (4.1m)
|
|
🎭 Playwright Run Summary
31 passed (4.5m)
|
|
🎭 Playwright Run Summary
1 skipped
30 passed (4.4m)
|
|
🎭 Playwright Run Summary
31 passed (4.1m)
|
|
🎭 Playwright Run Summary
31 passed (4.4m)
|
|
🎭 Playwright Run Summary
31 passed (5.3m)
|
|
🎭 Playwright Run Summary
1 passed (2.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
affine.darwin-arm64.node
Expired
|
2.69 MB |
sha256:b97e82c80bbea6a83a8d2adf85ab78bcd38970cfe14283e4022bfa932783857b
|
|
|
affine.darwin-x64.node
Expired
|
2.93 MB |
sha256:10cc5a717d1789da3ea06571d3c6b367f3acf5300e622c3ea757a20c8ba114f3
|
|
|
affine.linux-x64-gnu.node
Expired
|
3.02 MB |
sha256:daed183ebabaccba74abff0a42390edafa6b8e4aa62f6bfc82c01b007ef1aa14
|
|
|
affine.win32-arm64-msvc.node
Expired
|
2.9 MB |
sha256:688461132de402f94e6a7e44e15eec3e63c2707ac8b88d625542c5495875e45b
|
|
|
affine.win32-x64-msvc.node
Expired
|
3.47 MB |
sha256:91bd3a8a6bac975b14cd5719553d91d5f18f49adc613586839b0601c16d9285e
|
|
|
server-native.node
Expired
|
11.6 MB |
sha256:aa1b48dd0387dc1496a55018c8cd7760f9b4cbb263066a63a9c9e82143efb839
|
|
|
test-results-e2e-10
Expired
|
194 KB |
sha256:22ae153f4046564604a200aac26e1f9674a2fba81fbba425f9d2b482bd4fc550
|
|
|
test-results-e2e-bs-1
Expired
|
6.77 MB |
sha256:6a023c6b5147972612a03fe8da5c348aab24554ac188cf146a12b4c6f137d49f
|
|
|
test-results-e2e-bs-10
Expired
|
3.23 MB |
sha256:9364d818c28bc562986c8af9bb0050c46f4bc969c46d478dc3c3d640c4fd3918
|
|
|
test-results-e2e-bs-2
Expired
|
2.32 KB |
sha256:06eb4831ce6ec4359481ad2b00c1eaa8f2a8e7b84c296ebd3afb3a9528bc9705
|
|
|
test-results-e2e-bs-5
Expired
|
4.7 MB |
sha256:db70a27867e0da17b197617466058bc6171afafc5a21cf0a85a52ced62355c2b
|
|
|
test-results-e2e-bs-8
Expired
|
3.14 MB |
sha256:78deefd1d5f0fb66b7ca16367478005fd7f946b6cb7aec2c47399b841acfc40d
|
|
|
test-results-e2e-bs-cross-browser-chromium-1
Expired
|
2.32 KB |
sha256:0b43a1f44f90c60f167fe4c48c0d6fdaa72d196611a7a5d0858ad655f6071c0a
|
|
|
test-results-e2e-bs-cross-browser-firefox-1
Expired
|
2.32 KB |
sha256:20d32eb2e2e428f1aaa206ffa3f62c05826f52ba86e24480e917322164fe52e8
|
|
|
test-results-e2e-bs-cross-browser-webkit-1
Expired
|
2.32 KB |
sha256:4bcc46c4ad677f1af73f8a739d38f6a8a2f1731d1646b897dce15d184864c183
|
|
|
test-results-e2e-macos-latest-arm64
Expired
|
11.9 MB |
sha256:6ea719a0dcdaf578cf19c8c6fcafe856d9a1c01372517c35debe76e4762888ab
|
|
|
test-results-e2e-server-desktop
Expired
|
1.59 MB |
sha256:0e88c0b02f16881f298be6a46c425fe18505323fa4e9a46a065115aad168fdeb
|
|
|
test-results-e2e-ubuntu-latest-x64
Expired
|
10.1 MB |
sha256:042413f6307f07b53da503390fcd3f44b5a4d686db5e0cb8e29d53d5e2a99951
|
|
|
test-results-e2e-windows-latest-x64
Expired
|
12.3 MB |
sha256:e460c5abb4755396ade60f6bfa5fc6e888abaf724009d828c728fa8274c0b57a
|
|
|
web
Expired
|
69.9 MB |
sha256:75a396d9cbc48defb7f8914c358010db7c43222fdbd567a12c8b0016ad90f8f2
|
|