hsnprsd opened a new issue #13150:
URL: https://github.com/apache/airflow/issues/13150


   **Description**
   
   As of now, there is a on/off switch in the Web UI which can be used to make 
a dag not get scheduled untill you turn the dag on.
   I think the same feature can be implemented to mark a single task as 
skipped/failed in a dag.
   It can be an explicit mark as failed/skipped. It can also not schedule the 
task for running until it gets unpaused and it can reschedule the task then 
based on the catch_up parameter of the dag/task.
   
   **Use case / motivation**
   
   I think it is a common use case when there is a bug in some task and you 
don't want to waste resources on scheduling and running a failing task for a 
short period of time until you debugged it and the task runs successfully.
   Using the current tools you should remove the task from the dags in the 
dags_folder which is not desired.
   
   **Are you willing to submit a PR?**
   
   I can create a PR for this feature but I just wanted to know If I am missing 
some features that airflow has that can make these tasks simpler and it would 
be a waste of time to implement this feature.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to