Skip to content

fix(server): invalidate old user avatar when updated (#7285) #10539

fix(server): invalidate old user avatar when updated (#7285)

fix(server): invalidate old user avatar when updated (#7285) #10539

Triggered via push June 20, 2024 12:40
Status Success
Total duration 11m 52s
Artifacts 6

build-test.yml

on: push
Matrix: build-native
Build Server native
1m 49s
Build Server native
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
2m 55s
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

3 errors, 13 warnings, and 10 notices
local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear: tests/affine-local/e2e/local-first-delete-page.spec.ts#L1
1) local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ── Test timeout of 50000ms exceeded.
local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear: tests/affine-local/e2e/local-first-delete-page.spec.ts#L37
1) local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ── Error: page.reload: Test timeout of 50000ms exceeded. Call log: - waiting for navigation until "load" - navigated to "http://localhost:8080/workspace/Fxm0Lt-Zu9Ac0KRF7GiGL/trash" 35 | await page.getByText('Delete permanently?').dblclick(); 36 | await page.getByRole('button', { name: 'Delete' }).click(); > 37 | await page.reload(); | ^ 38 | expect(page.getByText("There's no page here yet")).not.toBeUndefined(); 39 | await page.getByTestId('all-pages').click(); 40 | await page.reload(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-delete-page.spec.ts:37:14
collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing: tests/affine-cloud/e2e/collaboration.spec.ts#L164
1) collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Ford46') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Ford46') - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" - locator resolved to <div>…</div> - unexpected value "hidden" 162 | })(); 163 | // username should be visible when editing > 164 | await expect(page2.getByText(user.name)).toBeVisible(); | ^ 165 | await typingPromise; 166 | } 167 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:164:46
🎭 Playwright Run Summary
4 passed (1.6m)
🎭 Playwright Run Summary
27 passed (3.4m)
🎭 Playwright Run Summary
1 skipped 26 passed (3.4m)
🎭 Playwright Run Summary
27 passed (3.4m)
🎭 Playwright Run Summary
27 passed (3.8m)
🎭 Playwright Run Summary
1 flaky local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ─── 4 skipped 22 passed (3.8m)
🎭 Playwright Run Summary
1 passed (1.1m)
🎭 Playwright Run Summary
1 skipped 3 passed (2.3m)
🎭 Playwright Run Summary
4 passed (2.6m)
🎭 Playwright Run Summary
1 flaky collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing 5 passed (6.8m)
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 (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'.
Slow Test: tests/affine-migration/basic.spec.ts#L1
tests/affine-migration/basic.spec.ts took 1.5m
Slow Test: tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 44.0s
Slow Test: tests/affine-local/navigation.spec.ts#L1
tests/affine-local/navigation.spec.ts took 42.8s
Slow Test: tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 49.8s
Slow Test: tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 45.0s
Slow Test: tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 17.9s
Slow Test: tests/affine-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 46.5s
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 48.1s
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 32.2s
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 2.3m

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
1.44 MB
affine.darwin-x64.node
1.52 MB
affine.linux-x64-gnu.node
1.57 MB
affine.win32-x64-msvc.node
1.63 MB
server-native.node
4.22 MB
web
55.3 MB