Skip to content

Remove provisioned Lakebase as a supported mode (autoscaling-only)#249

Open
jennsun wants to merge 1 commit into
databricks:mainfrom
jennsun:remove-lakebase-provisioned
Open

Remove provisioned Lakebase as a supported mode (autoscaling-only)#249
jennsun wants to merge 1 commit into
databricks:mainfrom
jennsun:remove-lakebase-provisioned

Conversation

@jennsun

@jennsun jennsun commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

ticket for context: https://databricks.atlassian.net/jira/software/c/projects/ML/boards/3827?assignee=712020%3A0c287047-100d-430b-a6d9-c5ec8775ba14&selectedIssue=ML-65178

slack thread for context: https://databricks.slack.com/archives/C05J5LYK9BP/p1784762940725509?thread_ts=1773938801.464949&cid=C05J5LYK9BP

Removes provisioned Lakebase as a supported mode across the agent templates, leaving autoscaling-only (LAKEBASE_AUTOSCALING_ENDPOINT, or project/branch, plus --lakebase-create-new). Databricks is unifying provisioned into autoscaling, so autoscaling is the recommended and forward path.

Changes

Shared sources (synced to all templates):

  • quickstart.py — drop --lakebase-provisioned-name, validate_lakebase_instance, and all provisioned setup/select/config paths. The databricks.yml rewriter still strips stale provisioned blocks (idempotency for anyone on an old config) but only ever writes the autoscaling postgres resource.
  • grant_lakebase_permissions.py — drop --instance-name; autoscaling-only.
  • sync-skills.py — trim the Lakebase help/example constants to autoscaling + create-new.

Runtime (edited per-template): agent-openai-advanced/utils.py and agent-langgraph-advanced/utils_memory.py — remove the LAKEBASE_INSTANCE_NAME fallback, resolve_lakebase_instance_name, and the instance_name field on LakebaseConfig; update the agent.py / start_server.py call sites.

Docs: lakebase-setup, quickstart (incl. the "Setup Flow" section), long-running-server, add-tools-langgraph, both memory skills, and migrate-from-model-serving are now autoscaling-only. Deleted the provisioned add-tools-langgraph/examples/lakebase.yaml. Updated the advanced templates' README.md / AGENTS.md.

Tests: test_quickstart.py / test_grant_lakebase_permissions.py — drop provisioned-only tests, convert paired ones to autoscaling (98 pass, including the existing --lakebase-create-new tests). E2E infra — drop the provisioned parametrization axis; only the [autoscaling] variant remains.

Out of scope (intentionally unchanged)

  • Standalone streamlit/dash/flask-database-app — whole todo apps built on a provisioned database_spec; that's their purpose.
  • e2e-chatbot-app-next — only uses "provision" as a verb, no provisioned-mode references.

Verification

  • test_quickstart.py + test_grant_lakebase_permissions.py: 98 passed.
  • E2E tests collect cleanly (memory templates now show only the [autoscaling] variant).
  • All synced template copies are byte-identical to their sources.
  • No in-scope provisioned references remain (only intentional legacy-cleanup comments and test assertions that verify stale provisioned config is removed).

This pull request and its description were written by Isaac.

Databricks is unifying provisioned Lakebase into autoscaling, so the agent
templates should recommend and support autoscaling Lakebase only
(LAKEBASE_AUTOSCALING_ENDPOINT or project/branch).

Shared sources (synced to all templates):
- quickstart.py: drop --lakebase-provisioned-name, validate_lakebase_instance,
  and all provisioned setup/select/config paths. The databricks.yml rewriter
  still strips stale provisioned blocks for idempotency but only writes the
  autoscaling postgres resource.
- grant_lakebase_permissions.py: drop --instance-name; autoscaling-only.

Runtime (edited per-template, not synced):
- agent-openai-advanced/utils.py and agent-langgraph-advanced/utils_memory.py:
  remove LAKEBASE_INSTANCE_NAME fallback, resolve_lakebase_instance_name, and
  the instance_name field on LakebaseConfig; update agent.py/start_server.py.

Docs (skill sources + sync-skills constants, propagated):
- lakebase-setup, quickstart, long-running-server, add-tools-langgraph, both
  memory skills, and migrate-from-model-serving are now autoscaling-only.
- Delete provisioned add-tools-langgraph/examples/lakebase.yaml.
- Rewrite the Lakebase flow + env tables in both advanced README/AGENTS.

Tests:
- test_quickstart.py / test_grant_lakebase_permissions.py: drop provisioned-only
  tests, convert paired ones to autoscaling (93 pass).
- e2e infra: drop the provisioned parametrization axis; autoscaling variant only.

Out of scope (unchanged): streamlit/dash/flask-database-app (built on a
provisioned database_spec) and e2e-chatbot-app-next (verb usage only).

Co-authored-by: Isaac
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.

1 participant