Log info about task instance clearing/marking as succcess/failure
When a task is cleared or marked as failed/successful, we do not have much information other than that the state of the task instance has been externally set to restarting, succes or failed.
This PR adds information about this clearing/marking as success or failed in the log so that users can know exactly what happened.
To make this work, I had to introduce session to TaskContextLogger as without it, when the log is sent, the task instance fails.
Clearing a task from the UI:
Marking failed from the UI
@ephraimbuddy would it be helpful to also log the user that performed the clear/delete action?
@ephraimbuddy would it be helpful to also log the user that performed the clear/delete action?
I don't think it will be possible but I will check.
This broke REST API clearing/marking as failed/success. Still investigating
This broke REST API clearing/marking as failed/success. Still investigating
This has been resolved
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.