-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix generic workflow queue entry execute method #870
base: develop
Are you sure you want to change the base?
Fix generic workflow queue entry execute method #870
Conversation
Fork Sync: Update from parent repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the code, the original intent seems to be that the test is done on workflow_running, and that the change with changes of state are dealt with by the workflow_state_handler. If that is not working properly (as apparently it is not) it would be preferable to either fix the workflow-state_handler (instead of just bypassing it), or removing it entirely and working off the states directly. This change is rather a short-term fix, leaving the code complicated to the next person. Could we check with @marcus-oscarsson , who apparently wrote this to start with?
This was done before all hardware objects had a standardized I think we can try this change but we need to test it properly, and in that case remove the |
What Id suggest is, if you feel comfortable with it (it would make the clean up work for me easier) remove the |
@marcus-oscarsson Your last proposal sounds fine. Anyway, the GPhL workflow does not use this class, so whatever works, ... |
@fhernandezvivanco: What did you decide to do, are you going for the cleanup ? |
@marcus-oscarsson , sorry for the delay. Happy to clean the class. For some reason I misunderstood and thought you were going for the code cleanup. |
@fhernandezvivanco sorry to bother you with this again, do you think you can rebase this on develop ? and then Ill merge |
Resolves #869