steveahnahn opened a new pull request, #58588:
URL: https://github.com/apache/airflow/pull/58588

   ## Problem
   When a Dag times out due to dagrun_timeout, unfinished task instances are 
marked as SKIPPED. However, their end_date remains null, causing the task 
duration to continuously increase in the UI as it's calculated as current_time 
- start_date.
   
   ## Solution
   Since SKIPPED is a finished state (State.finished includes SKIPPED), change 
includes the set_state() method so it properly sets these fields as direct 
assignment skips this logic.
   
   ## Related Issues
   - Fixes #58536 
   
   ## Possible followup:
   - Related to #30264 - The issue mentions triggering on_skipped_callback when 
tasks are skipped due to timeout. This PR does not implement callback 
triggering.


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