Skip to content

Conversation

@rtuck99
Copy link
Contributor

@rtuck99 rtuck99 commented Jan 5, 2026

Required to address

Requires

Instructions to reviewer on how to test:

  1. Do thing x
  2. Confirm thing y happens

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}

@rtuck99 rtuck99 requested a review from a team as a code owner January 5, 2026 16:04
@rtuck99 rtuck99 marked this pull request as draft January 5, 2026 16:04
@rtuck99 rtuck99 changed the base branch from main to mx-bluesky_1364_fix_generic_params_in_robot_protocol January 5, 2026 16:05
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.14%. Comparing base (9067ea5) to head (46380d0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1804   +/-   ##
=======================================
  Coverage   99.14%   99.14%           
=======================================
  Files         288      289    +1     
  Lines       10957    10970   +13     
=======================================
+ Hits        10863    10876   +13     
  Misses         94       94           

☔ View full report in Codecov by Sentry.
📢 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.

@rtuck99 rtuck99 marked this pull request as ready for review January 5, 2026 16:18
Base automatically changed from mx-bluesky_1364_fix_generic_params_in_robot_protocol to main January 8, 2026 11:30
Copy link
Contributor

@jacob720 jacob720 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 to me (once mx-bluesky side is reviewed), just the one question

@@ -0,0 +1,19 @@
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the purpose of having the supervisor as a beamline seperate to i03? Is this so you can dodal connect i03_supervisor to just get the baton?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The supervisor beamline is loaded into the bluesky context inside the hyperion-supervisor process. It only needs to access the baton as all the devices are interacted with by the hyperion-blueapi blueapi instance.

I think it's cleaner to do it this way rather than loading the main i03 beamline and disabling all the other devices through some special flag, loading i03.py is also quite heavyweight due to all the other things it imports.

Copy link
Contributor

Choose a reason for hiding this comment

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

That makes sense

@rtuck99 rtuck99 force-pushed the mx-bluesky_supervisor branch from a6d7846 to 46380d0 Compare January 15, 2026 15:12
@rtuck99 rtuck99 merged commit 11c03e6 into main Jan 15, 2026
10 checks passed
@rtuck99 rtuck99 deleted the mx-bluesky_supervisor branch January 15, 2026 15:48
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