You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle summary now surfaces the bundle's deployment metadata service identifiers — deployment_id and the current version_id — when the deployment metadata service is in use (managed state + direct engine). They appear as a Deployment: section in text output and as a top-level deployment object in --output json. Non-DMS summaries are unchanged.
version_id isn't known to a read-only command, so summary fetches the latest last_version_id from the deployment record via GetDeployment.
Why
The in-workspace DABs UI needs the bundle-level deployment_id + version_id to link to the deployment metadata page. Until now these were only resolved internally (b.DeploymentID) or stamped per-resource for the jobs UI — no command exposed the bundle's own identifiers. This stacks on the DMS branch (#4856).
Tests
Extended the bundle/dms/plan-and-summary acceptance test to cover both the text Deployment: block and the bundle summary -o jsondeployment object.
Any maintainer (@andrewnester, @anton-107, @denik, @pietern, @shreyas-goenka, @simonfaltum, @renaudhartert-db) can approve all areas.
See OWNERS for ownership rules.
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
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.
Changes
bundle summarynow surfaces the bundle's deployment metadata service identifiers —deployment_idand the currentversion_id— when the deployment metadata service is in use (managed state + direct engine). They appear as aDeployment:section in text output and as a top-leveldeploymentobject in--output json. Non-DMS summaries are unchanged.version_idisn't known to a read-only command, so summary fetches the latestlast_version_idfrom the deployment record viaGetDeployment.Why
The in-workspace DABs UI needs the bundle-level
deployment_id+version_idto link to the deployment metadata page. Until now these were only resolved internally (b.DeploymentID) or stamped per-resource for the jobs UI — no command exposed the bundle's own identifiers. This stacks on the DMS branch (#4856).Tests
Extended the
bundle/dms/plan-and-summaryacceptance test to cover both the textDeployment:block and thebundle summary -o jsondeploymentobject.