uranusjr commented on code in PR #66586:
URL: https://github.com/apache/airflow/pull/66586#discussion_r3219458497


##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -1431,6 +1431,10 @@ def _handle_current_task_success(
 
     task_outlets = list(_build_asset_profiles(ti.task.outlets))
     outlet_events = list(_serialize_outlet_events(context["outlet_events"]))
+
+    if conf.getboolean("state_store", "clear_on_success"):
+        log.warning("Task state will be cleared by the server because 
clear_on_success is enabled.")

Review Comment:
   Maybe use info instead?



-- 
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