Skip to content

fix(api-client, react-api-client, app, robot-server): support multiple recovery policies during a run #47691

fix(api-client, react-api-client, app, robot-server): support multiple recovery policies during a run

fix(api-client, react-api-client, app, robot-server): support multiple recovery policies during a run #47691

Triggered via pull request November 22, 2024 17:05
Status Cancelled
Total duration 9m 7s
Artifacts

js-check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
js checks
Canceling since a higher priority waiting request for 'JS checks-16950-true-true' exists
js checks: react-api-client/src/runs/useUpdateErrorRecoveryPolicy.ts#L49
Argument of type '(policyRules: RecoveryPolicyRulesParams) => Promise<ErrorRecoveryPolicy>' is not assignable to parameter of type 'MutationFunction<UpdateErrorRecoveryPolicyResponse, RecoveryPolicyRulesParams>'.
js checks
Process completed with exit code 2.
js checks: app/src/App/hooks.ts#L57
Unsafe argument of type `any` assigned to a parameter of type `List<unknown> | null | undefined`
js checks: app/src/App/hooks.ts#L57
Unsafe argument of type `any` assigned to a parameter of type `List<unknown>`
js checks: app/src/App/hooks.ts#L63
Unsafe argument of type `any` assigned to a parameter of type `HostConfig`
js checks: app/src/organisms/Desktop/CalibrationPanels/ChooseTipRack.tsx#L88
Unsafe argument of type `any` assigned to a parameter of type `string`
js checks: app/src/organisms/Desktop/CalibrationPanels/ChooseTipRack.tsx#L96
Unsafe argument of type `any` assigned to a parameter of type `string`
js checks: app/src/organisms/Desktop/Devices/DownloadCsvFileLink.tsx#L36
Unsafe argument of type `any` assigned to a parameter of type `string | object`
js checks: app/src/organisms/Desktop/Devices/HistoricalProtocolRunDrawer.tsx#L303
Unsafe argument of type `any` assigned to a parameter of type `string | number | Date`
js checks: app/src/organisms/Desktop/Devices/InstrumentsAndModules.tsx#L153
Unsafe argument of type `any` assigned to a parameter of type `Instruments | undefined`
js checks: app/src/organisms/Desktop/Devices/InstrumentsAndModules.tsx#L171
Unsafe argument of type `any` assigned to a parameter of type `"p1000_single_v3.0" | "p10_single_v1" | "p300_single_v1" | "p10_multi_v1" | "p50_single_v1" | "p50_multi_v1" | "p300_multi_v1" | "p1000_single_v1" | "p10_single_v1.3" | "p10_multi_v1.3" | "p50_single_v1.3" | "p50_multi_v1.3" | "p300_single_v1.3" | "p300_multi_v1.3" | "p1000_single_v1.3" | "p10_single_v1.4" | "p10_single_v1.5" | "p10_multi_v1.4" | "p10_multi_v1.5" | "p10_multi_v1.6" | "p20_single_v2.0" | "p20_single_v2.1" | "p20_single_v2.2" | "p20_multi_v2.0" | "p20_multi_v2.1" | "p50_single_v1.4" | "p50_single_v1.5" | "p50_multi_v1.4" | "p50_multi_v1.5" | "p300_single_v1.4" | "p300_single_v1.5" | "p300_single_v2.0" | "p300_single_v2.1" | "p300_multi_v1.4" | "p300_multi_v1.5" | "p300_multi_v2.0" | "p300_multi_v2.1" | "p1000_single_v1.4" | "p1000_single_v1.5" | "p1000_single_v2.0" | "p1000_single_v2.1" | "p1000_single_v2.2" | "p1000_single_v3.1" | "p1000_single_v3.3" | "p1000_single_v3.4" | "p1000_single_v3.5" | "p1000_single_v3.6" | "p50_single_v3.0" | "p50_single_v3.1" | "p50_single_v3.3" | "p50_single_v3.4" | "p50_single_v3.5" | "p50_single_v3.6" | "p50_single_v4.3" | "p1000_multi_v3.0" | "p1000_multi_v3.1" | "p1000_multi_v3.3" | "p1000_multi_v3.4" | "p1000_multi_v3.5" | "p50_multi_v3.0" | "p50_multi_v3.1" | "p50_multi_v3.3" | "p50_multi_v3.4" | "p50_multi_v3.5" | "p1000_96_v1" | "p1000_96_v3.0" | "p1000_96_v3.3" | "p1000_96_v3.4" | "p1000_96_v3.5" | "p1000_96_v3.6"`
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/types.ts#L14
A record is preferred over an index signature
js checks: app-shell-odd/src/actions.ts#L360
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L368
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L376
Expected property shorthand
js checks: app-shell-odd/src/actions.ts#L384
Expected property shorthand