databricks-vscode icon indicating copy to clipboard operation
databricks-vscode copied to clipboard

[BUG] Bundle deploy tries to sync virtualenv (too slow)

Open dustinvannoy-db opened this issue 1 year ago • 0 comments

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:

  1. Open folder without databricks.yml or virtual environment
  2. Click on 'Migrate current folder to a Databricks Project'
  3. Configure profile.
  4. Configure new virtual environment in the project folder...default is .venv.
  5. Install databricks-connect when prompted
  6. Try to deploy bundle
  7. Output for "Databricks Bundle Logs" gets to this message "deploy: Uploading bundle files to /Users/{username}/.bundle/vscode_test/dev/files..."
  8. No output or visible progress for long period of time.

Screenshots If applicable, add screenshots to help explain your problem.

System information:

  1. Paste the output ot the Help: About command (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

  2. 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.

dustinvannoy-db avatar Sep 13 '24 23:09 dustinvannoy-db