amoghrajesh commented on code in PR #72100:
URL: https://github.com/apache/airflow/pull/72100#discussion_r3976302024


##########
airflow-core/src/airflow/api_fastapi/core_api/services/public/task_instances.py:
##########
@@ -74,21 +88,29 @@ def _clear_task_state_store_on_success(tis: Sequence[TI], 
session: Session) -> N
         try:
             backend.clear(scope=scope, session=session)
             log.info(
-                "Cleared task state on success",
+                event,

Review Comment:
   Replaced the per TI `log.info` with a single summary line after the loop 
reporting how many entries were discarded. The `log.warning` branch now 
includes `map_index` and `exc_info=True`.



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