Skip to content

i15-1: Don't pause on no sample error - #128

Merged
jacob-williamson merged 1 commit into
88_add_plugin_hooksfrom
115_do_not_pause_on_sample_not_present
Sep 30, 2026
Merged

jacob-williamson merged 1 commit into
88_add_plugin_hooksfrom
115_do_not_pause_on_sample_not_present

Conversation

@jacob-williamson

Copy link
Copy Markdown
Collaborator

Fixes #115

@jacob-williamson
jacob-williamson marked this pull request as ready for review September 29, 2026 13:26
@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.44%. Comparing base (c90a43f) to head (2bfc693).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           88_add_plugin_hooks     #128   +/-   ##
====================================================
  Coverage                98.44%   98.44%           
====================================================
  Files                       21       21           
  Lines                     1094     1094           
====================================================
  Hits                      1077     1077           
  Misses                      17       17           

☔ 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.

@jacob-williamson jacob-williamson changed the title Don't pause on no sample error i15-1: Don't pause on no sample error Sep 29, 2026
)
return call_list

def pause_on_fail_blueapi_call(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We may want to add a check here that the missing sample isn't in the standards puck

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.

Yes but seems unlikely, feel free to spin into a new issue

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

This looks good, thank you! Does the queue continue happily after it e.g. do we clear the robot error if needed?

)
return call_list

def pause_on_fail_blueapi_call(

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.

Yes but seems unlikely, feel free to spin into a new issue

@jacob-williamson

Copy link
Copy Markdown
Collaborator Author

Yeah I've hotfixed the robot to clear on robot load if the control error is the no sample one. Can make a PR for this in xtal-bluesky, or focus on adding the reset to the queue itself

@jacob-williamson
jacob-williamson merged commit 1962893 into main Sep 30, 2026
22 checks passed
@jacob-williamson
jacob-williamson deleted the 115_do_not_pause_on_sample_not_present branch September 30, 2026 09:12
@DominicOram

Copy link
Copy Markdown
Contributor

Yeah I've hotfixed the robot to clear on robot load if the control error is the no sample one. Can make a PR for this in xtal-bluesky, or focus on adding the reset to the queue itself

I actually think it's probably good behavior for the robot to clear the no sample error, maybe with a warning in the logs? It's probably useful when you're running outside the queue

This branch was previously deployed

1 inactive deployment
release — 2bfc693d Deployed Sep 29, 2026 by jacob-williamson via pypi / upload #439
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.

i15-1: Samples not being present is a warning not an error

2 participants