The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
7ed62477c67d0c5047bede682c486f7316817fc3 / Daniel Standish 
<[email protected]>
Ensure the "airflow.task" logger used for TaskInstancePydantic and TaskInstance

Airflow TIs are assumed to log to the "airflow.task" logger.  TaskInstance was 
configuring this in the "reconstructor", a sqlalchemy thing that is processed 
on loading from DB.  But there's no equivalent for Pydantic models, and when 
running a task with TaskInstancePydantic, the wrong logger was used (fully 
qualified class name).  When looking for a solution, I saw that LoggingMixin 
will check `_logger_name` and if set will use it.  This works for the pydantic 
model and seems better for TI anyway so I updated both.

Report URL: https://github.com/apache/airflow/actions/runs/8127981316

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to