8000 Bundle deploy does not remove deleted .dbc files · Issue #2917 · databricks/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bundle deploy does not remove deleted .dbc files #2917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fernandobenedetto opened this issue May 21, 2025 · 0 comments
Open

Bundle deploy does not remove deleted .dbc files #2917

fernandobenedetto opened this issue May 21, 2025 · 0 comments
Labels
DABs DABs related issues

Comments

@fernandobenedetto
Copy link

Describe the issue

I have some .dbc files inside the /src/ path. The deployment works fine the first time, but if I remove or rename those files and deploy again, they are not removed from the Databricks workspace.

Configuration

N/A

Steps to reproduce the behavior

  1. Run databricks bundle deploy with a .dbc file inside /src/ path.
  2. Remove the .dbc file locally.
  3. Run databricks bundle deploy .
  4. Check bundle workspace folder if the .dbc file exists.

Expected Behavior

The file should be removed or renamed.

Actual Behavior

The file it is not removed from the workspace path

OS and CLI version

OS: Windows 11
Databricks CLI: v0.252.0

Is this a regression?

I do not know

Debug Logs

< "error_code": "RESOURCE_DOES_NOT_EXIST",
< "message": "Path (/Workspace/.bundle/dab/feature/de-338367/files/src/notebooks/... (84 more bytes)"
< } pid=4960 mutator=files.Upload sdk=true
13:37:25 Debug: non-retriable error: Path (/Workspace/.bundle/dab/feature/de-338367/files/src/notebooks/aaaa/xxxx/yyyy/zzzzz/test.dbc) doesn't exist. pid=4960 mutator=files.Upload sdk=true
13:37:29 Debug: POST /api/2.0/workspace-files/import-file/Workspace/.bundle/dab/feature/de-338367/files/src/notebooks/aaaa/xxxx/yyyy/zzzzz/test_2.dbc?overwrite=true

�/Z
manifest.mf��-�1� ��r3g$@"���Gr u1�]צ�7��j�v*)p?A@��D... (1661140 more bytes)
< HTTP/2.0 200 OK pid=4960 mutator=files.Upload sdk=true
13:37:29 Info: Uploaded bundle files pid=4960 mutator=files.Upload
13:37:29 Debug: Apply pid=4960 mutator=deploy:state-update

@fernandobenedetto fernandobenedetto added the DABs DABs related issues label May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DABs DABs related issues
Projects
None yet
Development

No branches or pull requests

1 participant
0