refactor: migrate shared-link repository to kysely #28920
test.yml
on: pull_request
pre-job
8s
ShellCheck
5s
OpenAPI Clients
1m 13s
TypeORM Checks
1m 20s
Test & Lint Server
1m 49s
Unit Test CLI
0s
Unit Test CLI (Windows)
0s
Test & Lint Web
0s
End-to-End Lint
0s
Medium Tests (Server)
2m 3s
End-to-End Tests (Server & CLI)
3m 37s
End-to-End Tests (Web)
0s
Unit Test Mobile
0s
Unit Test ML
0s
Annotations
7 errors and 5 warnings
TypeORM Checks
Process completed with exit code 1.
|
src/api/specs/asset.e2e-spec.ts > /asset > GET /assets/:id > should work with a shared link:
e2e/src/api/specs/asset.e2e-spec.ts#L291
Error: Error: 500
❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9
❯ src/api/specs/asset.e2e-spec.ts:291:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, data: { message: 'Failed to create shared link', error: 'Internal Server Error', statusCode: 500, correlationId: 'ysot3izp' }, 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/asset.e2e-spec.ts > /asset > GET /assets/:id > should not send people data for shared links for un-authenticated users:
e2e/src/api/specs/asset.e2e-spec.ts#L321
Error: Error: 500
❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9
❯ src/api/specs/asset.e2e-spec.ts:321:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, data: { message: 'Failed to create shared link', error: 'Internal Server Error', statusCode: 500, correlationId: 'j4h8s2is' }, 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/shared-link.e2e-spec.ts > /shared-links:
e2e/src/api/specs/shared-link.e2e-spec.ts#L59
Error: Error: 500
❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9
❯ src/api/specs/shared-link.e2e-spec.ts:59:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, data: { message: 'Failed to create shared link', error: 'Internal Server Error', statusCode: 500, correlationId: '0g5utkaf' }, 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 not allow access for unrelated shared links:
e2e/src/api/specs/timeline.e2e-spec.ts#L76
Error: Error: 500
❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9
❯ src/api/specs/timeline.e2e-spec.ts:76:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, data: { message: 'Failed to create shared link', error: 'Internal Server Error', statusCode: 500, correlationId: 'f4oj8phq' }, 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/user.e2e-spec.ts > /users > GET /users/me > should not work for shared links:
e2e/src/api/specs/user.e2e-spec.ts#L68
AssertionError: expected 401 to be 403 // Object.is equality
- Expected
+ Received
- 403
+ 401
❯ src/api/specs/user.e2e-spec.ts:68:22
|
End-to-End Tests (Server & CLI)
Process completed with exit code 1.
|
ShellCheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
pre-job
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
|