You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "joeknize-bc (via GitHub)" <gi...@apache.org> on 2023/08/24 16:59:36 UTC

[GitHub] [airflow] joeknize-bc commented on issue #33698: UI DAG counts including deleted DAGs

joeknize-bc commented on issue #33698:
URL: https://github.com/apache/airflow/issues/33698#issuecomment-1692087628

   > Remove dag file does not remove the records from the DB.
   > the DAG entries are left. If you want to remove the history you need to remove the records
   
   This isn't about history, this is about how many DAGs are in my Airflow instance right now -- that's what I expect to see on the DAGs page.
   
   Also, there is no way that I'm aware of to delete a DAG via the UI once the files are gone. This is new behavior that the [DagModel.deactivate_deleted_dags function](https://github.com/apache/airflow/blob/f971ba2f2f9703d0e1954e52aaded52a83c2f844/airflow/models/dag.py#L3564) seems designed to deal with.
   
   
   
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org