Skip to content

feat(appkit): introduce Lakebase Autoscaling driver#98

Open
pkosiec wants to merge 4 commits intopkosiec/lakebase-v2-driver-1from
pkosiec/lakebase-v2-driver-2
Open

feat(appkit): introduce Lakebase Autoscaling driver#98
pkosiec wants to merge 4 commits intopkosiec/lakebase-v2-driver-1from
pkosiec/lakebase-v2-driver-2

Conversation

@pkosiec
Copy link
Member

@pkosiec pkosiec commented Feb 10, 2026

Intro

  • Works with Lakebase Autoscaling

  • Supports OAuth authentication and automatic token refresh

  • It’s a wrapper over the pg.Pool: it means it works with any PostgreSQL database

  • Compatible with popular TypeScript/JavaScript ORMs

    • Tested Drizzle, TypeORM, Sequelize
    • It should be compatible with Prisma (didn't do the full tests, just checked API compatibility) and other ORMs as well.
  • Implementation aligned with Theo's Apps Runtime design doc

Related document

https://docs.google.com/document/d/13WTwiqCmfDlxzBRs6uOlGBtJ3f0qENw4uakK4cfkbg8/edit?tab=t.0

https://databricks.atlassian.net/browse/LKB-9058

@pkosiec pkosiec changed the title feat(appkit): introduce Lakebase Autoscalling driver feat(appkit): introduce Lakebase Autoscaling driver Feb 10, 2026
@pkosiec pkosiec force-pushed the pkosiec/lakebase-v2-driver-2 branch from 562a2c7 to eef0969 Compare February 10, 2026 18:51
@pkosiec pkosiec marked this pull request as ready for review February 11, 2026 15:08
const userConfig = config ?? {};

// Initialize telemetry once and thread it through to avoid duplicate instruments
const telemetry = initTelemetry(userConfig);
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we are planning to ship this connector as a separate package, how are you planning on decoupling the logger and the telemetry provider from this? because as it is we can't really make it a separate package no?

@MarioCadenas
Copy link
Collaborator

code in general looks good, but I did run the tests and there are a lot failing

image

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