Skip to content

feat(worker): split ai workloads #474

feat(worker): split ai workloads

feat(worker): split ai workloads #474

Triggered via pull request September 6, 2026 14:20
Status Failure
Total duration 7m 13s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Tests
Process completed with exit code 1.
Tests
command (/home/runner/work/ChatbotX/ChatbotX/apps/worker) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
__tests__/heavy-step-runner.test.ts > runViaHeavyWorker > enqueues heavy work and releases integration worker immediately: apps/worker/src/integration/handlers/heavy-step-runner.ts#L327
ZodError: [ { "origin": "string", "code": "invalid_format", "format": "regex", "pattern": "/^\\d+$/", "path": [ "id" ], "message": "Invalid string: must match pattern /^\\d+$/" } ] ❯ src/integration/handlers/heavy-step-runner.ts:327:60 ❯ buildHeavyStepJobData src/integration/handlers/heavy-step-runner.ts:344:3 ❯ runViaHeavyWorker src/integration/handlers/heavy-step-runner.ts:392:5 ❯ __tests__/heavy-step-runner.test.ts:73:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { def: [ { origin: 'string', code: 'invalid_format', format: 'regex', pattern: '/^\d+$/', path: [ 'id' ], message: 'Invalid string: must match pattern /^\d+$/' } ], constr: 'Function<ZodError>', traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: 2, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, deferred: [] }, issues: [ { origin: 'string', code: 'invalid_format', format: 'regex', pattern: '/^\d+$/', path: [ 'id' ], message: 'Invalid string: must match pattern /^\d+$/' } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }