Install Databricks AI Tools as part of the configuration step#230
Open
lennartkats-db wants to merge 3 commits into
Open
Install Databricks AI Tools as part of the configuration step#230lennartkats-db wants to merge 3 commits into
lennartkats-db wants to merge 3 commits into
Conversation
`ucode configure` now runs `databricks aitools install` for each coding agent it sets up (claude-code, codex, opencode, copilot), so agents work with Databricks out of the box. Best-effort: a failure only warns with the CLI's own error, since AI Tools aren't required to launch an agent. Co-authored-by: Isaac
v1.0.0 is the release that ships `databricks aitools install --agents ... --scope`, so bump MIN_DATABRICKS_CLI_VERSION to (1, 0, 0) and drop the decorative AITOOLS_MIN_CLI_VERSION. `ensure_databricks_cli_version` already runs (and auto-upgrades) before every path that reaches install_ai_tools, so the install no longer guesses a version cause on failure: it just surfaces the CLI's own error. Co-authored-by: Isaac
subprocess.TimeoutExpired.stderr is bytes even when the call used text=True (a CPython quirk), so a timed-out `databricks aitools install` rendered its warning as `b'...'`. Decode bytes before building the reason string, and cover the timeout-with-stderr path with a test. Co-authored-by: Isaac
This was referenced Jul 22, 2026
Closed
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.
ucode configure now installs Databricks AI Tools for each coding agent it sets up, so agents can work with Databricks (bundles, jobs, SQL, Genie) out of the box instead of making low-level API calls.
Followup PR to be merged after this: #231
Testing