Skip to content

chore: move to new method #292

chore: move to new method

chore: move to new method #292

Triggered via push January 6, 2025 12:06
Status Failure
Total duration 37s
Artifacts

unit.yml

on: push
unit-tests
28s
unit-tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
unit-tests: src/zeebe/lib/ZBStreamWorker.ts#L200
Property 'completeWithJobResult' is missing in type '{ cancelWorkflow: () => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; complete: (...args: any[]) => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; error: (...args: any[]) => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; fail: (...args: any[]) => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; forward: (...args: any[]) => "JOB_ACTION_ACKNOWLEDGEME...' but required in type 'JobCompletionInterface<T>'.
unit-tests: src/zeebe/zb/ZBWorker.ts#L50
Argument of type '{ cancelWorkflow: () => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; complete: (updatedVariables?: unknown) => Promise<"JOB_ACTION_ACKNOWLEDGEMENT">; fail: { (errorMessage: string, retries?: number | undefined): Promise<...>; (failureConfiguration: ZB.JobFailureConfiguration): Promise<...>; }; ... 14 more ...; tenantId: s...' is not assignable to parameter of type 'Readonly<ZeebeJob<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables>>'.
unit-tests
Process completed with exit code 2.
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636