Hi Andy! For looping specifically, each iteration of the loop will be run on the same worker (unless the worker crashes).
Context is never “shared” between task runs - new keys / values are introduced as the pipeline drills down from flow run -> individual task runs. If you are running your flows with a Prefect backend Prefect takes steps to ensure
task_loop_result
is always present and up-to-date for your looped task runs