> It's indeed not related to DABs itself but most likely related to your project or system setup
Clearing the .databricks local directory and bundle uploads on the Databricks workspace fixed this issue. As @benedikt-mayer said the CLI was trying to remove a lot of the existing files which were not supposed to be synced anymore. So I think this is something that should be handled by the databricks cli and is not an issue of the local system setup or project and should be an issue that has to be fixed in databricks cli.
Clearing the .databricks local directory and bundle uploads on the Databricks workspace fixed this issue. As @benedikt-mayer said the CLI was trying to remove a lot of the existing files which were not supposed to be synced anymore. So I think this is something that should be handled by the databricks cli and is not an issue of the local system setup or project and should be an issue that has to be fixed in databricks cli.
Originally posted by @tarique-msci in https://github.com/databricks/cli/issues/1707#issuecomment-2310021400