shaealh opened a new pull request, #65926:
URL: https://github.com/apache/airflow/pull/65926

   Fixes #65366.
   
   Preserves retry attempt metadata before recording TaskInstanceHistory so 
historical retry rows keep fields such as hostname, start_date, end_date, and 
duration.
   
   Tests:
   - AIRFLOW_HOME=/tmp/airflow-tests-65366-api uv run pytest 
airflow-core/tests/unit/api_fastapi/execution_api/versions/head/test_task_instances.py
 --with-db-init
   - AIRFLOW_HOME=/tmp/airflow-tests-65366-models uv run pytest 
airflow-core/tests/unit/models/test_taskinstance.py -k history --with-db-init
   - AIRFLOW_HOME=/tmp/airflow-tests-65366-scheduler uv run pytest 
airflow-core/tests/unit/jobs/test_scheduler_job.py -k 
test_adopt_or_reset_resettable_tasks --with-db-init
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to