Skip to content

bundle: keep recording deployment history when the setting is removed - #7088

Open
denik wants to merge 1 commit into
denik/dms-prefetch-nodefrom
denik/dms-sticky
Open

denik wants to merge 1 commit into
denik/dms-prefetch-nodefrom
denik/dms-sticky

Conversation

@denik

@denik denik commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Changes

A deployment that records history keeps recording when experimental.deployment_history is not set; only an explicit false conflicts with the state. The state pull also starts the deployment lookup from #7086 when the local state records history, not only when the config enables it.

Why

Recording already followed the state everywhere except the setting check, which rejected a deploy once the line was removed from databricks.yml. The service still holds the deployment, so leaving the setting out should not turn it off.

Tests

New acceptance/bundle/dms/sticky: deploy with recording, drop the setting and deploy (records version 2), wipe .databricks and plan, then an explicit false is refused. Fails without the fix.

This pull request and its description were written by Isaac.

@denik
denik added this pull request to stack #7089 October 16, 2026 09:24
@denik
denik requested review from a team as code owners October 16, 2026 09:25
@denik
denik requested a review from janniklasrose October 16, 2026 09:25
@github-actions github-actions Bot added the DABs DABs related issues label Oct 16, 2026
@denik
denik force-pushed the denik/dms-sticky branch 2 times, most recently from 7db57bb to 3620b2d Compare October 16, 2026 09:26
@denik
denik removed this pull request from stack #7089 October 16, 2026 09:31
@denik
denik changed the base branch from denik/state-dir-not-a-file to denik/dms-prefetch-node October 16, 2026 09:39
@denik
denik added this pull request to stack #7091 October 16, 2026 09:39
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: fd82991

Run: 38890882678

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 281 15 5:59
✅​ aws-windows-latest-4core-16gb 283 13 5:20
✅​ azure linux-2core-8gb 280 15 5:42
✅​ azure-windows-latest-4core-16gb 282 13 5:32
✅​ gcp linux-2core-8gb 281 15 5:30
✅​ gcp-windows-latest-4core-16gb 283 13 3:53
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:05 azure-windows-latest-4core-16gb TestAccept
4:52 aws-windows-latest-4core-16gb TestAccept
3:49 gcp linux-2core-8gb TestAccept
3:45 aws linux-2core-8gb TestAccept
3:44 azure linux-2core-8gb TestAccept
3:28 gcp-windows-latest-4core-16gb TestAccept

A deployment that records history now keeps recording when experimental.deployment_history is
left out; only an explicit false conflicts with the state. The state pull also starts the
deployment lookup when the local state records history, not only when the config enables it.

Co-authored-by: Isaac <no-reply@databricks.com>

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

2 participants