pierrejeambrun commented on code in PR #53024:
URL: https://github.com/apache/airflow/pull/53024#discussion_r2194423183


##########
airflow-core/src/airflow/utils/log/file_task_handler.py:
##########
@@ -482,6 +482,15 @@ def read(
         """
         if try_number is None:
             try_number = task_instance.try_number
+
+        if task_instance.state == TaskInstanceState.SKIPPED:

Review Comment:
   Arf! My first draft was
   ```
           if try_number == 0 and task_instance.state == 
TaskInstanceState.SKIPPED:
   ```
   And i then changed it, I didn't have this case in mind, I guess that would 
fix it.



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