-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(task): inactive task runs when updated #22211
fix(task): inactive task runs when updated #22211
Conversation
b1d33ca
to
96f8ff8
Compare
Great job tracking this down @raffs! One other thing you'll need to do is add a test case to show that the bug is fixed. I think you could create a new case in the existing |
96f8ff8
to
12bf341
Compare
Thanks @wbaker85. I have added the test case as requested. Previously, I wasn't entire sure how to create the test case for a tasks that shouldn't be scheduled. But now, I can see that we |
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.
LGTM! The CI failure is unrelated to this PR, we added a new job that apparently doesn't work on PRs from forked repos. We'll patch it up and then a rebase/merge from master
should get this passing.
12bf341
to
cd39740
Compare
Thank you for the info @danxmoran
Great! thanks for the info. |
Closes #21874
When a tasks is being updated, ensure is scheduled only when the tasks status is active. Otherwise, an already-inactivated tasks might be scheduled if the task status is not being changed.