Skip to content

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

Draft
shreyas-goenka wants to merge 1 commit into
isaac/dmsbind-stamp-firstfrom
isaac/dmsbind-dms
Draft

shreyas-goenka wants to merge 1 commit into
isaac/dmsbind-stamp-firstfrom
isaac/dmsbind-dms

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Changes

With experimental.deployment_history, bundle deployment bind runs the shared bind flow inside its own version, recording OPERATION_ACTION_TYPE_BIND. Like a file-based bind it doesn't change the workspace resource; the next deploy applies config differences. Unbind with deployment history stays unsupported.

Why

DMS-recorded targets refused bind entirely. There is no unbind action type in the service yet.

Tests

New bundle/dms/bind (plain bind, approval prompt, rebind rejected, next deploy applies changes) and bundle/dms/record-op-fault (a failed operation upload completes the version with failure; retry succeeds). bind-unbind-unsupported becomes unbind-unsupported.

This pull request and its description were written by Isaac.

With experimental.deployment_history, bind no longer refuses: it runs the same
plan, prompt and apply as a file-based bind, inside its own version, so the
service records an OPERATION_ACTION_TYPE_BIND operation with the resource's
state. Like a file-based bind it does not change the workspace resource; the
next deploy applies any config differences. On a first bind the deployment is
created first.

Unbind with deployment history stays unsupported: the service has no unbind
action type yet.

Co-authored-by: Isaac <no-reply@databricks.com>
@shreyas-goenka
shreyas-goenka added this pull request to stack #7114 October 19, 2026 15:52
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 4002df1

Run: 39281257286

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 281 18 5:55
✅​ aws-windows-latest-4core-16gb 283 16 3:56
✅​ azure linux-2core-8gb 280 18 5:55
✅​ azure-windows-latest-4core-16gb 282 16 5:49
✅​ gcp linux-2core-8gb 281 18 5:47
✅​ gcp-windows-latest-4core-16gb 283 16 4:42
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:08 azure-windows-latest-4core-16gb TestAccept
4:01 gcp-windows-latest-4core-16gb TestAccept
3:47 gcp linux-2core-8gb TestAccept
3:45 aws linux-2core-8gb TestAccept
3:43 azure linux-2core-8gb TestAccept
3:17 aws-windows-latest-4core-16gb TestAccept

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants