[BUG] Bundle deploy tries to sync virtualenv (too slow)
Describe the bug With latest version 2.4.2, after creating a new virtual environment in VS Code named .venv, first bundle deploy is very slow without clear output of what is syncing. To work around you need to at virtual environment to .gitignore (or possibly sync -> exclude in the bundle config).
To Reproduce Steps to reproduce the behavior:
- Open folder without databricks.yml or virtual environment
- Click on 'Migrate current folder to a Databricks Project'
- Configure profile.
- Configure new virtual environment in the project folder...default is
.venv. - Install databricks-connect when prompted
- Try to deploy bundle
- Output for "Databricks Bundle Logs" gets to this message "deploy: Uploading bundle files to /Users/{username}/.bundle/vscode_test/dev/files..."
- No output or visible progress for long period of time.
Screenshots If applicable, add screenshots to help explain your problem.
System information:
-
Paste the output ot the
Help: Aboutcommand (CMD-Shift-P). Version: 1.93.0 (Universal) Commit: 4849ca9bdf9666755eb463db297b69e5385090e3 Date: 2024-09-04T13:02:38.431Z (1 wk ago) Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.6.0 -
Databricks Extension Version 2.4.2
Databricks Extension Logs Please attach the databricks extension logs
Additional context Add any other context about the problem here.