-
-
Notifications
You must be signed in to change notification settings - Fork 277
fix: while_executing
should not invoke conflict strategy when the job was successfully executed.
#806
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
Conversation
while_executing
should not invoke conflict strategy when it was successfully executed.while_executing
should not invoke conflict strategy when the job was successfully executed.
while_executing
should not invoke conflict strategy when the job was successfully executed.while_executing
should not invoke conflict strategy when the job was successfully executed.
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
There were some linting failures unrelated with the files I've touched, not sure why. I've corrected those as well now to make sure the pipeline passes. |
Hi @mhenrixon and @leandrogoe , was this fix supposed to go to the |
@sfavrinlumint I made it for the 7.1 because I was using 7.1.30 and hence needed a fix in that branch. Another PR will be needed for 8.X |
Are there plans to publish a release for this fix? |
Currently, the
WhileExecuting
lock only works properly if the middleware chain downstream returns a truthy value.When a falsey value is returned, the on-conflict strategy is invoked, which shouldn't happen.
Originally reported here.