TaskActivityDispatcher -> set activity to current before middleware (#576)
TaskActivityDispatcher -> set activity to current before middleware (#576)

Quick change to set the current activity before running the middleware pipeline. This allows for accessing Activity.Current during the middleware. Otherwise it is null until the TaskActivity is actually executed.
Azure/durabletask