Skip to content

Loosen how close blower temperature needs to be - #2234

Merged
DominicOram merged 3 commits into
mainfrom
2233_wait_for_temp_within_1C
Oct 13, 2026
Merged

DominicOram merged 3 commits into
mainfrom
2233_wait_for_temp_within_1C

Conversation

@DominicOram

Copy link
Copy Markdown
Contributor

Fixes #2233

Instructions to reviewer on how to test:

  1. Confirm code looks good

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards
  • If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
  • Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

@DominicOram
DominicOram requested a review from a team as a code owner October 12, 2026 13:49
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (f96fef4) to head (45a1e85).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2234   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files         369      369           
  Lines       14508    14513    +5     
=======================================
+ Hits        14405    14410    +5     
  Misses        103      103           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jacob-williamson jacob-williamson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, one question in the code

Comment on lines +139 to +142
def null_callback(*_, **__):
return None

callback_on_mock_put(blower.temperature._temperature_sp, null_callback)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the callback needed for?

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.

Good spot, ta

@DominicOram
DominicOram enabled auto-merge (squash) October 13, 2026 07:49
@DominicOram
DominicOram merged commit eb3766a into main Oct 13, 2026
9 checks passed
@DominicOram
DominicOram deleted the 2233_wait_for_temp_within_1C branch October 13, 2026 07:54
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.

I15-1: Blower should wait for temp to be within 1C

2 participants