Repository navigation
Add a device state plan stub - #2267
Merged
Merged
Conversation
oliwenmandiamond
requested review from
DG-At-Diamond,
DominicOram,
EmsArnold,
Relm-Arrowny,
noemifrisina and
rtuck99
and removed request for
a team
November 12, 2026 11:13
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2267 +/- ##
=======================================
Coverage 99.30% 99.30%
=======================================
Files 378 379 +1
Lines 14876 14893 +17
=======================================
+ Hits 14773 14790 +17
Misses 103 103 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…/dodal into state_plan_stub
DominicOram
approved these changes
Nov 12, 2026
DominicOram
left a comment
Contributor
There was a problem hiding this comment.
Looks like it could be useful, thanks
DG-At-Diamond
approved these changes
Nov 12, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When working with devices, it is often useful to inspect their current state, including the positions and readings of all readable child devices throughout the device hierarchy.
This plan provides a convenient way to obtain a snapshot of a device's state without manually reading each child individually. Unlike the standard Bluesky
readplan, which only reads signals exposed through a device's read() implementation, this plan recursively traverses the device tree and reads all readable children. This includes signals that may not be included in data collection, but are still useful for debugging or understanding the current state of a device.This is also fully compatible with blueapi. Have tested below:
Instructions to reviewer on how to test:
Checks for reviewer
dodal connect ${BEAMLINE}