dbx icon indicating copy to clipboard operation
dbx copied to clipboard

Getting cells duplicated with every local file save after dbx repo sync

Open robkisk opened this issue 2 years ago • 3 comments

Using latest dbx I get a behavior where I'll run the following dbx sync repo --dest-repo <reponame> --watch --profile <myprofile> and then whenever it triggers a sync after each local save, the UI ends up showing duplicated cells unless I refresh the page.

robkisk avatar Oct 06 '22 12:10 robkisk

hi @robkisk , could you please describe the issue in a reproducible manner, as the github issue template prescribes?

renardeinside avatar Oct 06 '22 20:10 renardeinside

Sure. sorry about that.

Expected Behavior

  • Auto sync behavior only makes changes to remote notebook based on code in local environment.
  • Seems to not be an issue when creating a brand new notebook from local as opposed to a pre-existing one.

Current Behavior

  • Remote notebook adding erroneous duplicated cells that do not reflect what is in local IDE (Neovim)
  • If I manually refresh my browser then remote cells accurately reflect the code from local

Steps to Reproduce (for bugs)

  1. Add new repo with
db repos create --url https://github.com/<myrepo> --path /Repos/<path-to-repo>/ --debug --profile <dbprofile>
  1. Sync with dbx (from local git directory)
dbx sync repo --dest-repo <repo-name> --watch --profile <profile>
  1. Make code change in local ide

Your Environment

  • dbx version used: 0.7.6
  • Databricks Runtime version: 11.2

robkisk avatar Oct 07 '22 10:10 robkisk

#617

alexeyegorov avatar Dec 14 '22 16:12 alexeyegorov