Skip to content

Enhance ImageGallery component to process image URLs based on asset b… #5996

Enhance ImageGallery component to process image URLs based on asset b…

Enhance ImageGallery component to process image URLs based on asset b… #5996

Triggered via push June 3, 2025 09:43
Status Failure
Total duration 7m 47s
Artifacts 1

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 14 warnings, and 1 notice
Unit & integration tests
Process completed with exit code 1.
Unit & integration tests
isomer-studio#test-ci:unit: command (/home/runner/work/isomer/isomer/apps/studio) /opt/hostedtoolcache/node/20.19.2/x64/bin/npm run test-ci:unit exited (1)
Unhandled error: apps/studio/src/server/trpc.ts#L96
TRPCError: [ { "code": "too_small", "minimum": 0, "type": "number", "inclusive": true, "exact": false, "message": "Number must be greater than or equal to 0", "path": [ "from" ] } ] ❯ inputMiddleware ../../node_modules/@trpc/server/dist/index.mjs:280:19 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ src/server/trpc.ts:96:9 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ resolve ../../node_modules/@trpc/server/dist/index.mjs:481:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'BAD_REQUEST' } This error originated in "src/server/modules/page/__tests__/page.router.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should fail validation if `from` arg is negative index". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown. Caused by: Caused by: ZodError: [ { "code": "too_small", "minimum": 0, "type": "number", "inclusive": true, "exact": false, "message": "Number must be greater than or equal to 0", "path": [ "from" ] } ] ❯ Object.get error [as error] ../../node_modules/zod/lib/index.mjs:587:31 ❯ ZodObject.parseAsync ../../node_modules/zod/lib/index.mjs:715:22 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ inputMiddleware ../../node_modules/@trpc/server/dist/index.mjs:278:27 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ callRecursive ../../node_modules/@trpc/server/dist/index.mjs:451:32 ❯ src/server/trpc.ts:96:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { issues: [ { code: 'too_small', minimum: +0, type: 'number', inclusive: true, exact: false, message: 'Number must be greater than or equal to 0', path: [ 'from' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'too_small', minimum: +0, type: 'number', inclusive: true, exact: false, message: 'Number must be greater than or equal to 0', path: [ 'from' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { from: [ 'Number must be greater than or equal to 0' ] } } }
optimize_ci
Response returned a non-200 status. Skipping Graphite checks.
optimize_ci
opengovsg/isomer/undefined
optimize_ci
Response status: 400
optimize_ci
Request body: {"token":"***","caller":{"name":"graphite-ci-action","version":"0.0.0"},"context":{"kind":"GITHUB_ACTIONS","repository":{"owner":"opengovsg","name":"isomer"},"sha":"0ded5b631a80531dd254c697e268571afa2d2df4","ref":"refs/heads/main","head_ref":"","run":{"workflow":"CI","job":"optimize_ci","run":15413993568}}}
lint: packages/components/src/presets/classic.ts#L37
Unsafe assignment of an `any` value
lint: packages/components/src/presets/classic.ts#L36
Unsafe call of an `any` typed value
lint: packages/components/src/presets/classic.ts#L36
Unsafe assignment of an `any` value
lint: packages/components/src/presets/classic.ts#L35
Unsafe call of an `any` typed value
lint: packages/components/src/presets/classic.ts#L35
Unsafe assignment of an `any` value
lint: packages/components/src/presets/classic.ts#L34
Unsafe call of an `any` typed value
lint: packages/components/src/presets/classic.ts#L34
Unsafe assignment of an `any` value
lint: packages/components/src/presets/classic.ts#L31
Unexpected any. Specify a different type
lint: packages/components/src/interfaces/internal/SidePane.ts#L2
Unexpected any. Specify a different type
lint: packages/components/src/interfaces/internal/Header.ts#L3
Unexpected any. Specify a different type
🎭 Playwright Run Summary
4 skipped 2 passed (4.1s)

Artifacts

Produced during runtime
Name Size Digest
test results Expired
29.8 KB
sha256:779e9cdb5a319851cc3d1fa38f21facab6877f46a85ba5354b31961679ec32b8