Skip to content

feat(api): add StopVacuum command#21111

Merged
caila-marashaj merged 11 commits intoedgefrom
stop-vacuum-pe-command
Apr 3, 2026
Merged

feat(api): add StopVacuum command#21111
caila-marashaj merged 11 commits intoedgefrom
stop-vacuum-pe-command

Conversation

@caila-marashaj
Copy link
Copy Markdown
Contributor

@caila-marashaj caila-marashaj commented Mar 25, 2026

Overview

First Vacuum Module protocol engine command WOO

This implements the StopVacuum command, and completes the backend wiring necessary to run it.

Review Requests

I figured a natural state_update that might result from this command is specifying to the protocol engine whether the pump is running, but this doesn’t need to be used yet so I’m not sure if it’s necessary. lmk if I should take it out.

@caila-marashaj caila-marashaj marked this pull request as ready for review March 25, 2026 18:10
@caila-marashaj caila-marashaj added the gen-analyses-snapshot-pr Generate a healing PR if the analyses snapshot test fails label Mar 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21112

Copy link
Copy Markdown
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.

Could things outside the control of the engine change the pump-engaged state? Like is the engine in control of that, or is it observing it?

Comment thread api/src/opentrons/protocol_engine/commands/vacuum_module/stop_vacuum.py Outdated
Comment thread api/src/opentrons/protocol_engine/commands/vacuum_module/stop_vacuum.py Outdated
@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21112

@caila-marashaj caila-marashaj requested a review from sfoster1 March 25, 2026 19:00
@caila-marashaj caila-marashaj added gen-analyses-snapshot-pr Generate a healing PR if the analyses snapshot test fails and removed gen-analyses-snapshot-pr Generate a healing PR if the analyses snapshot test fails labels Mar 25, 2026
Copy link
Copy Markdown
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.

oh we need to do a schema update!

Copy link
Copy Markdown
Contributor

@vegano1 vegano1 left a comment

Choose a reason for hiding this comment

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

Nice! thank you!

Copy link
Copy Markdown
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.

all those analysis snapshots seem to be going from working to failing, since they have -100k lines each

@@ -1,7 +1,7 @@
{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hey uhhhhh what's goin on here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have no idea, that was in some automated fix

@caila-marashaj caila-marashaj force-pushed the stop-vacuum-pe-command branch from 2a2ed4d to c7247a3 Compare March 26, 2026 17:29
@caila-marashaj caila-marashaj requested review from a team as code owners March 26, 2026 17:29
@caila-marashaj caila-marashaj requested review from ncdiehl11 and removed request for a team March 26, 2026 17:29
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.06%. Comparing base (21d8355) to head (d106478).
⚠️ Report is 3 commits behind head on edge.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #21111   +/-   ##
=======================================
  Coverage   57.06%   57.06%           
=======================================
  Files        3970     3970           
  Lines      325506   325506           
  Branches    46350    46350           
=======================================
  Hits       185743   185743           
  Misses     139544   139544           
  Partials      219      219           
Flag Coverage Δ
app 45.11% <ø> (ø)
protocol-designer 19.97% <ø> (ø)
step-generation 5.69% <ø> (+<0.01%) ⬆️

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

🚀 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.

@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21123

@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21123

@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21123

@github-actions
Copy link
Copy Markdown
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21143

@caila-marashaj caila-marashaj force-pushed the stop-vacuum-pe-command branch from 270c54f to ecd2fae Compare April 2, 2026 19:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

A PR has been opened to address analyses snapshot changes. Please review the changes here: #21143

@caila-marashaj caila-marashaj force-pushed the stop-vacuum-pe-command branch from ecd2fae to d106478 Compare April 3, 2026 05:07
@caila-marashaj caila-marashaj removed the gen-analyses-snapshot-pr Generate a healing PR if the analyses snapshot test fails label Apr 3, 2026
@caila-marashaj caila-marashaj dismissed sfoster1’s stale review April 3, 2026 16:35

fixed analysis errors + removed analysis result changes

@caila-marashaj caila-marashaj merged commit 7bd2767 into edge Apr 3, 2026
136 checks passed
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.

3 participants