Skip to content

Add AI tools integration - #2025

Open
rclarey wants to merge 22 commits into
mainfrom
aitools-integration
Open

Add AI tools integration#2025
rclarey wants to merge 22 commits into
mainfrom
aitools-integration

Conversation

@rclarey

@rclarey rclarey commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Changes

Integrate the databricks aitools family of commands into the extension.

  • on install (or first launch of the extension with this feature) it prompts to install AI tools
  • add AI tools row to the configuration pane

Tests

Added tests pass

@rugpanov

rugpanov commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ❌ 2 of 35 test jobs failed for 4b8a5593 (33 passed).
View run

@rugpanov rugpanov added the databricks-team Authored by a Databricks team member label Jul 17, 2026
@rugpanov

rugpanov commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ❌ 2 of 35 test jobs failed for fb06b04b (33 passed).
View run

@rugpanov

rugpanov commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ✅ all 35 test jobs passed for cda54dbe.
View run

@rugpanov

rugpanov commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ✅ all 35 test jobs passed for 2f661600.
View run

@rclarey
rclarey requested review from misha-db and rugpanov and removed request for rugpanov August 4, 2026 11:30
@rclarey
rclarey temporarily deployed to test-trigger-is August 4, 2026 11:39 — with GitHub Actions Inactive
@rclarey
rclarey requested a review from rugpanov August 4, 2026 11:39
@rclarey
rclarey temporarily deployed to test-trigger-is August 4, 2026 11:39 — with GitHub Actions Inactive
Comment thread packages/databricks-vscode/src/extension.ts Outdated
Comment thread packages/databricks-vscode/src/extension.ts Outdated
@rugpanov

rugpanov commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests triggered for 9367e012 — ⏳ running.
View run

@rclarey
rclarey requested review from misha-db and rugpanov August 5, 2026 13:35
@rugpanov

rugpanov commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ❌ 3 of 35 test jobs failed for 4f719bec (32 passed).
View run

@rugpanov rugpanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM — approving. The mutex serialization and the empty-agent-selection guard both look good now, and the test coverage is genuinely thorough (the concurrency test at AiToolsManager.test.ts:755 would actually fail if serialization broke).

Two things I'd like fixed as soon as possible, neither blocking this merge:

  1. Cancelling an operation is reported as a failure — cosmetically a wrong toast, but it also records result: "error" telemetry, so every cancellation inflates the AI-tools error rate. Worth landing before the release that enables this for users, since that data can't be cleaned up retroactively.
  2. No re-detect when the active project changes — narrow repro (multi-root, multiple Databricks projects, explicit "Choose a project"), and recoverable via the reload affordance, but the model and the CLI cwd disagree until something re-detects.

Details inline.

Comment thread packages/databricks-vscode/src/cli/CliWrapper.ts
Comment thread packages/databricks-vscode/src/aitools/AiToolsManager.ts
@rclarey rclarey mentioned this pull request Aug 6, 2026
## Changes

Stacked on #2025

- make command progress toasts non-cancellable
- subscribe to `workspaceFolderManager.onDidChangeActiveProjectFolder`
and refresh AI tools state

## Tests

Added unit tests
@rugpanov

rugpanov commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests triggered for 23e5813c — ⏳ running.
View run

@rclarey
rclarey temporarily deployed to test-trigger-is August 6, 2026 09:18 — with GitHub Actions Inactive
@rclarey
rclarey temporarily deployed to test-trigger-is August 6, 2026 09:21 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 2025
  • Commit SHA: 2fe766d65613d4cf8178383da51102ba8504b161

Checks will be approved automatically on success.

@rugpanov

rugpanov commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🤖 Integration tests ❌ 8 of 35 test jobs failed for 2fe766d6 (27 passed).
View run

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

Labels

databricks-team Authored by a Databricks team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants