[GitHub] [airflow] nehemiascr commented on issue #32375: sqlalchemy.exc.ResourceClosedError when updating a task instance's executor_config from a task_instance_mutation_hook

2023-07-13 Thread via GitHub
nehemiascr commented on issue #32375: URL: https://github.com/apache/airflow/issues/32375#issuecomment-1634466429 Jens, I added `finally:` statements to the code and the issue still persists, to answer your question, yes, it is a different MySQL database, airflow is running on its own Postg

[GitHub] [airflow] nehemiascr commented on issue #32375: sqlalchemy.exc.ResourceClosedError when updating a task instance's executor_config from a task_instance_mutation_hook

2023-07-11 Thread via GitHub
nehemiascr commented on issue #32375: URL: https://github.com/apache/airflow/issues/32375#issuecomment-1630675549 Jens, thank you for your response I tried with Airflow 2.6.2 and through the UI, same error I noticed that the error occurs after reading from an external database, I get a

[GitHub] [airflow] nehemiascr commented on issue #32375: sqlalchemy.exc.ResourceClosedError when updating a task instance's executor_config from a task_instance_mutation_hook

2023-07-05 Thread via GitHub
nehemiascr commented on issue #32375: URL: https://github.com/apache/airflow/issues/32375#issuecomment-1622040653 it keeps happening later in the code, when airflow is processing multiple task instances -- This is an automated message from the Apache Git Service. To respond to the messag

[GitHub] [airflow] nehemiascr commented on issue #32375: sqlalchemy.exc.ResourceClosedError when updating a task instance's executor_config from a task_instance_mutation_hook

2023-07-05 Thread via GitHub
nehemiascr commented on issue #32375: URL: https://github.com/apache/airflow/issues/32375#issuecomment-1621874635 If I comment out the line ```python dag_run_conf = ti.get_dagrun() ``` Then it works -- This is an automated message from the Apache Git Service. To respond to the