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(hardware): increase firmware update speed #11898

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

pmoegenburg
Copy link
Member

@pmoegenburg pmoegenburg commented Dec 15, 2022

Previously, thread management issues resulted in intermittent delays during the firmware update process. This PR introduces an isolated ThreadPoolExecutor that eliminates these issues. As verified on an OT3, update time drops from roughly 100s to roughly 50s.

First improvement found during RCORE-288 ticket work.

@pmoegenburg pmoegenburg added hardware spike Unsized research spike ticket labels Dec 15, 2022
@pmoegenburg pmoegenburg self-assigned this Dec 15, 2022
@pmoegenburg pmoegenburg requested a review from a team as a code owner December 15, 2022 21:21
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.

Excellent. Love a very small change that massively improves things.

@codecov
Copy link

codecov bot commented Dec 15, 2022

Codecov Report

Merging #11898 (c4c0902) into edge (f45237a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #11898   +/-   ##
=======================================
  Coverage   73.96%   73.96%           
=======================================
  Files        2141     2141           
  Lines       58674    58676    +2     
  Branches     6294     6294           
=======================================
+ Hits        43399    43401    +2     
  Misses      13795    13795           
  Partials     1480     1480           
Flag Coverage Δ
hardware 58.30% <100.00%> (+0.01%) ⬆️
notify-server 89.13% <ø> (ø)

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

Impacted Files Coverage Δ
...dware/opentrons_hardware/drivers/can_bus/driver.py 81.25% <100.00%> (+0.81%) ⬆️

@pmoegenburg pmoegenburg merged commit f36eea1 into edge Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware spike Unsized research spike ticket
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants