uranusjr commented on issue #19196:
URL: https://github.com/apache/airflow/issues/19196#issuecomment-953558714


   A DAG run cannot be marked as skipped. A task instance can. I quickly 
checked and this is probably doable, I don't think there are special rules 
regarding skipped tasks that don't work if the state is set after the task 
starts running.
   
   But to be honest, personally I don't feel "marking a completed task instance 
as skipped" is more semantic than setting it to success, because the task 
instance is pretty obviously not skipped. Maybe it's best to introduce 
something specific for this, like how unit test frameworks have distinct 
`xfail` and `skip` concepts.


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