cli
cli copied to clipboard
Add experimental Apps MCP server
Changes
This PR adds the MCP for building Databricks apps as a new command databricks experimental mcp.
The code is a direct port of the https://github.com/appdotbuild/agent rust code base.
Why
Tests
- The new code has ~ 80% test coverage
| Env | π¨βKNOWN | πβflaky | πβRECOVERED | πβSKIP | β βpass | πβskip | Time | |
|---|---|---|---|---|---|---|---|---|
| π¨β | aws linux | 7 | 2 | 360 | 613 | 16:57 | ||
| π¨β | aws windows | 7 | 2 | 361 | 612 | 16:34 | ||
| πβ | aws-ucws linux | 7 | 2 | 498 | 503 | 17:36 | ||
| πβ | aws-ucws windows | 7 | 2 | 499 | 502 | 22:36 | ||
| πβ | azure linux | 4 | 1 | 4 | 356 | 612 | 21:19 | |
| πβ | azure windows | 1 | 4 | 361 | 611 | 22:18 | ||
| πβ | azure-ucws linux | 1 | 4 | 494 | 502 | 23:10 | ||
| πβ | azure-ucws windows | 1 | 4 | 495 | 501 | 21:40 | ||
| πβ | gcp linux | 1 | 4 | 356 | 615 | 19:04 | ||
| πβ | gcp windows | 1 | 4 | 357 | 614 | 19:39 |
13 failing tests:
| Test Name | aws linux | aws windows | aws-ucws linux | aws-ucws windows | azure linux | azure windows | azure-ucws linux | azure-ucws windows | gcp linux | gcp windows |
|---|---|---|---|---|---|---|---|---|---|---|
| TestAccept | π¨βK | π¨βK | πβR | πβR | πβR | πβR | πβR | πβR | πβR | πβR |
| TestAccept/bundle/resources/permissions | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS |
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions | π¨βK | π¨βK | πβR | πβR | πβS | πβS | πβS | πβS | πβS | πβS |
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct | π¨βK | π¨βK | πβR | πβR | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform | π¨βK | π¨βK | πβR | πβR | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions | π¨βK | π¨βK | πβR | πβR | πβS | πβS | πβS | πβS | πβS | πβS |
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct | π¨βK | π¨βK | πβR | πβR | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform | π¨βK | π¨βK | πβR | πβR | ||||||
| TestAccept/bundle/run/app-with-job | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS |
| TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_r | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp |
| TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_scala | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp |
| TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_sql | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp |
| TestWorkspaceFilesExtensions_ExportFormatIsPreserved/source_python | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp |
Top 30 slowest tests (at least 2 minutes):
| duration | env | testname |
|---|---|---|
| 8:25 | azure windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 6:22 | gcp linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 6:03 | azure linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:48 | gcp linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:39 | aws-ucws windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:39 | gcp windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:35 | gcp linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:31 | aws windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:31 | aws-ucws windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:30 | aws-ucws windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:28 | aws windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:25 | gcp windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:19 | aws windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:16 | gcp windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:59 | aws linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:01 | azure linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 3:27 | azure-ucws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 3:09 | azure-ucws linux | TestAccept/bundle/resources/synced_database_tables/basic |
| 2:52 | aws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 2:36 | azure windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 2:28 | aws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:27 | azure-ucws windows | TestAccept/bundle/resources/synced_database_tables/basic |
| 2:26 | azure windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:17 | azure-ucws linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:17 | aws-ucws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 2:14 | azure-ucws windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 2:10 | aws-ucws linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:10 | azure linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:06 | aws-ucws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 2:04 | azure-ucws windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |