Skip to content
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

refactor(protocol-designer, step-generation): emit dropTipInPlace & m… #14203

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Dec 14, 2023

…oveToAddressableAreaForDropTip

Overview

I made a big oopsy and was only emitting moveToAddressableAreaForDropTip without the dropTipInPlace afterwards! Luckily, since those sequence of commands are consolidated in movableTrashCommandsUtil, it was an easy fix. I also had to update all the cypress migration tests again 🤦

Test Plan

Create a flex or ot-2 protocol in PD and drop tip into the trash bin. It can be a simple transfer/mix step. Download the protocol and upload it to the app. It should work in alpha.7 or the dev env built off of this branch. It should pass analysis.

Changelog

  • emit dropTipInPlace in the movableTrashCommandsUtil and update the test
  • delete now unnecessary robot state update fn for moveToAddressableAreaForDropTip
  • fix cypress test fixtures

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team December 14, 2023 17:51
@jerader jerader requested a review from a team as a code owner December 14, 2023 17:51
@jerader jerader removed the request for review from a team December 14, 2023 17:51
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #14203 (e41347e) into edge (ef15185) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #14203   +/-   ##
=======================================
  Coverage   70.38%   70.38%           
=======================================
  Files        2510     2510           
  Lines       71292    71292           
  Branches     9019     9019           
=======================================
  Hits        50179    50179           
  Misses      18901    18901           
  Partials     2212     2212           
Flag Coverage Δ
protocol-designer 44.55% <ø> (ø)
step-generation 86.90% <ø> (ø)

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

Files Coverage Δ
step-generation/src/fixtures/commandFixtures.ts 91.48% <ø> (ø)
...neration/src/getNextRobotStateAndWarnings/index.ts 72.85% <ø> (ø)

@jerader jerader requested review from koji and brenthagen December 14, 2023 20:11
Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

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

Followed the test plan and it worked as expected. (OT-2/Flex both protocols passed analysis)

@jerader jerader merged commit 6474aa2 into edge Dec 14, 2023
18 checks passed
@jerader jerader deleted the pd_emit-drop-tip-in-place-still branch December 14, 2023 22:26
ncdiehl11 pushed a commit that referenced this pull request Dec 19, 2023
#14203)

emit dropTipInPlace after moveToAddressableAreaForDropTip commands in step-generation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants