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

fix(api): do not include HEPA-UV in motor nodes #14478

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

ahiuchingau
Copy link
Contributor

Overview

We should exclude hepa uv and its bootloader node from the motor nodes, so we don't get a timeout response fetching motor position from them.

@ahiuchingau ahiuchingau requested a review from a team as a code owner February 12, 2024 21:09
Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (86c138b) 67.78% compared to head (4217b3d) 67.78%.
Report is 1 commits behind head on chore_release-7.2.0.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##           chore_release-7.2.0   #14478   +/-   ##
====================================================
  Coverage                67.78%   67.78%           
====================================================
  Files                     2519     2519           
  Lines                    72012    72012           
  Branches                  9263     9263           
====================================================
  Hits                     48814    48814           
  Misses                   20991    20991           
  Partials                  2207     2207           
Flag Coverage Δ
g-code-testing 92.43% <ø> (ø)

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

Files Coverage Δ
...rc/opentrons/hardware_control/backends/ot3utils.py 94.11% <ø> (ø)

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

oh yeah, nice catch
Looks good, just left a small comment.

@@ -351,8 +351,13 @@ def motor_nodes(devices: Set[FirmwareTarget]) -> Set[NodeId]:
NodeId.head_bootloader,
NodeId.gripper_bootloader,
}
hepa_nv_nodes = {
Copy link
Contributor

Choose a reason for hiding this comment

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

typo?
hepa_uv_nodes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol yep u != n, who would have thought

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.

Looks good, let's fix the typo tho

@ahiuchingau ahiuchingau merged commit 1fb881f into chore_release-7.2.0 Feb 12, 2024
22 checks passed
@ahiuchingau ahiuchingau deleted the fix_motor-nodes branch February 12, 2024 22:34
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