Skip to content

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

Draft
pkosiec wants to merge 1 commit intomainfrom
lakebase-plugin-4-final
Draft

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

Conversation

@pkosiec
Copy link
Member

@pkosiec pkosiec commented Feb 24, 2026

  • Rename LAKEBASE_ENDPOINT to PGENDPOINT - it is automatically injected by Apps

Will be tested on stage, and merged once the integration is live on production.

Video

Screen.Recording.2026-02-24.at.15.43.45.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
"description": "Lakebase Postgres database for persistent storage",
"permission": "CAN_CONNECT_AND_CREATE",
"fields": {
"name": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is the only thing we have to collect for lakebase v2? no branch, or project or anything else? just the endpoint?

Copy link
Member Author

Choose a reason for hiding this comment

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

actually now we don't need anything at all 😄 no envs, because PGENDPOINT is automatically injected

and for DABs we'll need branch + database paths - that's something CLI will pass from the interactive selection 👍

@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
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