Skip to content

hyperion-supervisor monitoring of hyperion-blueapi progress + alerts for no beam and other cases where hyperion is stuck#1633

Open
rtuck99 wants to merge 9 commits into1564_unable_to_serialize_load_centre_collectfrom
1362_progress_monitoring
Open

hyperion-supervisor monitoring of hyperion-blueapi progress + alerts for no beam and other cases where hyperion is stuck#1633
rtuck99 wants to merge 9 commits into1564_unable_to_serialize_load_centre_collectfrom
1362_progress_monitoring

Conversation

@rtuck99
Copy link
Contributor

@rtuck99 rtuck99 commented Feb 18, 2026

Fixes

Depends on

(remember to update pyproject.toml with the dodal commit tag if you need it for tests to pass!)

When running in blueapi mode, hyperion-supervisor now monitors the progress of the call to hyperion-blueapi.
If hyperion-blueapi makes no progress for 10 minutes:

  • If hyperion-blueapi is waiting for xbpm feedback (no beam), then hyperion will raise an alert every 10 minutes until beam feedback is ok
  • If hyperion-blueapi is not waiting for xbpm feedback, then hyperion will raise an error alert, abort the current collection and hand the baton back.

Instructions to reviewer on how to test:

  1. Tests pass
  2. Hyperion behaves as above
  3. Documentation is correct

Checks for reviewer

  • Would the PR title make sense to a user on a set of release notes

@rtuck99 rtuck99 added enhancement New feature or request hyperion Issues for Hyperion, the Bluesky UDC stack labels Feb 18, 2026
@rtuck99 rtuck99 changed the base branch from main to 1564_unable_to_serialize_load_centre_collect February 18, 2026 11:15
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 98.59155% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.90%. Comparing base (0039c45) to head (c5892f9).

Additional details and impacted files
@@                               Coverage Diff                                @@
##           1564_unable_to_serialize_load_centre_collect    #1633      +/-   ##
================================================================================
+ Coverage                                         92.86%   92.90%   +0.04%     
================================================================================
  Files                                               156      157       +1     
  Lines                                              8698     8768      +70     
================================================================================
+ Hits                                               8077     8146      +69     
- Misses                                              621      622       +1     
Components Coverage Δ
i24 SSX 78.60% <ø> (ø)
hyperion 98.25% <98.59%> (+<0.01%) ⬆️
other 98.23% <ø> (ø)
🚀 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 February 18, 2026 13:18
@rtuck99 rtuck99 requested a review from a team as a code owner February 18, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request hyperion Issues for Hyperion, the Bluesky UDC stack

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hyperion: Think of a way to do a global timeout/heartbeat for plans as well callbacks

1 participant

Comments