notatallshaw-gts commented on PR #27111:
URL: https://github.com/apache/airflow/pull/27111#issuecomment-1313106307

   > With my Airflow (1.14.15), the SLA miss was not detected in your scenario 
(#26566) until the second DAG run.
   > 
   > I might have found the reason. Airflow 1.14.15 does check for the SLA one 
interval ahead of each task, but it does so for SUCCESS/SKIPPED tasks only, not 
the currently running tasks. When a new run is triggered, the SUCCESS/SKIPPED 
tasks from the _previous_ run will be one interval behind, so looking one 
interval ahead works for these tasks. That’s when the SLA miss is triggered. 
Definitely later than I expected.
   
   Do you mean 1.10.15? Regardless this fits with the experience of SLAs I had 
with Airflow 1.x era, that is they came much later than I expected and I didn't 
find them useful
   
   Fortunately I currently only have to work with Airflow 2.x instances, and I 
have been setting up a lot of SLAs recently and my practical experience of them 
is they work as I've described in this PR.


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