We execute a web request to our service from a job release task since azure batch (as far as I am aware) does not provide hooks for task completion to notify our service of a task completion. We do not want to poll for task completion.
We found that in case of autoscaling our pool down the job release task sometimes seems not to execute. This makes our callback unreliable.
The documentation states "When a job has completed, a job release task runs on each node in the pool that executed at least one task"
What is a reliable way to emit a callback when a task finishes? Is the job release task expected not to run if the pool autoscales - making it virtually useless in case crashdumps or logs need to be uploaded in a release task.