sunank200 commented on PR #51101: URL: https://github.com/apache/airflow/pull/51101#issuecomment-2911749491
> > > The linked issue is that when a dag version is deleted it deletes the TI see #49580. but I think you are fixing a case where the TI is deleted and it's deleting the dag version. Do we have an end point that deletes dag version? I don't think it's right to have an end point that delete things anymore, not even TIs > > > > > > @ephraimbuddy, it is the case of accidental deletion of dag_version. If it is deleted manually, the task instance is also deleted. That is not right. I have already mentioned #49580 in the PR description. > > How do we accidentally delete dag_version. it shouldn't be happening > > If a user is using db cleanup, I'm of the opinion that when dag version is deleted, the associated TIs, dag_run etc should also be deleted. By accidental delete, I mean user deleting from database. More context on discussion here: https://github.com/apache/airflow/pull/50922#issuecomment-2905020582 -- 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]
