[Feature Request] Clean up local bundle cache (.databricks folder) when identity or root path is changed
Mantenedores costumam responder em até 1 dia
@andrewnester já está trabalhando nisso.
Desde 8/12/2025.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Describe the issue
I have inhertited a project were bundles are dynamically build in the same folder.
/
/use case a
/use case b
/databricks.yaml.template (includes workflows from a and b dynamically)
during CI/CD
/databicks.yaml (with use case a, job a) is build and deployed
.. later
/databicks.yaml (with use case b, with job b) is build and deployed
I have the feeling that this is too complex and can also be achieved in a static fashion.
I think this also explains why we only see bundle b deployed and not a.
But this non the less raises the question which attributes are used to make the identity of a bundle or more specifically its ressources.
What combination of attributes (source path, target path, bundle name, ...) is used to decide which resources are needed to be deleted, adjusted or created.
Can you please shed some light on it independent of my problem above?
Configuration
See above
Steps to reproduce the behavior
- A set of bundles (a, b, c) is dynamically created
- After deployment of bundle a, b, c only the workflow c exists, a and b are not there.
Expected Behavior
None so far, only a question. I also haven't found a quick answer in the documentation.
Actual Behavior
Only the last deployed bundle exists. A and b seem to get created and then deleted again - I believe since the mechanisms used identified all three bundles as beeing the same.
OS and CLI version
Databricks CLI v0.238.0
Is this a regression?
No
Debug Logs
could be provided upon request, but will have to be cleaned up
- Linguagem predominante
- Go
- Estrelas
- 427
- Forks
- 267
- Merge médio
- 2d 1h
- PRs com merge (30d)
- 233
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de databricks/cli
-
Apps commands only accept relative path to app.ymlTalvez já em andamento @yuri-rod assumiu há 38 dias. AbertaCLI
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
databricks/cli#6910 ·
Mantenedores costumam responder em até 1 dia
-
DABs
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
databricks/cli#6670 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Bump vulnerable dependencies workflow is failingTalvez já em andamento @shreyas-goenka assumiu hoje. Abertabump-vuln-deps-failure
databricks/cli#7531 · 1 comentário · 7 responsáveis ·
Mantenedores costumam responder em até 1 dia
-
bundle run on an app fails with "not in RUNNING state" when the app's compute is UPDATINGTalvez já em andamento @andrewnester assumiu há 1 dia. AbertaBug DABs
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 76/100
databricks/cli#7451 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Bundle deploy of an AI/BI dashboard breaks viewers' private bookmarks (UI save + publish does not)Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
databricks/cli#7419 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de databricks/cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
prime-radiant-inc/evener#6241 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
coder/openstorage#807 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
NVIDIA/kubectl-nv#100 ·
Mantenedores costumam responder em até 1 dia
-
TestNoEagerPackageRegexps red on main: internal/gui/feedback.go:19 compiles a package-level regexpAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia