Skip to content

aitools: skip the install hint on auth, lookup, and completion commands - #7452

Merged
renaudhartert-db merged 11 commits into
mainfrom
aitools-hint-exempt-commands
Nov 17, 2026
Merged

renaudhartert-db merged 11 commits into
mainfrom
aitools-hint-exempt-commands

Conversation

@renaudhartert-db

@renaudhartert-db renaudhartert-db commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Changes

When a coding agent such as Claude Code or Codex runs the CLI without the Databricks tooling installed, the CLI prints a stderr hint asking the agent to run databricks aitools install. This PR replaces the aitools-only check that skips the hint with isHintExemptCommand, which matches the command's path below the root against one list: aitools, experimental aitools, auth, configure, current-user me, version, completion, help, and cobra's hidden shell-completion command.

MaybeHint keeps its separate check for the auth token and auth docker token credential helpers, although auth covers them. That check protects output that other tools embed mid-line, so it must hold even if auth leaves this list.

On databricks version --check, hinted agents (Claude Code and the registry agents, such as Codex) now get no install nudge: the root hint skips version, and the version-check tip already skips agents that the root hint covers. Other detected agents still get the tip.

Out of scope: the update hint for outdated installs (follow-up PR). That PR exports the predicate and calls it from libs/aitools/installer.

Why

The hint fires on every command outside the aitools tree, including one-shot lookups such as databricks current-user me and databricks version, auth checks, help, and shell completion. The nudge eval measured "who am I" at 0 of 20 conversions: the agent has no task to apply the skills to, so the line is noise. The other entries are the same kind of call; the eval did not measure them separately. Exempt commands do not use up the per-session hint, so the hint still prints on the next non-exempt command.

Tests

  • New TestIsHintExemptCommand table covering exempt and non-exempt paths, including a prefix negative (authz) and an exempt name under a non-exempt parent (bundle help), built with a small local commandAt helper.
  • acceptance/cmd/aitools/claude-config-dir triggers the hint with clusters list instead of version, and gains a step showing current-user me prints with no hint.
  • acceptance/cmd/aitools/agent-hints triggers the hint with jobs list, and acceptance/cmd/aitools/telemetry/hint uses bundle schema as its command without auth. acceptance/cmd/version shows no hint for Claude Code and Codex.
  • go test ./libs/aitools/... ./cmd/root/..., the acceptance suite outside bundle/, and golangci-lint pass.

This pull request and its description were written by Isaac.

The install hint fires on every command Claude Code runs without the
Databricks tooling, including one-shot lookups such as `current-user me`,
auth checks, help, and shell completion, where it never converts. Widen the
aitools-only exemption into a shared list behind IsHintExemptCommand.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Commit: 6d9ae4783 | Workflow run

Regression test report

Selected 4 changed tests (limit=20, 0 not selected)

4 tests: regression=2 unreleased=2 coverage=0 failing=0
test branch main (479098f) latest (v1.26.0)
TestAccept/cmd/aitools/agent-hints ✅ ✅ ❌
TestAccept/cmd/aitools/claude-config-dir ✅ ❌ ❌
TestAccept/cmd/aitools/telemetry/hint ✅ ✅ ❌
TestAccept/cmd/version ✅ ❌ ❌
TestAccept/cmd/aitools/agent-hints: branch ✅ | main (479098f) ✅ | latest (v1.26.0) ❌

latest (v1.26.0):

acceptance_test.go:1380: Diff:
        --- cmd/aitools/agent-hints/output.txt
        +++ /tmp/TestAcceptcmdaitoolsagent-hints3059272519/002/output.txt
        @@ -2,24 +2,20 @@
         === Codex is hinted once per thread
         
         >>> CODEX_CI=1 CODEX_THREAD_ID=thread-1 [CLI] jobs list
        -Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents codex --scope global
         
         >>> CODEX_CI=1 CODEX_THREAD_ID=thread-1 [CLI] jobs list
         
         >>> CODEX_CI=1 CODEX_THREAD_ID=thread-2 [CLI] jobs list
        -Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents codex --scope global
         
         === Cursor exposes no session id, so it is hinted once per machine
         
         >>> CURSOR_AGENT=1 [CLI] jobs list
        -Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents cursor --scope global
         
         >>> CURSOR_AGENT=1 [CLI] jobs list
         
         === Copilot CLI maps to the copilot registry agent
         
         >>> COPILOT_CLI=1 [CLI] jobs list
        -Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents copilot --scope global
         
         === Gemini CLI with its own Databricks skills is not hinted
TestAccept/cmd/aitools/claude-config-dir: branch ✅ | main (479098f) ❌ | latest (v1.26.0) ❌

main (479098f):

acceptance_test.go:1380: Diff:
        --- cmd/aitools/claude-config-dir/output.txt
        +++ /tmp/TestAcceptcmdaitoolsclaude-config-dir3982267918/002/output.txt
        @@ -18,6 +18,8 @@
         === Exempt commands never hint, even without the tooling
         
         >>> CLAUDE_CONFIG_DIR=missing [CLI] current-user me
        +<claude-code-hint v="1" type="plugin" value="databricks@claude-plugins-official" />
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         json.userName = "[USERNAME]";
         
         === Empty override uses the default installation
        
FAIL

latest (v1.26.0):

acceptance_test.go:1380: Diff:
        --- cmd/aitools/claude-config-dir/output.txt
        +++ /tmp/TestAcceptcmdaitoolsclaude-config-dir2387614698/002/output.txt
        @@ -9,7 +9,6 @@
         === Custom directory takes precedence over the default installation
         
         >>> CLAUDE_CONFIG_DIR=missing [CLI] clusters list
        -<claude-code-hint v="1" type="plugin" value="databricks@claude-plugins-official" />
         Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         ID    Name                State
         4321  some-test-cluster   
        @@ -18,6 +17,7 @@
         === Exempt commands never hint, even without the tooling
         
         >>> CLAUDE_CONFIG_DIR=missing [CLI] current-user me
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         json.userName = "[USERNAME]";
         
         === Empty override uses the default installation
        @@ -45,7 +45,6 @@
         === Within one session both lines print once, so 2>&1 pipelines see them only on the first command
         
         >>> [CLI] clusters list
        -<claude-code-hint v="1" type="plugin" value="databricks@claude-plugins-official" />
         Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         ID    Name                State
         4321  some-test-cluster   
        
FAIL
TestAccept/cmd/aitools/telemetry/hint: branch ✅ | main (479098f) ✅ | latest (v1.26.0) ❌

latest (v1.26.0):

acceptance_test.go:1248: Substituted DATABRICKS_CLI_GITHUB_API_URL "$DATABRICKS_HOST" -> "http://127.0.0.1:41719" ("[DATABRICKS_HOST]")
    acceptance_test.go:1248: Substituted DATABRICKS_SKILLS_BASE_URL "$DATABRICKS_HOST" -> "http://127.0.0.1:41719" ("[DATABRICKS_HOST]")
    acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:666
        	Error:      	Not equal: 
        	            	expected: "\n=== hint printed on an authenticated command: one hint-shown event per printed line is uploaded\n\n>>> [CLI] jobs list\n<claude-code-hint v=\"1\" type=\"plugin\" value=\"databricks@claude-plugins-official\" />\nDatabricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install\n\n>>> print_telemetry\n{\"command\":\"jobs_list\",\"exit_code\":0,\"aitools_hint_event\":{\"hint_kind\":\"CLAUDE_CODE_NATIVE\"}}\n{\"command\":\"jobs_list\",\"exit_code\":0,\"aitools_hint_event\":{\"hint_kind\":\"INSTALL_TEXT\"}}\n\n=== hint printed on a command that resolves no auth: nothing is uploaded\n\n>>> [CLI] bundle schema\n<claude-code-hint v=\"1\" type=\"plugin\" value=\"databricks@claude-plugins-official\" />\nDatabricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install\n\n>>> print_telemetry\n\n=== plugin installed: no hint, no event\n\n>>> [CLI] jobs list\n\n>>> print_telemetry\n"
        	            	actual  : "\n=== hint printed on an authenticated command: one hint-shown event per printed line is uploaded\n\n>>> [CLI] jobs list\nDatabricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install\n\n>>> print_telemetry\n\n=== hint printed on a command that resolves no auth: nothing is uploaded\n\n>>> [CLI] bundle schema\nDatabricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install\n\n>>> print_telemetry\n\n=== plugin installed: no hint, no event\n\n>>> [CLI] jobs list\n\n>>> print_telemetry\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,2 @@
        	            	 >>> [CLI] jobs list
        	            	-<claude-code-hint v="1" type="plugin" value="databricks@claude-plugins-official" />
        	            	 Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
        	            	@@ -8,4 +7,2 @@
        	            	 >>> print_telemetry
        	            	-{"command":"jobs_list","exit_code":0,"aitools_hint_event":{"hint_kind":"CLAUDE_CODE_NATIVE"}}
        	            	-{"command":"jobs_list","exit_code":0,"aitools_hint_event":{"hint_kind":"INSTALL_TEXT"}}
        	            	 
        	            	@@ -14,3 +11,2 @@
        	            	 >>> [CLI] bundle schema
        	            	-<claude-code-hint v="1" type="plugin" value="databricks@claude-plugins-official" />
        	            	 Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
        	Test:       	TestAccept/cmd/aitools/telemetry/hint
        	Messages:   	cmd/aitools/telemetry/hint/output.txt vs /tmp/TestAcceptcmdaitoolstelemetryhint1212099961/002/output.txt
TestAccept/cmd/version: branch ✅ | main (479098f) ❌ | latest (v1.26.0) ❌

main (479098f):

acceptance_test.go:1380: Diff:
        --- cmd/version/output.txt
        +++ /tmp/TestAcceptcmdversion1780502459/002/output.txt
        @@ -38,11 +38,13 @@
         === version --check from Claude Code prints no hint
         
         >>> [CLI] version --check
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         Databricks CLI v[CLI_VERSION]
         This is a development build; skipping the update check.
         
         === version --check from Codex prints no hint
         
         >>> [CLI] version --check
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents codex --scope global
         Databricks CLI v[CLI_VERSION]
         This is a development build; skipping the update check.

latest (v1.26.0):

acceptance_test.go:1380: Diff:
        --- cmd/version/output.txt
        +++ /tmp/TestAcceptcmdversion2229971490/002/output.txt
        @@ -8,7 +8,7 @@
         
         >>> [CLI] version --check
         Databricks CLI v[CLI_VERSION]
        -This is a development build; skipping the update check.
        +Could not reach GitHub to check for a newer version. See https://github.com/databricks/cli/releases for the latest release.
         
         === version --check --output json
         
        @@ -16,15 +16,14 @@
         {
           "current_version": "[CLI_VERSION]",
           "update_available": false,
        -  "development_build": true
        +  "check_failed": true
         }
         
         === version --check with a coding agent and no Databricks tooling
         
         >>> [CLI] version --check
         Databricks CLI v[CLI_VERSION]
        -This is a development build; skipping the update check.
        -Tip: coding agents detected without Databricks skills. Run 'databricks aitools install' to install them.
        +Could not reach GitHub to check for a newer version. See https://github.com/databricks/cli/releases for the latest release.
         
         === version --check --output json with a coding agent prints no tip
         
        @@ -32,17 +25,18 @@
         {
           "current_version": "[CLI_VERSION]",
           "update_available": false,
        -  "development_build": true
        +  "check_failed": true
         }
         
         === version --check from Claude Code prints no hint
         
         >>> [CLI] version --check
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         Databricks CLI v[CLI_VERSION]
        -This is a development build; skipping the update check.
        +Could not reach GitHub to check for a newer version. See https://github.com/databricks/cli/releases for the latest release.
         
         === version --check from Codex prints no hint
         
         >>> [CLI] version --check
         Databricks CLI v[CLI_VERSION]
        -This is a development build; skipping the update check.
        +Could not reach GitHub to check for a newer version. See https://github.com/databricks/cli/releases for the latest release.

Only the agents tests build command trees, so a shared helper in internal/testutil is not needed.

Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

ghost commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 6d9ae47

Run: 43984505912

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 270 19 8:18
💚​ aws-windows-latest-4core-16gb 1 272 17 7:29
💚​ azure linux-2core-8gb 1 269 19 10:37
💚​ azure-windows-latest-4core-16gb 1 271 17 6:30
💚​ gcp linux-2core-8gb 1 270 19 8:10
💚​ gcp-windows-latest-4core-16gb 1 272 17 6:15
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 7 slowest tests (at least 2 minutes):
duration env testname
3:37 aws-windows-latest-4core-16gb TestAccept
3:29 gcp-windows-latest-4core-16gb TestAccept
3:10 azure-windows-latest-4core-16gb TestAccept
2:27 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
2:14 azure linux-2core-8gb TestTelemetryEndpoint
2:13 azure linux-2core-8gb TestFilerRecursiveDelete/workspace_files
2:06 aws-windows-latest-4core-16gb TestExportWithFileFlag

Ubuntu and others added 2 commits November 10, 2026 23:06
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated review from simonfaltum's review agent (pr-review skill) at 3d91441. Each finding was verified against the code; simonfaltum may follow up.

Not approving yet: 3 open design questions.

This PR replaces the aitools-only hint check with a root-relative exempt list, so Claude Code no longer sees the install hint on auth, configure, current-user me, help, and completion commands. I traced the root pre-run hook and cobra's help and completion handling and found no blocking defects: exempt commands don't use up the per-session hint, both aitools subtrees stay exempt, and CI is green. What remains are three design questions (the speculative export, a second exempt list next to versioncheck, and keeping version hintable), two test-robustness suggestions, and a few small test and comment cleanups.

Questions

  1. IsHintExemptCommand is exported, but nothing outside libs/aitools/agents calls it at this head. The follow-up in libs/aitools/installer could export it when it needs it, since installer already imports agents and no cycle would result. Would you rather keep the export in this PR or move it to the follow-up?
  2. libs/versioncheck/notice.go isExemptCommand already lists completion, help, and __complete, matching on any ancestor name. This PR adds a second list that matches on root-relative paths. Are the two lists meant to stay separate, given that they legitimately differ on version, or should both use one shared predicate for plumbing commands?
  3. version is the same kind of one-shot lookup as current-user me, and versioncheck exempts it. Yet databricks version still hints, while databricks --version never does because cobra returns before the hook. Is keeping version hintable a product decision, or mainly a way to keep the acceptance tests' hint coverage? If the latter, could those tests use another command so that version can be exempt too?

// checks, "who am I", help, shell completion): the agent has no task to apply
// the skills to. Evaluations showed that conversion on these commands is low,
// so a hint on them wastes the prompt.
var hintExemptCommands = []string{

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] The entries in hintExemptCommands are hard-coded path strings, and TestIsHintExemptCommand builds fake trees with commandAt. Nothing checks that each path exists in the real CLI. If codegen renames current-user/me, or an aitools command moves, the exemption silently stops matching and the unit tests still pass; only the single current-user me acceptance step would catch it. Consider adding a test in an external package (or under cmd/) that builds cmd.New(ctx), resolves each entry with Find(strings.Fields(p)), and asserts an exact match.

ghost Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not add this one. current-user me is the only generated entry, and the claude-config-dir step already runs it against the real tree; the rest are hand-written commands or cobra constants. The test would also need special cases for cobra's lazily registered help and __complete, and with the predicate now package-private it would have to live in the agents test binary and pull in cmd. Happy to revisit if you feel strongly.

Comment thread libs/aitools/agents/hint.go Outdated

// commandPath returns cmd's path below the root command, e.g. "current-user me",
// so hintExemptCommands holds whatever the root is named.
func commandPath(cmd *cobra.Command) string {

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] commandPath re-implements the parent walk that cobra already provides; the walk also exists as commandString in cmd/root. strings.TrimPrefix(cmd.CommandPath(), cmd.Root().CommandPath()+" ") returns the same root-relative path, and cmd/air/air.go:51-52 already uses this pattern. Using it removes the helper and the slices import.

ghost Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 3238771. I matched against Root().CommandPath() + " " + exempt rather than TrimPrefix, so the root itself never matches an entry.

Comment thread libs/aitools/agents/hint.go Resolved
return cmd
}

func TestIsHintExemptCommand(t *testing.T) {

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] If strings.HasPrefix(path, exempt+" ") is changed to strings.HasPrefix(path, exempt), every case in TestIsHintExemptCommand still passes. A future top-level command like authz or helpers would then be exempted by mistake. Add a negative case such as {"authz", false} or {"current-user meh", false}.

ghost Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added authz in 3238771.

Comment thread libs/aitools/agents/hint_test.go Resolved
Comment thread libs/aitools/agents/hint_test.go Outdated
parent.AddCommand(child)

MaybeHint(ctx, child)
MaybeHint(ctx, commandAt("aitools install"))

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] regularCmd() (line 64) returns a parentless current-user command, so under the new path logic its path is "". The tests that expect a hint pass because the path is empty, not because a real non-exempt command is used. Now that commandAt exists, have regularCmd() return something like commandAt("clusters list") so those tests exercise a realistic non-exempt path.

ghost Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 3238771, it is commandAt("clusters list") now.

Ubuntu and others added 2 commits November 11, 2026 18:07
Build the root-relative path from cobra's CommandPath instead of a hand-rolled parent walk. Drop the __completeNoDesc entry: it is an alias of __complete, so Name() never returns it. Give the hint tests a realistic non-exempt command, replace the fake "help jobs" subtree with the plain help command, and add a prefix negative so "authz" is never exempt. Project the current-user me acceptance output to the one field the step needs.

Co-authored-by: Isaac <no-reply@databricks.com>
The version command is the same kind of one-shot lookup as current-user me, and versioncheck already exempts it. The acceptance test now triggers the hint with clusters list, which runs the pre-run hook against the fake server. Nothing outside the package calls the predicate yet, so it is unexported until the update hint needs it.

Co-authored-by: Isaac <no-reply@databricks.com>
@renaudhartert-db

ghost commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the thorough pass. On the three questions:

  1. Export: agreed, nothing calls it here. It is package-private now (b85bd34). The update-hint follow-up exports it with its first external caller.
  2. Two lists: I think they should stay separate. They encode different policies: versioncheck protects machine-readable output, this list is about hint conversion. The overlap is three plumbing names; a shared predicate would couple the two for little gain, and the lists still differ on everything else.
  3. version: fair point, it is the same kind of lookup. It is exempt now (b85bd34). The acceptance tests trigger the hint with clusters list instead.

Co-authored-by: Isaac <no-reply@databricks.com>

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated review from simonfaltum's review agent (pr-review skill) at 83b8607. Each finding was verified against the code; simonfaltum may follow up.

Not approving yet: 1 open design question.

This PR replaces the aitools-only check with a root-relative exempt list, so Claude Code stops seeing the install hint on auth, configure, current-user me, version, help, and shell-completion commands. I traced the matching against cobra (CommandPath, the __completeNoDesc alias, lazy help/complete registration, and --help returning before the pre-run hook) and found no defects. Both aitools mounts stay exempt, exempt commands don't use up the per-session hint, and CI is green. One open question is whether the eval evidence covers auth and configure; beyond that, only small test and description nits remain.

Questions

  1. The comment above hintExemptCommands says evaluations showed low conversion on all of these commands, but the description cites only the "who am I" result (0 of 20). Did the eval also cover auth and configure? Those often run right before real work, and since exempt commands don't record the session marker, the hint still lands on the next non-exempt command. If they weren't measured, would you narrow the comment to what was measured, keep the entries as a judgment call, or drop them until there's data?

Comments outside the changed lines

  • [nit] .github/PULL_REQUEST_TEMPLATE.md: Two description fixes. First, .agents/skills/pr-checklist/SKILL.md asks bodies to keep the template's ## Changes, ## Why, ## Tests headings; this one has no ## Why, and the eval reason sits inside Changes. Second, "the list holds for both the databricks and the pipelines binary" doesn't match this tree: there is a single databricks root (cmd/root/root.go:29), and nothing switches on the executable name. Please move the reason under ## Why and drop or reword the pipelines sentence.

Agreeing with existing threads

  • [nice to have] Exempt list is not checked against the real command tree: #7452 (comment)

Comment thread libs/aitools/agents/hint.go Outdated
// tooling hint prints. Paths are relative to the root command. The aitools
// trees are exempt because telling the agent to run aitools while it already
// runs aitools makes no sense. The rest are plumbing or one-shot lookups (auth
// checks, "who am I", version, help, shell completion): the agent has no task to apply

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] This line of the hintExemptCommands doc comment is 87 characters, while the lines around it wrap near 78, so the paragraph reads raggedly ("...(auth" / "checks, ... to apply" / "the skills to."). It looks like it wasn't reflowed after version was added. Please re-wrap the paragraph to the same width as the rest of the comment.

ghost Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 34addb8.

return cmd
}

func TestIsHintExemptCommand(t *testing.T) {

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] No case in the table puts an exempt name under a non-exempt parent. If the matching went back to the old walk that compares Name() at any depth, every current case, including authz and current-user, would still pass. Add a case such as {"bundle help", false} or {"clusters version", false} so that regression fails.

ghost Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 34addb8.

trace CLAUDE_CONFIG_DIR=missing $CLI clusters list

title "Exempt commands never hint, even without the tooling"
trace CLAUDE_CONFIG_DIR=missing $CLI current-user me | jq .userName

ghost Nov 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] This step pulls one field with inline jq .userName, but .agents/rules/testing.md prefers gron.py | grep <field> for single-value lookups, because gron prints the JSON path into the golden output. Consider trace CLAUDE_CONFIG_DIR=missing $CLI current-user me | gron.py | grep userName.

ghost Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 34addb8.

@pietern pietern added the aitools AI tools (databricks aitools) related changes label Nov 16, 2026
Ubuntu and others added 2 commits November 16, 2026 23:30
The exempt-list comment now says the nudge eval measured only "who am I",
and the paragraph is re-wrapped. A "bundle help" case fails if matching
regresses to comparing Name() at any depth. The current-user me step uses
gron.py instead of an inline jq path.

Co-authored-by: Isaac <no-reply@databricks.com>
Main added hints for non-Claude agents, Claude Code's native hint line,
hint telemetry, and a credential-helper check for auth token and auth
docker token. isHintExemptCommand replaces main's isAIToolsCommand; the
credential-helper check stays separate because it guards output other
tools embed, not conversion.

version is exempt, so the acceptance tests that used it to trigger the
hint use jobs list, clusters list, or bundle schema instead. On version
--check, hinted agents now get no nudge: the version-check tip already
skips them. Tests that rooted the tree at aitools use commandAt.

Co-authored-by: Isaac <no-reply@databricks.com>
@renaudhartert-db

ghost commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Thanks. On the second pass:

  1. Eval coverage: only "who am I" was measured. The comment now says so (34addb8). I kept auth and configure as a judgment call: exempt commands don't use up the session hint, so it still prints on the next real command.
  2. Description: done. The reason is under ## Why, and the pipelines sentence is gone.
  3. Real-tree check: same answer as in the thread.

I also merged main and resolved the conflicts with #7585 and #7586; the description lists what changed (the credential-helper check stays, and the tests that used version to trigger the hint use other commands).

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated review from simonfaltum's review agent (pr-review skill) at 6d9ae47. Each finding was verified against the code; simonfaltum may follow up.

No blocking issues found, approving. 5 non-blocking comment(s) below.

This PR replaces the aitools-only check with a root-relative exempt list, so coding agents no longer see the install hint on auth, configure, current-user me, version, help, and shell-completion commands. I traced the matching through cobra: the __completeNoDesc alias resolves to __complete, both aitools mounts stay exempt, and exempt commands don't use up the per-session hint. I found nothing blocking, the earlier questions are all answered, and CI is green. The five nits cover a guard comment on the now-overlapping credential-helper check, two misleading auth test names, a /dev/null redirect that should go to a LOG file, the telemetry README leaving out configure, and an acceptance case that no longer exercises the self-exec guard.

Accepted answers

Comments outside the changed lines

  • [nit] libs/aitools/agents/hint_test.go:417: "other auth command still hints" (and "other auth docker command still hints" at line 433) build trees rooted at auth, so they check only that the credential-helper predicate is narrow. Under the real root, databricks auth profiles and databricks auth docker configure print nothing now. Read on their own, the names suggest the opposite. Rename them to say what they test, e.g. "credential-helper check ignores other auth commands".
  • [nit] acceptance/air/image-push/script:65: This case says the auth docker configure child adds no install hint because of the self-exec guard. That child is now exempt through auth, so the case would pass even if the DATABRICKS_CLI_SELF_EXEC check in MaybeHint broke. Non-exempt self-exec children such as apps deploy from apps init keep only the unit test at hint_test.go:442. Consider updating the comment to say what keeps the child quiet now, or covering the guard with a non-exempt child.

if isHintExemptCommand(cmd) {
return
}
if isCredentialHelperCommand(cmd) {

ghost Nov 17, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] Under the real databricks root, the auth entry in hintExemptCommands already returns before isCredentialHelperCommand runs, so this branch looks dead. The reason it stays (auth token and auth docker token must stay silent even if auth leaves the list) is only in the PR description and the test comment at hint_test.go:403. A later cleanup could drop the check as redundant; if auth is then removed from the list, the hint ends up inside SDK and Terraform error messages. .agents/rules/comments.md asks for a comment on branches kept as guards. Please add one line here, e.g. "Overlaps the auth exemption on purpose: the credential helpers must stay silent even if auth leaves hintExemptCommands."


title "hint printed on a command that resolves no auth: nothing is uploaded"
trace $CLI version
trace $CLI bundle schema > /dev/null

ghost Nov 17, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] .agents/rules/testing.md asks for noisy output to go to LOG.<name>, not /dev/null, so it stays visible under go test -v. Use trace $CLI bundle schema > LOG.schema; the golden still shows only the hint on stderr.

`databricks version`), no install hint event is logged for that hour even though the agent saw the
hint.
hint is never printed on hint-exempt commands (`hintExemptCommands` in
`libs/aitools/agents/hint.go`: aitools, `auth`, one-shot lookups, help, completion) or in CLI

ghost Nov 17, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] The parenthetical lists "aitools, auth, one-shot lookups, help, completion". configure is exempt but is not a lookup, so someone checking why databricks configure logs no hint event won't find it here. Add configure to the list.

@renaudhartert-db
renaudhartert-db added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 4c8b7a1 Nov 17, 2026
@renaudhartert-db
renaudhartert-db deleted the aitools-hint-exempt-commands branch November 17, 2026 09:59
@eng-dev-ecosystem-bot

ghost commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

❌ Integration test report

Commit: 4c8b7a1

Run: 44060699846

Env ❌​FAIL 🟨​KNOWN 🤯​MISS 💚​RECOVERED ✅​pass 🙈​skip Time
❌​ aws linux-2core-8gb 100 3 10 1522 1344 309:50
🤯​ aws-windows-latest-4core-16gb 167 12 1377 1369 347:12
❌​ azure linux-2core-8gb 100 1 12 1502 1352 306:01
❌​ azure-windows-latest-4core-16gb 93 1 12 1428 1379 317:13
❌​ gcp linux-2core-8gb 110 53 12 1449 1348 354:58
🤯​ gcp-windows-latest-4core-16gb 343 9 1191 1375 347:41
526 interesting tests: 392 MISS, 122 FAIL, 9 RECOVERED, 3 KNOWN
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
🟨​ TestAccept 🟨​K 🤯​M 🟨​K 🟨​K 🤯​M 🤯​M
🤯​ TestAccept/bundle/apps/job_permissions ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/apps/job_permissions/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/apps/job_permissions/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_not_deployed ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_cross_target ❌​F 🙈​s ❌​F 🙈​s ❌​F 🙈​s
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_cross_target/DMS= ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_cross_target/DMS=true ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition ❌​F 🙈​s ❌​F 🙈​s ❌​F 🙈​s
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition/DMS= ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition/DMS=true ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields ❌​F 🙈​s ❌​F 🙈​s ❌​F 🙈​s
❌​ TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields/DMS= ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields/DMS=true ❌​F ❌​F ❌​F
🤯​ TestAccept/bundle/debug/fetch-repository-info ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/debug/fetch-repository-info/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/debug/fetch-repository-info/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/empty-bundle ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/empty-bundle/DATABRICKS_BUNDLE_ENABLE_EXPERIMENTAL_YAML_SYNC=/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/empty-bundle/DATABRICKS_BUNDLE_ENABLE_EXPERIMENTAL_YAML_SYNC=/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/empty-bundle/DATABRICKS_BUNDLE_ENABLE_EXPERIMENTAL_YAML_SYNC=true/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/empty-bundle/DATABRICKS_BUNDLE_ENABLE_EXPERIMENTAL_YAML_SYNC=true/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/files/no-snapshot-sync ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/files/no-snapshot-sync/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/files/no-snapshot-sync/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/basic ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/basic/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/breakglass ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/breakglass/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/can-manage ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/can-manage/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/destroy-redeploy ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/destroy-redeploy/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/dev-mode ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/dev-mode/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/legacy-state ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/legacy-state/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/missing-snapshot ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/missing-snapshot/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/no-artifacts ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/no-artifacts/DMS=/READPLAN= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/no-artifacts/DMS=/READPLAN=1 ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/permissions-change ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/permissions-change/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/select ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/immutable/select/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/mlops-stacks ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/mlops-stacks/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deploy/mlops-stacks/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deploy/spark-jar-task ❌​F 🤯​M ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/deploy/spark-jar-task/DMS= ❌​F 🤯​M ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/deploy/spark-jar-task/DMS=true ❌​F 🤯​M ❌​F ❌​F ❌​F ✅​p
🤯​ TestAccept/bundle/deployment/bind/alert ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deployment/bind/alert/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deployment/bind/alert/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deployment/bind/catalog ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/deployment/bind/catalog/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deployment/bind/pipelines/recreate ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/deployment/bind/pipelines/recreate/DMS=true ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/dms/deployment-metadata-change ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/dms/deployment-metadata-change/DMS=true ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/dms/stale-plan ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/dms/stale-plan/DMS=true/READPLAN=1 ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/dms/successful-recreate ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/dms/successful-recreate/DMS=true ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/continue_293 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=cluster.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/continue_293/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ❌​F ✅​p ❌​F ❌​F ❌​F ✅​p
💚​ TestAccept/bundle/resources/apps/lifecycle-started 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-omitted 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS= 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=true 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-toggle 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS= 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started/DMS= 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/apps/lifecycle-started/DMS=true 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
❌​ TestAccept/bundle/resources/cluster_policies/definition_multiline ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
Top 50 slowest tests (at least 2 minutes):
duration env testname
15:28 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
13:37 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
13:22 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
12:47 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
12:22 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
12:22 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
11:55 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
11:25 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
11:22 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
10:37 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
10:33 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
10:33 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
10:30 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
10:18 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
10:01 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
9:57 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:53 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/immutable/DMS=true
9:51 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
9:36 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
9:29 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:07 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/resize-terminated-fallback/DMS=
8:33 gcp-windows-latest-4core-16gb TestAccept/pipelines/run/refresh-flags
8:29 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/batch/DMS=true
8:24 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
8:24 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:43 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
7:08 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/resize-terminated-fallback/DMS=true
7:04 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/immutable/DMS=
7:02 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
7:00 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
6:53 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/data_security_mode/DMS=true
6:49 aws linux-2core-8gb TestAccept/bundle/apps/job_permissions/DMS=
6:46 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/simple/DMS=true
6:44 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
6:44 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
6:31 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
6:27 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/resize-terminated-fallback/DMS=true
6:24 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:17 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:13 gcp linux-2core-8gb TestAccept/bundle/templates/default-python/combinations/classic/DLT=no/DMS=/NBOOK=yes/PY=yes/READPLAN=1
6:12 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=registered_model.yml.tmpl/READPLAN=
6:02 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1
6:00 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
5:58 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN=1
5:56 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=true
5:56 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_table_update_trigger.yml.tmpl/READPLAN=
5:54 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
5:51 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/external_cluster_policy_cross_target/DMS=true
5:50 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true
5:48 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
(380 table rows omitted to keep the report under 60000 bytes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aitools AI tools (databricks aitools) related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants