ephraimbuddy commented on code in PR #46178: URL: https://github.com/apache/airflow/pull/46178#discussion_r1935624663
########## RELEASE_NOTES.rst: ########## @@ -21,6 +21,63 @@ .. towncrier release notes start +Airflow 2.10.5 (2025-01-28) +--------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +- Ensure teardown tasks are executed when DAG run is set to failed + + Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. + But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure + or other resources, they were also skipped and thus resources could stay allocated. + + As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown + tasks are executed. Teardown tasks are skipped if the setup was also skipped. + + As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" + will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled + if the DAG is directly set to "failed" or "success". (#45530) + + +Bug Fixes +""""""""" + +- Prevent using ``trigger_rule=TriggerRule.ALWAYS`` in a task-generated mapping within bare tasks (#44751) +- Fix short circuit in mapped tasks (#44912) +- Fix premature evaluation in mapped task group (#44937) +- Fix task_id validation in BaseOperator (#44938) (#44938) +- Allow fetching XCom with forward slash from the API and escape it in the UI (#45134) +- Fix ``FileTaskHandler`` only read from default executor (#46000) +- Fix empty task instance for log (#45702) (#45703) +- Remove ``skip_if`` and ``run_if`` in python source (#41832) (#45680) +- Log action get the correct request body (#45546) (#45560) +- Ensure teardown tasks are executed when DAG run is set to failed (#45530) (#45581) +- Do not update DR on TI update after task execution (#45348) +- Fix update issues for object and advanced-arrays fields when empty default (#45313) (#45315) +- Fixed the endless reschedule (#45224) (#45250) +- Allow fetching XCom with forward slash from the API and escape it in the UI (#45134) (#45137) +- Evaluate None in SQLAlchemy's extended JSON type decorator (#45119) (#45120) +- Allow Dynamic Tasks to be Searchable Using map_index_template (#45109) (#45122) +- Handle relative paths when sanitizing URLs (#41995) (#45080) +- Set Autocomplete Off on Login Form (#44929) (#44940) +- Add Webserver parameters ``max_form_parts``, ``max_form_memory_size`` (#46243) (#45749) +- Fixed thread local _sentinel.callers defect and added test cases (#44646) (#46280) + +Doc Only Changes +"""""""""""""""" + +- Fix code indent in modified docker-compose.yaml for PyCharm (#45545) (#45552) Review Comment: This should be skipped as it's for pycharm -- 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]
