Conversation
yolocs
force-pushed
the
chen-shou_data/stack/auth-docker-infer-region-hosts
branch
from
September 21, 2026 17:30
d4fef20 to
416ca6a
Compare
Collaborator
Integration test reportCommit: 319effe
Top 3 slowest tests (at least 2 minutes):
|
yolocs
force-pushed
the
chen-shou_data/stack/auth-docker-infer-region-hosts
branch
from
September 21, 2026 19:09
416ca6a to
319effe
Compare
yolocs
marked this pull request as ready for review
September 21, 2026 19:38
Contributor
Approval status: pending
|
This branch has not been deployed
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.
🥞 Stacked PR (generated by git ns)
Use this link to review incremental changes.
Changes
Docker setup now needs only a workspace profile. The CLI resolves the workspace ID, obtains the workspace region from its metastore summary, derives the full Artifact Registry hostname, and configures Docker for that host:
Users no longer need to look up and supply the workspace home region. The existing
--regionflag remains available for compatibility, emits a deprecation warning when used, and is scheduled for removal in the next release.The new read-only
hostcommand returns both the derived registry hostname and whether Docker is already configured to use the Databricks credential helper:Structured output makes the result available to scripts without reconstructing the hostname:
Why
Workspace profiles do not expose the home region directly, and asking users to discover it separately made Docker setup unnecessarily error-prone. The workspace metastore already provides the matching region, so the CLI can derive the correct registry host from the selected profile and expose that same result for later commands and automation.
Tests
./task checksgo test ./libs/dockercredentials ./cmd/auth ./cmd/root -count=1go test ./acceptance -run '^TestAccept/cmd/auth/docker/help$' -count=1 -timeout=10mThis PR was written by Codex.