Expose bundle-deployments as a top-level command#5683
Merged
Conversation
The auto-generated `bundle-deployments` workspace service (DMS) was filtered out of top-level registration in cmd/cmd.go, and its read-only verbs were re-attached as hidden commands under the DAB `bundle` tree (via cmd/bundle/metadata_service.go). Drop both: register the generated command at the top level like every other workspace service, and remove the hand-wired DMS sub-groups from the `bundle` tree. The generated command is `Hidden: true` in the SDK output, so it resolves (`databricks bundle-deployments ...`) without appearing in `--help`. Removes the dedicated dms-read-only acceptance test, which exercised the now-removed `bundle deployment/version/resource/operation get/list` commands. Co-authored-by: Isaac
Collaborator
Integration test reportCommit: e3cfea3
23 interesting tests: 13 SKIP, 4 KNOWN, 3 flaky, 3 FAIL
Top 6 slowest tests (at least 2 minutes):
|
The unskip change removes the hidden `bundle <group> get/list` aliases, so point the existing dms-read-only acceptance test at the generated top-level command (`databricks bundle-deployments <verb>`) instead of deleting it. The deployment/version stubs now carry git_info so the test asserts the field round-trips through the generated command. Opts out of the DATABRICKS_BUNDLE_ENGINE matrix since this is a workspace-service command independent of the deploy engine. Co-authored-by: Isaac
68dd9e4 to
e3cfea3
Compare
pietern
approved these changes
Jun 24, 2026
Collaborator
Integration test reportCommit: 5b4aa78
23 interesting tests: 13 SKIP, 7 KNOWN, 3 FAIL
Top 4 slowest tests (at least 2 minutes):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We decided to expose the DMS commands under the
bundle-deploymentscmd group.This PR is the final piece for that.