Skip to content

fix(app): fallback to current run command on ODD if run diverges from… #35506

fix(app): fallback to current run command on ODD if run diverges from…

fix(app): fallback to current run command on ODD if run diverges from… #35506

Triggered via push April 5, 2024 20:52
Status Failure
Total duration 7m 42s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
js checks: app/src/pages/RunningProtocol/index.tsx#L21
'useAllCommandsQuery' is defined but never used
js checks
Process completed with exit code 2.
js checks: app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/CurrentRunningProtocolCommand.test.tsx#L37
Property 'lastRunCommand' is missing in type '{ runStatus: "running"; robotSideAnalysis: CompletedProtocolAnalysis; runTimerInfo: { runStatus: "running"; startedAt: string; stoppedAt: string; completedAt: string; }; playRun: Mock<any, any>; pauseRun: Mock<any, any>; setShowConfirmCancelRunModal: Mock<any, any>; trackProtocolRunEvent: Mock<[protocolRunEvent: ProtocolRunAnalyticsEvent], void>; robotAnalyticsData: any; protocolName: string; currentRunCommandIndex: number; lastAnimatedCommand: null; updateLastAnimatedCommand: Mock<any, any>; robotType: "OT-3 Standard"; }' but required in type 'CurrentRunningProtocolCommandProps'.
js checks: app/src/organisms/RunProgressMeter/__tests__/RunProgressMeter.test.tsx#L22
'"../../../resources/runs"' has no exported member named 'useNotifyLastRunCommandKey'. Did you mean 'useNotifyLastRunCommand'?
js checks: app/src/pages/RunningProtocol/__tests__/RunningProtocol.test.tsx#L36
'"../../../resources/runs"' has no exported member named 'useNotifyLastRunCommandKey'. Did you mean 'useNotifyLastRunCommand'?
js checks
Process completed with exit code 2.
js checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
js checks: api-client/src/calibration/types.ts#L1
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/api-types.ts#L1
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/types.ts#L8
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/types.ts#L15
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
js checks: api-client/src/protocols/__tests__/utils.test.ts#L17
All imports in the declaration are only used as types. Use `import type`