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

feat(app): Add Error Recovery support for in-place commands #16515

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

mjhuff
Copy link
Contributor

@mjhuff mjhuff commented Oct 17, 2024

Closes EXEC-777

Overview

#16510 appears to have fixed most of the inPlace issues we had seen back in 8.0, and it has (hopefully) greatly simplified the additional support the app needs to provide to get inPlace variations of aspirate/dispense working.

This PR just wires up those commands to the appropriate flows.

Test Plan and Hands on Testing

  • Threw an error during a dispenseInPlace using this protocol.
    in_place.json
  • After completing Error Recovery, the run fails shortly after with unexpected "not enough liquid" errors, but this appears to be a separate issue that we are investigating.

Changelog

  • Wired up aspirateInPlace and dispenseInPlace to the appropriate Error Recovery flows.

Risk assessment

low

@mjhuff mjhuff requested a review from a team October 17, 2024 19:12
@mjhuff mjhuff requested a review from a team as a code owner October 17, 2024 19:12
@mjhuff mjhuff requested review from smb2268 and removed request for a team and smb2268 October 17, 2024 19:12
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

One million times easier

} as RunTimeCommand)
expect(result).toEqual(ERROR_KINDS.OVERPRESSURE_WHILE_DISPENSING)
IS_IN_PLACE.forEach(isInPlace => {
it(`returns ${ERROR_KINDS.OVERPRESSURE_WHILE_ASPIRATING} for ${DEFINED_ERROR_TYPES.OVERPRESSURE} errorType when using the inPlace command type is ${isInPlace}`, () => {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oooooooo

@mjhuff mjhuff merged commit e15cbe2 into edge Oct 17, 2024
20 checks passed
@mjhuff mjhuff deleted the app_in-place-recovery branch October 17, 2024 21:30
TamarZanzouri pushed a commit that referenced this pull request Oct 18, 2024
Closes EXEC-777

#16510 appears to have fixed most of the inPlace issues we had seen back in 8.0, and it has (hopefully) greatly simplified the additional support the app needs to provide to get inPlace variations of aspirate/dispense working.

This commit just wires up those commands to the appropriate flows.
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