Skip to content

refactor: migrate user repository to kysely #28939

refactor: migrate user repository to kysely

refactor: migrate user repository to kysely #28939

Triggered via pull request January 13, 2025 03:17
Status Failure
Total duration 4m 56s
Artifacts

test.yml

on: pull_request
Test & Lint Server
1m 55s
Test & Lint Server
Unit Test CLI
0s
Unit Test CLI
Unit Test CLI (Windows)
0s
Unit Test CLI (Windows)
Test & Lint Web
4m 36s
Test & Lint Web
End-to-End Lint
0s
End-to-End Lint
Medium Tests (Server)
2m 8s
Medium Tests (Server)
End-to-End Tests (Server & CLI)
4m 7s
End-to-End Tests (Server & CLI)
End-to-End Tests (Web)
3m 38s
End-to-End Tests (Web)
Unit Test Mobile
0s
Unit Test Mobile
Unit Test ML
0s
Unit Test ML
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
TypeORM Checks
Process completed with exit code 1.
End-to-End Tests (Web)
Process completed with exit code 1.
src/api/specs/user-admin.e2e-spec.ts > /admin/users > PUT /admin/users/:id/preferences > should update memories enabled: e2e/src/api/specs/user-admin.e2e-spec.ts#L240
AssertionError: expected { …(9) } to match object { memories: { enabled: false } } (23 matching properties omitted from actual) - Expected + Received Object { "memories": Object { - "enabled": false, + "enabled": true, }, } ❯ src/api/specs/user-admin.e2e-spec.ts:240:21
src/api/specs/user-admin.e2e-spec.ts > /admin/users > PUT /admin/users/:id/preferences > should update download archive size: e2e/src/api/specs/user-admin.e2e-spec.ts#L266
AssertionError: expected { …(9) } to match object { download: { archiveSize: 1234567 } } (23 matching properties omitted from actual) - Expected + Received Object { "download": Object { - "archiveSize": 1234567, + "archiveSize": 4294967296, }, } ❯ src/api/specs/user-admin.e2e-spec.ts:266:21
src/api/specs/user.e2e-spec.ts > /users > GET /users/me > should get my user with license info: e2e/src/api/specs/user.e2e-spec.ts#L92
AssertionError: expected { …(17) } to match object { …(4) } (13 matching properties omitted from actual) - Expected + Received Object { "email": "[email protected]", "id": "05661a6a-fae4-4de6-88e2-d1acc0f4c702", - "license": Object { - "activationKey": "KuX8KsktrBSiXpQMAH0zLgA5SpijXVr_PDkzLdWUlAogCTMBZ0I3KCHXK0eE9EEd7harxup8_EHMeqAWeHo5VQzol6LGECpFv585U9asXD4Zc-UXt3mhJr2uhazqipBIBwJA2YhmUCDy8hiyiGsukDQNu9Rg9C77UeoKuZBWVjWUBWG0mc1iRqfvF0faVM20w53czAzlhaMxzVGc3Oimbd7xi_CAMSujF_2y8QpA3X2fOVkQkzdcH9lV0COejl7IyH27zQQ9HrlrXv3Lai5Hw67kNkaSjmunVBxC5PS0TpKoc9SfBJMaAGWnaDbjhjYUrm-8nIDQnoeEAidDXVAdPw", - "licenseKey": "IMCL-FF69-TUK1-RWZU-V9Q8-QGQS-S5GC-X4R2-UFK4", - }, + "license": "{\"licenseKey\":\"IMCL-FF69-TUK1-RWZU-V9Q8-QGQS-S5GC-X4R2-UFK4\",\"activationKey\":\"KuX8KsktrBSiXpQMAH0zLgA5SpijXVr_PDkzLdWUlAogCTMBZ0I3KCHXK0eE9EEd7harxup8_EHMeqAWeHo5VQzol6LGECpFv585U9asXD4Zc-UXt3mhJr2uhazqipBIBwJA2YhmUCDy8hiyiGsukDQNu9Rg9C77UeoKuZBWVjWUBWG0mc1iRqfvF0faVM20w53czAzlhaMxzVGc3Oimbd7xi_CAMSujF_2y8QpA3X2fOVkQkzdcH9lV0COejl7IyH27zQQ9HrlrXv3Lai5Hw67kNkaSjmunVBxC5PS0TpKoc9SfBJMaAGWnaDbjhjYUrm-8nIDQnoeEAidDXVAdPw\",\"activatedAt\":\"2025-01-13T03:21:14.204Z\"}", "quotaUsageInBytes": 0, } ❯ src/api/specs/user.e2e-spec.ts:92:20
src/api/specs/user.e2e-spec.ts > /users > PUT /users/me/preferences > should update memories enabled: e2e/src/api/specs/user.e2e-spec.ts#L198
AssertionError: expected { …(9) } to match object { memories: { enabled: false } } (23 matching properties omitted from actual) - Expected + Received Object { "memories": Object { - "enabled": false, + "enabled": true, }, } ❯ src/api/specs/user.e2e-spec.ts:198:21
src/api/specs/user.e2e-spec.ts > /users > PUT /users/me/preferences > should update avatar color: e2e/src/api/specs/user.e2e-spec.ts#L211
AssertionError: expected { …(9) } to match object { avatar: { color: 'blue' } } (23 matching properties omitted from actual) - Expected + Received Object { "avatar": Object { - "color": "blue", + "color": "orange", }, } ❯ src/api/specs/user.e2e-spec.ts:211:21
src/api/specs/user.e2e-spec.ts > /users > PUT /users/me/preferences > should update download archive size: e2e/src/api/specs/user.e2e-spec.ts#L237
AssertionError: expected { …(9) } to match object { download: { archiveSize: 1234567 } } (23 matching properties omitted from actual) - Expected + Received Object { "download": Object { - "archiveSize": 1234567, + "archiveSize": 4294967296, }, } ❯ src/api/specs/user.e2e-spec.ts:237:21
src/api/specs/user.e2e-spec.ts > /users > PUT /users/me/preferences > should update download include embedded videos: e2e/src/api/specs/user.e2e-spec.ts#L263
AssertionError: expected { …(9) } to match object { download: { …(1) } } (23 matching properties omitted from actual) - Expected + Received Object { "download": Object { - "includeEmbeddedVideos": true, + "includeEmbeddedVideos": false, }, } ❯ src/api/specs/user.e2e-spec.ts:263:21
src/api/specs/user.e2e-spec.ts > /users > GET /server/license > should return the user license: e2e/src/api/specs/user.e2e-spec.ts#L306
AssertionError: expected {} to deeply equal { …(3) } - Expected + Received - Object { - "activatedAt": Any<String>, - "activationKey": "KuX8KsktrBSiXpQMAH0zLgA5SpijXVr_PDkzLdWUlAogCTMBZ0I3KCHXK0eE9EEd7harxup8_EHMeqAWeHo5VQzol6LGECpFv585U9asXD4Zc-UXt3mhJr2uhazqipBIBwJA2YhmUCDy8hiyiGsukDQNu9Rg9C77UeoKuZBWVjWUBWG0mc1iRqfvF0faVM20w53czAzlhaMxzVGc3Oimbd7xi_CAMSujF_2y8QpA3X2fOVkQkzdcH9lV0COejl7IyH27zQQ9HrlrXv3Lai5Hw67kNkaSjmunVBxC5PS0TpKoc9SfBJMaAGWnaDbjhjYUrm-8nIDQnoeEAidDXVAdPw", - "licenseKey": "IMCL-FF69-TUK1-RWZU-V9Q8-QGQS-S5GC-X4R2-UFK4", - } + Object {} ❯ src/api/specs/user.e2e-spec.ts:306:20
src/api/specs/user.e2e-spec.ts > /users > PUT /users/me/license > should set the user license: e2e/src/api/specs/user.e2e-spec.ts#L331
AssertionError: expected {} to deeply equal { …(3) } - Expected + Received - Object { - "activatedAt": Any<String>, - "activationKey": "KuX8KsktrBSiXpQMAH0zLgA5SpijXVr_PDkzLdWUlAogCTMBZ0I3KCHXK0eE9EEd7harxup8_EHMeqAWeHo5VQzol6LGECpFv585U9asXD4Zc-UXt3mhJr2uhazqipBIBwJA2YhmUCDy8hiyiGsukDQNu9Rg9C77UeoKuZBWVjWUBWG0mc1iRqfvF0faVM20w53czAzlhaMxzVGc3Oimbd7xi_CAMSujF_2y8QpA3X2fOVkQkzdcH9lV0COejl7IyH27zQQ9HrlrXv3Lai5Hw67kNkaSjmunVBxC5PS0TpKoc9SfBJMaAGWnaDbjhjYUrm-8nIDQnoeEAidDXVAdPw", - "licenseKey": "IMCL-FF69-TUK1-RWZU-V9Q8-QGQS-S5GC-X4R2-UFK4", - } + Object {} ❯ src/api/specs/user.e2e-spec.ts:331:27
End-to-End Tests (Server & CLI)
Process completed with exit code 1.
pre-job
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ShellCheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
OpenAPI Clients
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
TypeORM Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test & Lint Server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test & Lint Web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636