What would happen if had airflow dags running concurrently where tasks (say BashOperator
s) each modified the same env variable? Would both tasks see the change from the other? Would airflow run into race conditions or would the env changes only affect the scripts in isolation?
I would normally think that the env changes would be self contained in this case, but asking because did have a problem with ariflow in the past where setting os.environ[...]
values (at the dag definition level) affected all dags.
* Could not currently test myself because having other problems setting up LocalExecutor
mode.