-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Missing cancel requester #831
Conversation
Draft because based on => rebase required once this branch is merged |
9578e55
to
233ea7f
Compare
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.
Thank you for the annoying simulation of this in the test 👍
Please add a few comments as suggested inline. This will greatly help future us I predict 😉
dispatcher/backend/src/tests/integration/routes/business_logic/test_task_cancel_bl.py
Show resolved
Hide resolved
dispatcher/backend/src/tests/integration/routes/business_logic/test_task_cancel_bl.py
Show resolved
Hide resolved
dispatcher/backend/src/tests/integration/routes/business_logic/test_task_cancel_bl.py
Outdated
Show resolved
Hide resolved
dispatcher/backend/src/tests/integration/routes/business_logic/test_task_cancel_bl.py
Outdated
Show resolved
Hide resolved
b338c91
to
48be807
Compare
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.
👍
Rationale
Fix #814
Changes
canceled_by
property when thecancel
event is received and this property was not already set by a cancel requestercanceled_by
property on thecancel_requested
event when the cancellation is not yet effective (otherwise the property is not visible until the cancellation is effective, even if present in the API)reserved_by
instead ofcanceled_by
inutils.py