Skip to content

feat(server): use prisma #18069

feat(server): use prisma

feat(server): use prisma #18069

Triggered via pull request May 18, 2024 22:24
@mertalevmertalev
synchronize #8033
feat/prisma
Status Failure
Total duration 7m 50s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
TypeORM Checks
Process completed with exit code 1.
Server
Process completed with exit code 2.
Server
Process completed with exit code 1.
Server
Process completed with exit code 1.
src/api/specs/download.e2e-spec.ts > /download > POST /download/archive > should download an archive: e2e/src/api/specs/download.e2e-spec.ts#L71
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/download.e2e-spec.ts:71:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { statusCode: 500, message: 'Internal server error' }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/scan > should offline missing files: e2e/src/api/specs/library.e2e-spec.ts#L481
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:481:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/scan > should scan new files: e2e/src/api/specs/library.e2e-spec.ts#L509
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:509:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/scan > with refreshModifiedFiles=true > should reimport modified files: e2e/src/api/specs/library.e2e-spec.ts#L542
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:542:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/scan > with refreshModifiedFiles=true > should not reimport unmodified files: e2e/src/api/specs/library.e2e-spec.ts#L570
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:570:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/scan > with refreshAllFiles=true > should reimport all files: e2e/src/api/specs/library.e2e-spec.ts#L600
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:600:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/removeOffline > should remove offline files: e2e/src/api/specs/library.e2e-spec.ts#L629
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:629:41 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/library.e2e-spec.ts > /library > POST /library/:id/removeOffline > should not remove online files: e2e/src/api/specs/library.e2e-spec.ts#L668
Error: Error: 500 ❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9 ❯ src/api/specs/library.e2e-spec.ts:668:40 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, data: { message: 'Failed to search metadata', error: 'Internal Server Error', statusCode: 500 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
src/api/specs/timeline.e2e-spec.ts > /timeline > GET /timeline/buckets > should get time buckets by month: e2e/src/api/specs/timeline.e2e-spec.ts#L66
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/api/specs/timeline.e2e-spec.ts:66:22
src/api/specs/timeline.e2e-spec.ts > /timeline > GET /timeline/buckets > should not allow access for unrelated shared links: e2e/src/api/specs/timeline.e2e-spec.ts#L85
AssertionError: expected 500 to be 400 // Object.is equality - Expected + Received - 400 + 500 ❯ src/api/specs/timeline.e2e-spec.ts:85:22
End-to-End Tests
Process completed with exit code 1.