Skip to content

chore(protocol-designer): deprecate unused moveLiquid fields #18680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

ncdiehl11
Copy link
Collaborator

Overview

Remove references to deprecated moveLiquid form fields:

  • aspirate_delay_mmFromBottom
  • dispense_delay_mmFromBottom
  • blowout_z_offset

These fields are addressed by submerge/retract properties in PD 8.5.0.

Closes AUTH-1977

Test Plan and Hands on Testing

Please just check code and make sure I didn't accidentally deprecate anything unintended!

Changelog

  • deprecate fields listed above in form-types and getDefaultsForFormType

Risk assessment

low

Remove references to deprecated moveLiquid form fields for aspirate/dispense z-offset and blowout z-offset. These fields are addressed by submerge/retract properties in PD 8.5.0.

Closes AUTH-1977
@ncdiehl11 ncdiehl11 self-assigned this Jun 18, 2025
@ncdiehl11 ncdiehl11 requested a review from jerader June 18, 2025 18:41
@ncdiehl11 ncdiehl11 marked this pull request as ready for review June 18, 2025 18:41
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner June 18, 2025 18:41
@ncdiehl11 ncdiehl11 removed the request for review from a team June 18, 2025 18:42
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 25.84%. Comparing base (a04052e) to head (2f5773d).
Report is 1 commits behind head on chore_release-pd-8.5.0.

Files with missing lines Patch % Lines
protocol-designer/src/load-file/migration/8_5_0.ts 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                    Coverage Diff                     @@
##           chore_release-pd-8.5.0   #18680      +/-   ##
==========================================================
+ Coverage                   24.88%   25.84%   +0.96%     
==========================================================
  Files                        3284     3256      -28     
  Lines                      285549   281312    -4237     
  Branches                    29088    28525     -563     
==========================================================
+ Hits                        71066    72715    +1649     
+ Misses                     214458   208570    -5888     
- Partials                       25       27       +2     
Flag Coverage Δ
protocol-designer 19.05% <75.00%> (-0.11%) ⬇️
step-generation 5.19% <0.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ickTransferFlow/utils/generateQuickTransferArgs.ts 0.00% <ø> (ø)
protocol-designer/src/form-types.ts 46.29% <ø> (ø)
...src/step-forms/test/createPresavedStepForm.test.ts 96.46% <ø> (-0.03%) ⬇️
...r/src/steplist/formLevel/getDefaultsForStepType.ts 89.86% <ø> (-0.14%) ⬇️
.../steplist/formLevel/stepFormToArgs/getDelayData.ts 61.90% <100.00%> (+0.20%) ⬆️
...t/formLevel/stepFormToArgs/moveLiquidFormToArgs.ts 74.31% <ø> (-0.35%) ⬇️
...formLevel/stepFormToArgs/test/getDelayData.test.ts 94.40% <100.00%> (-0.53%) ⬇️
...l/stepFormToArgs/test/moveLiquidFormToArgs.test.ts 88.12% <100.00%> (-0.06%) ⬇️
...rmLevel/stepFormToArgs/test/stepFormToArgs.test.ts 92.92% <ø> (-0.07%) ⬇️
...list/formLevel/test/getDefaultsForStepType.test.ts 97.79% <ø> (-0.03%) ⬇️
... and 3 more

... and 263 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good but shouldn't we also deprecate mmFromBottom in InnerDelayArgs in step-generation/src/types.ts? you deprecated the fields in the step form but not in the form to args.

@ncdiehl11
Copy link
Collaborator Author

looks good but shouldn't we also deprecate mmFromBottom in InnerDelayArgs in step-generation/src/types.ts? you deprecated the fields in the step form but not in the form to args.

Good call. I will rip that out as well

@ncdiehl11 ncdiehl11 requested a review from a team as a code owner June 18, 2025 19:45
@ncdiehl11 ncdiehl11 requested review from mjhuff and jerader and removed request for a team and mjhuff June 18, 2025 19:45
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks for squeezing this refactor in

@ncdiehl11 ncdiehl11 changed the title refactor(protocol-designer): deprecate unused moveLiquid fields chore(protocol-designer): deprecate unused moveLiquid fields Jun 18, 2025
@ncdiehl11 ncdiehl11 merged commit cedd97d into chore_release-pd-8.5.0 Jun 18, 2025
30 checks passed
@ncdiehl11 ncdiehl11 deleted the pd_chore-deprecate-fields branch June 18, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants