Repository navigation
Conversation
--skip-validate never validates, so every profile showed NO in the Valid column, including valid ones in active use. Agents choose a profile from this output and read NO as "log in again". JSON output is unchanged. Co-authored-by: Isaac <[email protected]>
Co-authored-by: Isaac <[email protected]>
Contributor
|
Commit: Regression test reportSelected 1 changed tests (limit=20, 0 not selected) 1 tests: regression=1 unreleased=0 coverage=0 failing=0
TestAccept/cmd/auth/switch/nominal: branch ✅ | main (2699068) ❌ | latest (v1.26.0) ❌main (2699068): latest (v1.26.0): same output as main (2699068) |
Collaborator
✅ Integration test reportCommit: bf2cd86
Top 3 slowest tests (at least 2 minutes):
|
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.
Changes
--skip-validate, theauth profilestext table omits theValidcolumn instead of printingNOfor every profile. Without the flag, output is unchanged.validstaysfalsewhen validation is skipped), so the shape stays stable for tools that parse it.Why
--skip-validatenever validates, so every profile showedNO, including valid profiles in active use. Thedatabricks-ai-runtimeagent skill starts sessions with exactlydatabricks auth profiles --skip-validateto choose a profile, and agents readNOas "log in again". Internal ticket: CNXT-2642.Tests
acceptance/cmd/auth/switch/nominal, the only golden with--skip-validatetext output.Validcolumn (login/nominal,login/discovery,logout/stale-account-id-workspace-host, ...) and the JSON goldens pass unchanged.go test ./cmd/auth/...andgo test ./acceptance -run 'TestAccept/cmd/auth/'pass;./task lint-qis clean. Tests ran withDATABRICKS_WORKSPACE_IDunset: somelogin_test.gotests also fail onmainwhen that variable is set.This pull request and its description were written by Isaac.