Skip to content

feat(appkit): support Lakebase Autoscaling x Apps integration natively#132

Draft
pkosiec wants to merge 6 commits intomainfrom
lakebase-plugin-4-final
Draft

feat(appkit): support Lakebase Autoscaling x Apps integration natively#132
pkosiec wants to merge 6 commits intomainfrom
lakebase-plugin-4-final

Conversation

@pkosiec
Copy link
Member

@pkosiec pkosiec commented Feb 24, 2026

Changes

  • Update Lakebase plugin for the native Lakebase x Apps integration
  • Update Lakebase docs (no need for manual setup anymore)
  • Introduce and use the bundleIgnore option for LAKEBASE_ENDPOINT

See also databricks/cli#4634

Resolves https://databricks.atlassian.net/browse/LKB-10074

Testing

Test it together with databricks/cli#4634

  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).
  1. Deploy the app with databricks apps deploy
  2. Bind the Lakebase project to your App, click "Deploy" button again
  3. App should connect to Lakebase successfully

Demo

init-flow.mov

@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch from f481ccb to 9fc9700 Compare February 24, 2026 14:17
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch 2 times, most recently from f1c11f3 to d422879 Compare February 24, 2026 14:35
@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch 2 times, most recently from 8e4e80e to 5a02a65 Compare February 25, 2026 10:06
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch 2 times, most recently from 573be52 to fad99ea Compare February 25, 2026 10:21
@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch 2 times, most recently from 39d84e8 to df78895 Compare February 26, 2026 09:17
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from fad99ea to c7b3325 Compare February 26, 2026 09:28
@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch from df78895 to 39f8d94 Compare February 26, 2026 10:54
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from c7b3325 to 6daae12 Compare February 26, 2026 13:02
@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch from 39f8d94 to 8877ac5 Compare February 26, 2026 16:52
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
@pkosiec pkosiec force-pushed the pkosiec/lakebase-plugin-3 branch 2 times, most recently from 059d965 to 5dc9f6f Compare February 27, 2026 10:29
Base automatically changed from pkosiec/lakebase-plugin-3 to main February 27, 2026 16:34
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from 6daae12 to 6420b2f Compare March 2, 2026 11:43
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch 3 times, most recently from 11148fa to 8381378 Compare March 4, 2026 09:26
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from 8381378 to 62cc22a Compare March 4, 2026 13:28
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from fb91509 to 9e366c9 Compare March 4, 2026 14:12
@pkosiec pkosiec force-pushed the lakebase-plugin-4-final branch from ffecd91 to 1322c9d Compare March 4, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants