feat(appkit): support Lakebase Autoscaling x Apps integration natively#132
Draft
feat(appkit): support Lakebase Autoscaling x Apps integration natively#132
Conversation
f481ccb to
9fc9700
Compare
f1c11f3 to
d422879
Compare
8e4e80e to
5a02a65
Compare
573be52 to
fad99ea
Compare
39d84e8 to
df78895
Compare
fad99ea to
c7b3325
Compare
df78895 to
39f8d94
Compare
c7b3325 to
6daae12
Compare
39f8d94 to
8877ac5
Compare
github-merge-queue bot
pushed a commit
to databricks/cli
that referenced
this pull request
Feb 27, 2026
…y files after template rendering (#4549) ## Changes - Show setup notes for plugins which have such instructions (needed for Lakebase plugin temporarily) - Remove hardcoded paths for analytics plugin - this will be handled purely by Go templates in the template itself - Remove empty files and directories after template rendering - Setup listers for `postgres` resource - ~Run "postinit" npm command in context of template if it exists~ - reverted as we don't need it for now Those changes need to be synchronized with AppKit where we add the `templatePaths` property in the manifest. ## Why - We're introducing new plugins, and depending on them, we need to configure the dynamic template. The hardcoded solution is not scalable, as I pointed out here: #4469 (comment) See also https://databricks.atlassian.net/browse/LKB-9681 ## Screenshot <img width="1461" height="738" alt="image" src="https://github.com/user-attachments/assets/966f8f84-94a4-4d4a-856e-7f5cdc703a57" /> ## Demo (just the listers for future Lakebase plugin changes databricks/appkit#132) https://github.com/user-attachments/assets/c745baad-662b-4f82-b197-ed95fcb89ef7
059d965 to
5dc9f6f
Compare
6daae12 to
6420b2f
Compare
1322c9d to
b80ea00
Compare
50f2d4c to
50d9fc2
Compare
Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
Aligns the TS interfaces with the JSON schema change from 39613f5 that removed the `required: ["env"]` constraint. Fields like `branch` and `database` in the lakebase manifest don't map to env vars. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
9fb5c48 to
1d514b5
Compare
github-merge-queue bot
pushed a commit
to databricks/cli
that referenced
this pull request
Mar 9, 2026
…to ignore fields in bundles (#4634) ## Changes - List postgres databases during Lakebase plugin selection - Add "bundleIgnore" field to exclude it from `databricks.yml` file (for Lakebase, we need a `LAKEBASE_ENDPOINT` env that shouldn't be listed in the DAB) - Fix the prompt title See also databricks/appkit#132 Resolves https://databricks.atlassian.net/browse/LKB-10074 ## Testing Test it together with databricks/appkit#132 -> check it out for the latest template 1. Build the CLI (`make build`) 2. Run the `databricks apps init` command with custom template (locally cloned one) - replace the path: `DATABRICKS_APPKIT_TEMPLATE_PATH="/Users/pawel.kosiec/repositories/databricks-os/appkit/template" dbx apps init` 3. Select Lakebase 4. Select your project, branch and database 5. DO NOT deploy your app yet 6. Move to the `databricks.yml` - Remove the `resources.apps.app.resources` and all unused variables (`postgres_branch`, `postgres_database`). 7. Deploy the app with `databricks apps deploy` 8. Bind the Lakebase project to your App, click "Deploy" button again 9. App should connect to Lakebase successfully ## Demo https://github.com/user-attachments/assets/29091cc2-62e3-4ece-aa50-8570d48d79a5 --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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
bundleIgnoreoption forLAKEBASE_ENDPOINTSee also databricks/cli#4634
Resolves https://databricks.atlassian.net/browse/LKB-10074
Testing
Test it together with databricks/cli#4634
make build)databricks apps initcommand with custom template (locally cloned one) - replace the path:DATABRICKS_APPKIT_TEMPLATE_PATH="/Users/pawel.kosiec/repositories/databricks-os/appkit/template" dbx apps initdatabricks.ymlresources.apps.app.resourcesand all unused variables (postgres_branch,postgres_database).databricks apps deployDemo
init-flow.mov