You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2024/08/01 07:47:51 UTC
[GH] (airflow): Workflow run "Build images for Remove Database Isolation feature flag and run DB isolation tests https://github.com/apache/airflow/pull/41067 " failed!
The GitHub Actions job "Build images for Remove Database Isolation feature flag and run DB isolation tests https://github.com/apache/airflow/pull/41067
" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run:
3ed8a7d8dc1ae617847ef618af1b4dd4ff65826c / Jarek Potiuk <ja...@potiuk.com>
Make task.run work with DB isolation
This PR adds possibility to handle tests that perform task.run
call in DB isolation mode. This call is treated specially - i.e.
it will be possible for the run() method to use the DB directly.
to set up the task but then when _run_raw_task below will use
the DB, there will be an error raised.
That allows to fix the `test_core.py` and likely a number of
other tests that rely on the run() method to run the tests.
This required to improve the _set_ti_attrs method to handle
dag_run inside the task instance pydantic to task instance
mapping - because we are actually using TaskInstance for those
tests not TaskInstancePydantic under the hood.
Related: #41067
Report URL: https://github.com/apache/airflow/actions/runs/10194011071
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org