Skip to content

Add waittime device and test - #2268

Merged
DG-At-Diamond merged 9 commits into
mainfrom
add_waittime_device
Nov 18, 2026
Merged

DG-At-Diamond merged 9 commits into
mainfrom
add_waittime_device

Conversation

@DG-At-Diamond

@DG-At-Diamond DG-At-Diamond commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes: DiamondLightSource/sm-bluesky#431

Instructions to reviewer on how to test:

  1. Run automatic test or create waittime device and test it manually.

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • Does the device follow the standards

@DG-At-Diamond
DG-At-Diamond requested a review from a team as a code owner November 12, 2026 12:41
@codecov

codecov Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.31%. Comparing base (2f13d25) to head (31efdda).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2268   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files         379      380    +1     
  Lines       14945    14965   +20     
=======================================
+ Hits        14842    14862   +20     
  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.

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

Thanks, looks good. The testing part needs some adjustment, I've added some recommendations so aligns more with standard and test performance is not impacted due to waiting x amount of time

Comment thread tests/devices/test_waittime.py Resolved
Comment thread tests/devices/test_waittime.py Resolved
Comment thread src/dodal/devices/waittime.py Resolved
Comment thread tests/devices/test_waittime.py Resolved
Comment thread src/dodal/devices/waittime.py Resolved
Comment thread src/dodal/devices/waittime.py Resolved
Comment thread tests/devices/test_waittime.py Resolved
Comment thread tests/devices/test_waittime.py Resolved

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

Thanks, just the test name then will approve

Comment thread tests/devices/test_waittime.py Resolved
DG-At-Diamond and others added 2 commits November 18, 2026 08:31
@DG-At-Diamond
DG-At-Diamond merged commit f7afd50 into main Nov 18, 2026
11 checks passed
@DG-At-Diamond
DG-At-Diamond deleted the add_waittime_device branch November 18, 2026 10:37
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.

i05 - add waittime device

2 participants