Skip to content

fix(server): correct rotation for common files #26993

fix(server): correct rotation for common files

fix(server): correct rotation for common files #26993

Triggered via pull request November 12, 2024 04:11
Status Failure
Total duration 3m 48s
Artifacts

test.yml

on: pull_request
Test & Lint Server
1m 43s
Test & Lint Server
Unit Test CLI
0s
Unit Test CLI
Unit Test CLI (Windows)
0s
Unit Test CLI (Windows)
Test & Lint Web
0s
Test & Lint Web
End-to-End Lint
0s
End-to-End Lint
Medium Tests (Server)
1m 49s
Medium Tests (Server)
End-to-End Tests (Server & CLI)
3m 22s
End-to-End Tests (Server & CLI)
End-to-End Tests (Web)
0s
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

11 errors
TypeORM Checks
Process completed with exit code 1.
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should generate P3 thumbnails for a wide gamut image: server/src/services/media.service.spec.ts#L342
AssertionError: expected "spy" to be called with arguments: [ '/original/path.jpg', …(1) ] Received: 1st spy call: Array [ "/original/path.jpg", Object { "colorspace": "p3", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:342:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should generate an image preview in jpeg format: server/src/services/media.service.spec.ts#L520
AssertionError: expected "spy" to be called with arguments: [ '/original/path.jpg', …(1) ] Received: 1st spy call: Array [ "/original/path.jpg", Object { "colorspace": "srgb", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:520:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should generate an image preview in webp format: server/src/services/media.service.spec.ts#L520
AssertionError: expected "spy" to be called with arguments: [ '/original/path.jpg', …(1) ] Received: 1st spy call: Array [ "/original/path.jpg", Object { "colorspace": "srgb", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:520:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should generate an image thumbnail in jpeg format: server/src/services/media.service.spec.ts#L565
AssertionError: expected "spy" to be called with arguments: [ '/original/path.jpg', …(1) ] Received: 1st spy call: Array [ "/original/path.jpg", Object { "colorspace": "srgb", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:565:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should generate an image thumbnail in webp format: server/src/services/media.service.spec.ts#L565
AssertionError: expected "spy" to be called with arguments: [ '/original/path.jpg', …(1) ] Received: 1st spy call: Array [ "/original/path.jpg", Object { "colorspace": "srgb", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:565:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should extract embedded image if enabled and available: server/src/services/media.service.spec.ts#L617
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ "upload/thumbs/user-id/as/se/2f9bdd95-a56c-43fa-8883-0f284e8305f2.tmp", Object { "colorspace": "p3", + "isEmbeddedImage": true, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:617:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should resize original image if embedded image is too small: server/src/services/media.service.spec.ts#L635
AssertionError: expected "spy" to be called with arguments: [ '/original/path.dng', …(1) ] Received: 1st spy call: Array [ "/original/path.dng", Object { "colorspace": "p3", + "isEmbeddedImage": true, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:635:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should resize original image if embedded image not found: server/src/services/media.service.spec.ts#L652
AssertionError: expected "spy" to be called with arguments: [ '/original/path.dng', …(1) ] Received: 1st spy call: Array [ "/original/path.dng", Object { "colorspace": "p3", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:652:37
src/services/media.service.spec.ts > MediaService > handleGenerateThumbnails > should resize original image if embedded image extraction is not enabled: server/src/services/media.service.spec.ts#L668
AssertionError: expected "spy" to be called with arguments: [ '/original/path.dng', …(1) ] Received: 1st spy call: Array [ "/original/path.dng", Object { "colorspace": "p3", + "isEmbeddedImage": false, + "orientation": undefined, "processInvalidImages": false, "size": 1440, }, ] Number of calls: 1 ❯ src/services/media.service.spec.ts:668:37
Test & Lint Server
Process completed with exit code 1.