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

   Closes: https://github.com/apache/airflow/issues/31555
   
   The state management has been relocated from the `mark_task` module to the 
`DagRun`'s set state.
   Changes to attributes were implemented in accordance with the following 
table:
   
   | Old State \ New State| QUEUED                        | RUNNING             
                                | SUCCESS                      | FAILED         
              |
   
|----------------------|-------------------------------|-----------------------------------------------------|------------------------------|------------------------------|
   | None                 | queued_at = timezone.utcnow() | if empty: 
start_date = timezone.utcnow()<br />end_date = None | end_date = 
timezone.utcnow() | end_date = timezone.utcnow() |
   | QUEUED               | queued_at = timezone.utcnow() | if empty: 
start_date = timezone.utcnow()<br />end_date = None | end_date = 
timezone.utcnow() | end_date = timezone.utcnow() |
   | RUNNING              | queued_at = timezone.utcnow()<br />start_date = 
None<br />end_date = None |                    | end_date = timezone.utcnow() | 
end_date = timezone.utcnow() |
   | SUCCESS              | queued_at = timezone.utcnow()<br />start_date = 
None<br />end_date = None | start_date = timezone.utcnow()<br />end_date = None 
|                              |                              |
   | FAILED               | queued_at = timezone.utcnow()<br />start_date = 
None<br />end_date = None | start_date = timezone.utcnow()<br />end_date = None 
|                              |                              |
   
   Now it's look like:
   
![screen-recording-2023-12-09-at-192842](https://github.com/apache/airflow/assets/54231417/1deb4131-995a-447c-89c8-b38aaa6aa44a)


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