Skip to content

Raise AcquisitionStop timeout for commissioning Jungfrau - #2186

Merged
rtuck99 merged 3 commits into
DiamondLightSource:mainfrom
ndevenish:jungfrau_timeout
Oct 19, 2026
Merged

rtuck99 merged 3 commits into
DiamondLightSource:mainfrom
ndevenish:jungfrau_timeout

Conversation

@ndevenish

Copy link
Copy Markdown
Contributor

AcquisitionStop takes ~20s to complete on the commissioning IOC, longer than ophyd-async's 10s Command default, so unstage() raised TimeoutError after the stop had in fact been accepted. That aborted ensure_stopped() before it reset pedestal mode, left the zebra tidy-up unconfirmed, and dropped any remaining transmissions in the scan request.

Fixes #ISSUE

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}

AcquisitionStop takes ~20s to complete on the commissioning IOC, longer
than ophyd-async's 10s Command default, so unstage() raised TimeoutError
after the stop had in fact been accepted. That aborted ensure_stopped()
before it reset pedestal mode, left the zebra tidy-up unconfirmed, and
dropped any remaining transmissions in the scan request.
@ndevenish
ndevenish requested a review from a team as a code owner August 24, 2026 13:27
@codecov

codecov Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (0655dbb) to head (ff0ec75).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2186   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files         369      369           
  Lines       14517    14519    +2     
=======================================
+ Hits        14414    14416    +2     
  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.

@rtuck99 rtuck99 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.

Approved

@rtuck99
rtuck99 enabled auto-merge (squash) October 16, 2026 09:35
@rtuck99
rtuck99 merged commit 74113d3 into DiamondLightSource:main Oct 19, 2026
10 checks passed
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.

2 participants