Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

add unstage for zocalo #1084

Merged
merged 6 commits into from
Jan 22, 2024
Merged

add unstage for zocalo #1084

merged 6 commits into from
Jan 22, 2024

Conversation

dperl-dls
Copy link
Collaborator

Required for DiamondLightSource/dodal#300

To test:

  1. Run tests against version of dodal in linked PR

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3c89558) 93.35% compared to head (d1e2d97) 93.35%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1084   +/-   ##
=======================================
  Coverage   93.35%   93.35%           
=======================================
  Files          62       62           
  Lines        2919     2921    +2     
=======================================
+ Hits         2725     2727    +2     
  Misses        194      194           

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

Copy link
Collaborator

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great thanks, just one comment

Comment on lines 241 to 243
yield from bps.stage(
fgs_composite.zocalo
) # connect to zocalo and make sure the queue is clear
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: I'm a bit worried that we're not explicitly waiting on the queue being cleared. If we run this without specifying wait I think the behaviour looks to be that it will just not wait so we end up assuming the 2s queue clear is less than the first zocalo message we actually want. Probably a reasonable assumption but I would prefer if we put this in a group that we do wait on at some point, not sure when we would though?

Copy link
Collaborator

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great, thanks @dperl-dls!

@DominicOram DominicOram merged commit 67d8612 into main Jan 22, 2024
7 checks passed
@DominicOram DominicOram deleted the dodal_298 branch January 22, 2024 10:49
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this pull request Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants