Skip to content
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

Workflow Resources with wait directives are not added to state file at correct time #358

Open
RichieHowell opened this issue Mar 31, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@RichieHowell
Copy link

Describe the bug
When a workflow resource has a wait directive with a condition in it, the resource is not added to the state file until after the wait directive is complete. Any attempt to recover a workflow that is interrupted in the middle of a wait (which is most times that we need to recover a workflow) runs into an error where the workflow tries to recreate the object with the wait directive since it did not find it in the state file.

To Reproduce
Create a workflow with any resource with a wait directive, run the workflow and then inturrupt it in the middle of the wait direct, try to resume the workflow.

Expected behavior
A workflow which is interrupted in the middle of a wait should continue again at the wait directive.

@deepanjan90 deepanjan90 added the bug Something isn't working label Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants