Skip to content

threading for instrument records export #318

threading for instrument records export

threading for instrument records export #318

Triggered via pull request January 21, 2026 18:28
Status Failure
Total duration 3m 57s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
lint-and-test
Process completed with exit code 1.
src/core/decorators/__tests__/throttle-login-request.decorator.spec.ts > ThrottleLoginRequest > should use default values when environment variables are not set: apps/api/src/core/decorators/throttle-login-request.decorator.ts#L13
ZodError: [ { "expected": "number", "code": "invalid_type", "path": [], "message": "Invalid input: expected number, received string" } ] ❯ src/core/decorators/throttle-login-request.decorator.ts:13:4 ❯ createMockApp src/core/decorators/__tests__/throttle-login-request.decorator.spec.ts:19:36 ❯ src/core/decorators/__tests__/throttle-login-request.decorator.spec.ts:69:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, constr: 'Function<ZodError>', def: [ { expected: 'number', code: 'invalid_type', path: [], message: 'Invalid input: expected number, received string' } ], deferred: [] }, issues: [ { expected: 'number', code: 'invalid_type', path: [], message: 'Invalid input: expected number, received string' } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }
src/instrument-records/__tests__/instrument-records.service.spec.ts > InstrumentRecordsService > exportRecords > should return an array of export records with correct shape: apps/api/src/instrument-records/__tests__/instrument-records.service.spec.ts#L130
AssertionError: expected { groupId: '123', …(12) } to match object { groupId: '123', …(9) } (3 matching properties omitted from actual) - Expected + Received @@ -4,9 +4,9 @@ "instrumentName": "Test Instrument", "measure": "score", "sessionId": "session-1", "sessionType": "IN_PERSON", "subjectId": Any<String>, - "timestamp": Any<String>, + "timestamp": 2023-01-01T00:00:00.000Z, "username": "testuser", "value": 85, } ❯ src/instrument-records/__tests__/instrument-records.service.spec.ts:130:25