-
Notifications
You must be signed in to change notification settings - Fork 6
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
Failure to reload the subprocess gets blueapi into an unrecoverable state #512
Comments
The cause of this is that in the endpoint for environment DELETE, the context is only restarted if there exists an initialized context already. The intention was to prevent repeated calls to the endpoint from "stacking up" however on reflection this might not really have been addressed. When there is a failure the initialized property on SubprocessHandler is never set to true. We should add an error property to the environment context to allow it to restart if there are errors too. It can be added to the environment entity. |
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
I think with #504 we wouldn't have this kind of issue |
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
It is the worker state rather than the overall state of blueapi. The "state" name may be used to replace the current "initialized" in order to provide more context about the "environment" Prerequisite to #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error field to the environment. This is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized. Note that the property has only been added to SubprocessHandler as the BlueskyHandler ABC is likely to be removed. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
This adds a new error_message field to the environment. Its presence is now checked against when attempting to delete the environment as if there is an error the handler is never set to initialized, so previously could not be reloaded. Fixes #512.
To reproduce:
The text was updated successfully, but these errors were encountered: