Show a name for Postgres branches, endpoints, databases, and roles in bundle summary - #6663
Merged
Merged
Conversation
… bundle summary These four resource types have no dedicated name field, so GetName() returned an empty string and bundle summary rendered a blank Name row. Follow the postgres_snapshot_schedule precedent (#6449) and return the resource ID (the hierarchical name, e.g. projects/{project_id}/branches/{branch_id}) instead, so a name is shown once the resource is deployed or bound. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Collaborator
Integration test reportCommit: d442e49
Top 3 slowest tests (at least 2 minutes):
|
denik
approved these changes
Sep 14, 2026
Member
Author
|
Integration Tests status not being reported, but did succeed. |
andrewnester
approved these changes
Sep 14, 2026
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.
Implement
GetName()for postgres resources.They don't have a display name, but their resource path (e.g.
/projects/my-project/branches/my-branch) is their effective name.Below a list of how
GetName()is currently used.Resources with a dedicated name / display field
GetName()returnsNameNameClusterNameNameInstancePoolNameNameNameNameNameNameNameNameNameNameNameNameNameNameNameDisplayNameDisplayNameDisplayNameTitleTableNameResources with no name field — identified by ID / hierarchical name
GetName()returnsID→projects/{p}/branches/{b}"")ID→.../endpoints/{e}"")ID→.../databases/{d}"")ID→.../roles/{r}"")ID→{branch}/snapshot-scheduleID(stripssynced_tables/prefix)CatalogIdRelativePath()IDif set, elseNameIDif set, else{catalog}.{schema}.{name}IDif set, elseNameResources with no name at all
GetName()returns""This pull request and its description were written by Isaac.