-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run plans without a message bus (server) #426
Comments
In the Terminal 2 the example is given for the CLI which should raise exceptions when trying to run #427 (comment) This test can be improved after we make progress on #360 There are tests added to check if the message bus use is guarded The changes mentioned are in this PR: #433 |
Blueapi can start up without connecting to a message bus but fails to run any plans because the message bus is currently interconnected with the worker.
To Reproduce
Terminal 1
# start blueapi server blueapi serve
Terminal 2
Possible solution
Make the message template an optional part of the handler and make it
None
if connection fails. Perform None-checks on it wherever it is used. Hopefully if its type is declared as optional in all the right places mypy should point out all the usages where it is assumed to be present.Acceptance Criteria
The text was updated successfully, but these errors were encountered: