Fix sla checks being skipped when the later task instance is skipped#30523
Fix sla checks being skipped when the later task instance is skipped#30523doiken wants to merge 2 commits intoapache:mainfrom
Conversation
airflow/dag_processing/processor.py
Outdated
There was a problem hiding this comment.
Remove or_ if you want to leave only one condition.
|
I sm noy that familiar with the states here, But I am not sure if we want to do it, so I will defer to others, but we think about deprecating the whole SLA feature due to it's misbehaviours (see Draft AIP here https://cwiki.apache.org/confluence/display/AIRFLOW/%5BWIP%5D+AIP-57+SLA+as+a+DAG-Level+Feature) , so I am not sure if we want to invest into changing what we know is already pretty broken. |
d8805bb to
77ad6c1
Compare
|
Thank you for letting me know about your plans. I have corrected your point for now. |
77ad6c1 to
2a482f3
Compare
|
I rebased it now to account for fix to mssql, but I think this one needs input from others |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
|
There is a conflicting file, but I will leave it as is for stale. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
In the following code, even though t1 does not become "success",
no SLA miss occurs because the state of the subsequent t1 becomes "skipped".
In this PR, we would like to correct only the following behavior
I believe the state=skipped behavior expected in the following PR is preserved.
#3370