Skip to content

Commit 13b7260

Browse files
bundle: add experimental.use_deployment_metadata_service flag (#5393)
Adds an experimental opt-in for the deployment metadata service (DMS), which records deployment history and tracks what changed across deployments. ```yaml # databricks.yml experimental: use_deployment_metadata_service: true ``` Foundation flag with no consumers yet — lock impl, state read, and operation reporting follow separately.
1 parent 85f3160 commit 13b7260

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

bundle/config/experimental.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ type Experimental struct {
4242
// Eventually this can be made the default once we have native CRUD in DABs
4343
// at which point we can deprecate or remove this field all together.
4444
SkipNamePrefixForSchema bool `json:"skip_name_prefix_for_schema,omitempty"`
45+
46+
// UseDeploymentMetadataService opts the bundle into the deployment metadata
47+
// service (DMS), which records deployment history and tracks what changed
48+
// across deployments.
49+
UseDeploymentMetadataService bool `json:"use_deployment_metadata_service,omitempty"`
4550
}
4651

4752
type Python struct {

bundle/internal/schema/annotations.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ github.com/databricks/cli/bundle/config.Experimental:
8585
"description": |-
8686
Skip adding the prefix that is either set in `presets.name_prefix` or computed when `mode: development`
8787
is set, to the names of UC schemas defined in the bundle.
88+
"use_deployment_metadata_service":
89+
"description": |-
90+
Whether to use the deployment metadata service (DMS), which records deployment history and tracks what changed across deployments.
8891
"use_legacy_run_as":
8992
"description": |-
9093
Whether to use the legacy run_as behavior.

bundle/schema/jsonschema.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)