Did you reproduce this issue with the current Airflow Master? I think the issues was solved in master
On Fri, Dec 6, 2019, 09:37 Vishesh Jain <[email protected]> wrote: > Hi Team > > I am working on JIRA AIRFLOW-5523 > <https://issues.apache.org/jira/browse/AIRFLOW-5523>. > > As per the JIRA, the requirement is to automate the deletion for the dags > whose dag file is not present. > > In the current state, when a user tries to delete a dag from UI whose file > is already present, it fails with the following message: > > [image: Screenshot 2019-12-05 at 2.49.03 PM.png] > > Once this dag file is removed, it becomes a "zombie" dag, as shown below. > [image: image.png] > > In this state, this dag can be deleted from the UI and asks for the > confirmation with warning as: > [image: Screenshot 2019-12-05 at 2.55.25 PM.png] > > One way to remove these zombie dags is to filter these entries from > populating to the UI, ie, entries for which the dag file is not present. > Also, after making this change, the cross button([image: Screenshot > 2019-12-05 at 2.58.30 PM.png]) will also won't make any sense, which can > also be removed. > > Now if the user deletes the dag file, he won't see those dag entries > anymore in the UI. > > Kindly provide your feedback or concerns. > > Thanks ^ Regards > Vishesh Jain >
