Skip to content

Ensure BlueAPI can start without all devices being present #381

Closed

Description

@Tom-Willemsen

During the course of regular Tuesday tests on i22, we saw that BlueAPI doesn't start up if not all devices connect.

We should make blueapi able to start without all devices being present, so that:

  • It is easier to debug
    • When it fails to start it enters a restart loop in k8s, this makes it annoying to even see the stack trace of why it failed to start
    • If it starts (and then fails when a relevant plan is first used) it can propagate a sensible error back to GDA, which will minimise support calls if the propagated error is good enough for scientists to fix the problem themselves.
  • BlueAPI remains usable on i22.
    • e.g. the linkam is a temporary piece of equipment that will not usually be plugged in, this should not cause all of blueapi to fail if we actually only want to run an unrelated plan

MX want the fail-on-startup behaviour though, so we should keep that as an option that MX can enable for some devices if needed. Related hyperion issue: DiamondLightSource/hyperion#1020

Relevant slack discussion: https://diamondlightsource.slack.com/archives/C06EXN5HN6T/p1709050416456819

Required for smooth running of stop-flow experiment on i22 in June.

Activity

  1. added
    enhancement
    question
    c: worker
    on Mar 4, 2024
  2. callumforrester commented on Jul 8, 2024

    @callumforrester
    Contributor

    This was done in #468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: workerenhancementquestion

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions