Skip to content

bundle: add env var to enable experimental record_deployment_history#5666

Draft
shreyas-goenka wants to merge 1 commit into
mainfrom
record-deployment-history-env
Draft

bundle: add env var to enable experimental record_deployment_history#5666
shreyas-goenka wants to merge 1 commit into
mainfrom
record-deployment-history-env

Conversation

@shreyas-goenka

@shreyas-goenka shreyas-goenka commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Why

experimental.record_deployment_history is the opt-in for the (experimental) deployment-history feature, but it could only be set in the bundle config. This adds an environment-variable equivalent so the feature can be toggled per invocation — useful for CI and needed for DABs in workspace.
\

@shreyas-goenka shreyas-goenka changed the base branch from shreyas-goenka/deployment-metadata-service to main June 19, 2026 15:27
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: fae16fd

Run: 27969926574

Env 🟨​KNOWN ✅​pass 🙈​skip Time
🟨​ aws linux 1 216 99 3:03
🟨​ aws windows 1 218 97 2:33
🟨​ aws-ucws linux 1 297 18 3:52
🟨​ aws-ucws windows 1 299 16 3:38
🟨​ azure linux 1 216 98 3:07
🟨​ azure windows 1 218 96 2:26
🟨​ azure-ucws linux 1 299 15 3:58
🟨​ azure-ucws windows 1 301 13 3:21
🟨​ gcp linux 1 215 100 4:27
🟨​ gcp windows 1 217 98 2:28
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🟨​ TestAccept 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K

Add DATABRICKS_BUNDLE_RECORD_DEPLOYMENT_HISTORY as an environment-variable
way to opt into the experimental record_deployment_history setting, so the
feature can be toggled per invocation without editing the bundle config.

A new mutator in the initialize phase sets
experimental.record_deployment_history when the env var is present. It never
disables a setting the configuration already enabled.

Co-authored-by: Isaac
@shreyas-goenka shreyas-goenka force-pushed the record-deployment-history-env branch from f186af0 to fae16fd Compare June 22, 2026 17:01
@shreyas-goenka shreyas-goenka changed the title bundle/dms: gate deployment history recording on a dedicated env var bundle: add env var to enable experimental record_deployment_history Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants