jscheffl commented on code in PR #68028:
URL: https://github.com/apache/airflow/pull/68028#discussion_r3364758987


##########
airflow-core/src/airflow/utils/log/file_task_handler.py:
##########
@@ -648,7 +648,11 @@ def _read(
             worker_log_full_path = Path(self.local_base, worker_log_rel_path)
             sources, local_logs = self._read_from_local(worker_log_full_path)
             source_list.extend(sources)
-        if ti.state in (TaskInstanceState.RUNNING, TaskInstanceState.DEFERRED) 
and not has_k8s_exec_pod:
+        if (
+            ti.state
+            in (TaskInstanceState.RUNNING, TaskInstanceState.DEFERRED, 
TaskInstanceState.AWAITING_INPUT)

Review Comment:
   Are you sure you want to attempt reading logs from server is no server has 
the task active in awaiting input?



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