Add workspace URLs for postgres project, branch, endpoint, and role - #6567
Draft
janniklasrose wants to merge 5 commits into
Draft
Add workspace URLs for postgres project, branch, endpoint, and role#6567janniklasrose wants to merge 5 commits into
janniklasrose wants to merge 5 commits into
Conversation
These resources previously had no URL in bundle summary. Point each at its
Lakebase page via workspaceurls patterns:
- projects -> lakebase/{project_name}
- branches -> lakebase/{branch_name}
- endpoints -> the parent branch's computes page
- roles -> the parent branch's roles-and-databases page
Endpoints and roles derive the parent branch from their own resolved ID
rather than the Parent field, which may still hold an unresolved "${...}"
reference at summary time.
Co-authored-by: Isaac <no-reply@databricks.com>
Adding postgres_branches/endpoints/projects/roles to workspaceurls changes ResourceTypes(); update the experimental open command's expected list and acceptance golden accordingly. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
janniklasrose
marked this pull request as ready for review
September 8, 2026 11:22
Contributor
Approval status: pending
|
They now have workspace URLs, so TestBundleResourcePluralNamesResolveInWorkspaceURLs requires them to resolve rather than be empty. Co-authored-by: Isaac <no-reply@databricks.com>
Collaborator
Integration test reportCommit: 305c47a
Top 5 slowest tests (at least 2 minutes):
|
janniklasrose
marked this pull request as draft
September 8, 2026 12:24
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.
Caution
CANNOT MERGE - URLs require
uidinstead of name. Needs redesign. When ready, include snapshots tooChanges
bundle summarypreviously showed(not deployed)for the URL of Postgresprojects, branches, endpoints, and roles because these resources had no
InitializeURLmapping. Point each at its Lakebase web UI page, usinglibs/workspaceurlspatterns:postgres_projectslakebase/{project_name}postgres_brancheslakebase/{branch_name}postgres_endpoints…/computespagepostgres_roles…/roles-and-databasespageProjects and branches use their own hierarchical ID. Endpoints and roles
surface under the parent branch, and derive that branch from their own
resolved ID (
…/branches/{b}/endpoints/{e}→…/branches/{b}) rather thanfrom the
Parentfield, which may still hold an unresolved${...}reference at summary time.
The URL paths were confirmed with the Postgres team.
Tests
TestInitializeURLsextended with a case per resource.postgres_*resource and bind tests.