Skip to content

Support bundle deployment bind for DMS-recorded deployments - #7060

Closed
shreyas-goenka wants to merge 1 commit into
isaac/dmsbind-2-enginefrom
isaac/dmsbind-3-dms
Closed

shreyas-goenka wants to merge 1 commit into
isaac/dmsbind-2-enginefrom
isaac/dmsbind-3-dms

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

With experimental.deployment_history, bundle deployment bind now applies the bind immediately in its own version, recorded as OPERATION_ACTION_TYPE_BIND or BIND_AND_UPDATE, since DMS is the source of truth. Only the bound resource and its permissions/grants are applied, with approval when the workspace would change. Unbind under DMS stays unsupported (no unbind action type exists yet).

This pull request and its description were written by Isaac.

With experimental.deployment_history the service is the source of truth, so
bind no longer stages a change for the next deploy. It plans the bound resource
(and its permissions/grants) as Bind or BindAndUpdate, asks for approval if the
workspace would change, and applies it immediately in its own version, recorded
with the OPERATION_ACTION_TYPE_BIND / BIND_AND_UPDATE action types. Other
resources are left untouched; a dependency that would change rejects the bind.

Unbind under DMS stays unsupported: the service has no unbind action type yet.

Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: c32b54d

Run: 38586166691

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 278 17 11:38
✅​ aws-windows-latest-4core-16gb 280 15 6:12
✅​ azure linux-2core-8gb 277 17 10:34
✅​ azure-windows-latest-4core-16gb 279 15 8:04
✅​ gcp linux-2core-8gb 278 17 11:15
✅​ gcp-windows-latest-4core-16gb 280 15 8:09
Top 8 slowest tests (at least 2 minutes):
duration env testname
5:50 azure-windows-latest-4core-16gb TestAccept
3:38 aws-windows-latest-4core-16gb TestAccept
3:11 gcp-windows-latest-4core-16gb TestAccept
2:58 gcp linux-2core-8gb TestAccept/bundle/dms/bind/DMS=true
2:44 gcp-windows-latest-4core-16gb TestImportDirDoesNotOverwrite
2:30 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files_extensions
2:14 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
2:10 azure-windows-latest-4core-16gb TestAccept/bundle/dms/bind/DMS=true

@shreyas-goenka
shreyas-goenka removed this pull request from stack #7062 October 19, 2026 15:52
@shreyas-goenka

Copy link
Copy Markdown
Contributor Author

Superseded by stack #7114 (bind as a single planned action, one shared flow).

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