kaxil opened a new issue, #76779:
URL: https://github.com/apache/airflow/issues/76779

   In Airflow 2, `airflow tasks clear` also cleared the tasks the selected 
`ExternalTaskMarker`s point at, and their downstream tasks, in the other Dags, 
unless `--exclude-subdags` was passed. The command called `DAG.clear_dags(..., 
include_subdags=not args.exclude_subdags)`, and `include_subdags` turned on the 
marker cascade.
   
   #75874 brings the cascade back for task instance clears through the REST API 
and the UI only. The CLI command clears the selected Dags and nothing else.
   
   The command could follow the same targets with `find_dependent_clears`, 
behind a flag that replaces `--exclude-subdags`, so a clear from the CLI and 
one from the UI reach the same tasks.
   


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